POST api/InvDueTerms/Save

Request Information

URI Parameters

None.

Body Parameters

InvDueTerms
NameDescriptionTypeAdditional information
Id

integer

None.

TermsCode

string

None.

TermsDescription

string

None.

EntryDate

date

None.

EntryUser

integer

None.

ModifyDate

date

None.

ModifyUser

integer

None.

PostDate

date

None.

PostUser

integer

None.

PostState

boolean

None.

OrganizationId

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TermsCode": "sample string 2",
  "TermsDescription": "sample string 3",
  "EntryDate": "2025-10-29T13:14:37.7287755+05:00",
  "EntryUser": 5,
  "ModifyDate": "2025-10-29T13:14:37.7287755+05:00",
  "ModifyUser": 7,
  "PostDate": "2025-10-29T13:14:37.7287755+05:00",
  "PostUser": 9,
  "PostState": true,
  "OrganizationId": 11,
  "CompanyId": 12
}

application/xml, text/xml

Sample:
<InvDueTerms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <CompanyId>12</CompanyId>
  <EntryDate>2025-10-29T13:14:37.7287755+05:00</EntryDate>
  <EntryUser>5</EntryUser>
  <Id>1</Id>
  <ModifyDate>2025-10-29T13:14:37.7287755+05:00</ModifyDate>
  <ModifyUser>7</ModifyUser>
  <OrganizationId>11</OrganizationId>
  <PostDate>2025-10-29T13:14:37.7287755+05:00</PostDate>
  <PostState>true</PostState>
  <PostUser>9</PostUser>
  <TermsCode>sample string 2</TermsCode>
  <TermsDescription>sample string 3</TermsDescription>
</InvDueTerms>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>