POST debtor/addpaymentterms

Request Information

URI Parameters

None.

Body Parameters

dmPaymentTermsEntity
NameDescriptionTypeAdditional information
TenantId

integer

None.

TermID

integer

None.

TermName

string

None.

AddDays

boolean

None.

Days

integer

None.

AddMonths

boolean

None.

Months

integer

None.

SetToEOM

boolean

None.

IsEnabled

boolean

None.

DisplaySeq

integer

None.

SecOption

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "TermID": 2,
  "TermName": "sample string 3",
  "AddDays": true,
  "Days": 5,
  "AddMonths": true,
  "Months": 7,
  "SetToEOM": true,
  "IsEnabled": true,
  "DisplaySeq": 10,
  "SecOption": "sample string 11"
}

text/html

Sample:
{"TenantId":1,"TermID":2,"TermName":"sample string 3","AddDays":true,"Days":5,"AddMonths":true,"Months":7,"SetToEOM":true,"IsEnabled":true,"DisplaySeq":10,"SecOption":"sample string 11"}

application/xml, text/xml

Sample:
<dmPaymentTermsEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Debtors">
  <AddDays>true</AddDays>
  <AddMonths>true</AddMonths>
  <Days>5</Days>
  <DisplaySeq>10</DisplaySeq>
  <IsEnabled>true</IsEnabled>
  <Months>7</Months>
  <SecOption>sample string 11</SecOption>
  <SetToEOM>true</SetToEOM>
  <TenantId>1</TenantId>
  <TermID>2</TermID>
  <TermName>sample string 3</TermName>
</dmPaymentTermsEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.