POST api/Factor

Request Information

URI Parameters

None.

Body Parameters

Factor
NameDescriptionTypeAdditional information
RecordNo

integer

None.

FactorName

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

SortOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "FactorName": "sample string 2",
  "CreatedOn": "2024-12-22T23:42:30.5785211+00:00",
  "UpdatedOn": "2024-12-22T23:42:30.5785211+00:00",
  "IsDeleted": true,
  "SortOrder": 5
}

application/xml, text/xml

Sample:
<Factor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2024-12-22T23:42:30.5785211+00:00</CreatedOn>
  <FactorName>sample string 2</FactorName>
  <IsDeleted>true</IsDeleted>
  <RecordNo>1</RecordNo>
  <SortOrder>5</SortOrder>
  <UpdatedOn>2024-12-22T23:42:30.5785211+00:00</UpdatedOn>
</Factor>

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 'Factor'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.