GET v1/payment-terms?excludeDiscounts={excludeDiscounts}

Gets list of all available active/inactive payment terms

Request Information

URI Parameters

NameDescriptionTypeAdditional information
excludeDiscounts

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

SearchResultOfPaymentTerm
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of PaymentTerm

None.

Response Formats

application/json, text/json

Sample:
{
  "totalCount": 1,
  "data": [
    {
      "id": 1,
      "name": "sample string 2",
      "termDays": 3,
      "isDefault": true,
      "active": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "termDays": 3,
      "isDefault": true,
      "active": true
    }
  ]
}

application/xml, text/xml

Sample:
<SearchResultOfPaymentTerm_S17SLpEL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.SO">
    <d2p1:PaymentTerm>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:TermDays>3</d2p1:TermDays>
    </d2p1:PaymentTerm>
    <d2p1:PaymentTerm>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:TermDays>3</d2p1:TermDays>
    </d2p1:PaymentTerm>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfPaymentTerm_S17SLpEL>