PUT api/Affilate

Request Information

URI Parameters

None.

Body Parameters

Affilate
NameDescriptionTypeAdditional information
RecordNo

integer

None.

AspNetUserFK

integer

None.

AffilateLink

string

None.

RegistationDate

integer

None.

Commision

decimal number

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "AspNetUserFK": 2,
  "AffilateLink": "sample string 3",
  "RegistationDate": 4,
  "Commision": 5.0,
  "CreatedOn": "2024-12-03T12:28:40.0390849+00:00",
  "UpdatedOn": "2024-12-03T12:28:40.0390849+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Affilate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <AffilateLink>sample string 3</AffilateLink>
  <AspNetUserFK>2</AspNetUserFK>
  <Commision>5</Commision>
  <CreatedOn>2024-12-03T12:28:40.0390849+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <RecordNo>1</RecordNo>
  <RegistationDate>4</RegistationDate>
  <UpdatedOn>2024-12-03T12:28:40.0390849+00:00</UpdatedOn>
</Affilate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Affilate'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.