POST api/TermsConditions/SaveTermsConditions

Request Information

URI Parameters

None.

Body Parameters

TermsConditionsModel
NameDescriptionTypeAdditional information
TC_Id

integer

None.

TC_Description

string

None.

TC_UserId_FK

integer

None.

TC_TS

date

None.

TC_Inactive

character

None.

TC_TS_LastEdited

date

None.

TC_TS_Edited_Uid_FK

integer

None.

IsSelected

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TC_Id": 1,
  "TC_Description": "sample string 2",
  "TC_UserId_FK": 3,
  "TC_TS": "2024-05-06T18:53:23.1307565+05:30",
  "TC_Inactive": "A",
  "TC_TS_LastEdited": "2024-05-06T18:53:23.1307565+05:30",
  "TC_TS_Edited_Uid_FK": 7,
  "IsSelected": true
}

application/xml, text/xml

Sample:
<TermsConditionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <IsSelected>true</IsSelected>
  <TC_Description>sample string 2</TC_Description>
  <TC_Id>1</TC_Id>
  <TC_Inactive>65</TC_Inactive>
  <TC_TS>2024-05-06T18:53:23.1307565+05:30</TC_TS>
  <TC_TS_Edited_Uid_FK>7</TC_TS_Edited_Uid_FK>
  <TC_TS_LastEdited>2024-05-06T18:53:23.1307565+05:30</TC_TS_LastEdited>
  <TC_UserId_FK>3</TC_UserId_FK>
</TermsConditionsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.