POST v1/SystemSettings/TermsList

Return System Terms List

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Term Input Request

TermRequest
NameDescriptionTypeAdditional information
TermsCode

Terms Code

string

None.

TermsName

Terms Name

string

None.

DaysTillDue

Days Till Due

integer

None.

Active

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TermsCode": "sample string 1",
  "TermsName": "sample string 2",
  "DaysTillDue": 1,
  "Active": true
}

application/xml, text/xml

Sample:
<TermRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <TermsCode>sample string 1</TermsCode>
  <TermsName>sample string 2</TermsName>
  <DaysTillDue>1</DaysTillDue>
  <Active>true</Active>
</TermRequest>

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

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "TermsCode": "sample string 1",
    "TermsName": "sample string 2",
    "DaysTillDue": 1,
    "Active": true
  },
  {
    "TermsCode": "sample string 1",
    "TermsName": "sample string 2",
    "DaysTillDue": 1,
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfTermResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <TermResponse>
    <TermsCode>sample string 1</TermsCode>
    <TermsName>sample string 2</TermsName>
    <DaysTillDue>1</DaysTillDue>
    <Active>true</Active>
  </TermResponse>
  <TermResponse>
    <TermsCode>sample string 1</TermsCode>
    <TermsName>sample string 2</TermsName>
    <DaysTillDue>1</DaysTillDue>
    <Active>true</Active>
  </TermResponse>
</ArrayOfTermResponse>