GET v1/sales-order-types?excludeContractManagedTypes={excludeContractManagedTypes}

Gets list of all available sales order types

Request Information

URI Parameters

NameDescriptionTypeAdditional information
excludeContractManagedTypes

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

SearchResultOfSalesOrderTypeSearchResult
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of SalesOrderTypeSearchResult

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<SearchResultOfSalesOrderTypeSearchResult_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:SalesOrderTypeSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:SalesOrderTypeSearchResult>
    <d2p1:SalesOrderTypeSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:SalesOrderTypeSearchResult>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfSalesOrderTypeSearchResult_S17SLpEL>