GET api/PaymentTerms?systemName={systemName}&username={username}&password={password}&offset={offset}&limit={limit}

Gets all payments terms

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APIPaymentTerms
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

Code

Textual identifier

string

None.

Description

Longer description

string

None.

Months

Number of months

integer

None.

Days

Number of days

integer

None.

Default

Denotes default payment terms

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "code": "sample string 2",
    "description": "sample string 3",
    "months": 4,
    "days": 5,
    "default": true
  },
  {
    "id": 1,
    "code": "sample string 2",
    "description": "sample string 3",
    "months": 4,
    "days": 5,
    "default": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPIPaymentTerms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APIPaymentTerms>
    <Code>sample string 2</Code>
    <Days>5</Days>
    <Default>true</Default>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Months>4</Months>
  </APIPaymentTerms>
  <APIPaymentTerms>
    <Code>sample string 2</Code>
    <Days>5</Days>
    <Default>true</Default>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Months>4</Months>
  </APIPaymentTerms>
</ArrayOfAPIPaymentTerms>