GET v1/purchase-order-types

Gets list of all available purchase order types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SearchResultOfPurchaseOrderTypeSearchResult
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of PurchaseOrderTypeSearchResult

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:
<SearchResultOfPurchaseOrderTypeSearchResultYiAtvSr1 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.PO">
    <d2p1:PurchaseOrderTypeSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:PurchaseOrderTypeSearchResult>
    <d2p1:PurchaseOrderTypeSearchResult>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:PurchaseOrderTypeSearchResult>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfPurchaseOrderTypeSearchResultYiAtvSr1>