GET v1/ShopOwners/{shopOwnerId}/PurchaseOrderStatuses

Get a list with all available PurchaseOrders Statuses, for given shop owner.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopOwnerId

The id of the shop owner.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the PurchaseOrderStatusBasicInfo objects.


Collection of PurchaseOrderStatusBasicInfo
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

BasePurchaseOrderStatusId

Gets or sets the base purchaseOrder status identifier.

integer

None.

PurchaseOrderStatusTypeId

Gets or sets the purchaseOrder status type identifier.

integer

None.

Name

Gets or sets the name.

string

Required

Max length: 50

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "BasePurchaseOrderStatusId": 2,
    "PurchaseOrderStatusTypeId": 3,
    "Name": "sample string 4"
  },
  {
    "Id": 1,
    "BasePurchaseOrderStatusId": 2,
    "PurchaseOrderStatusTypeId": 3,
    "Name": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchaseOrderStatusBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PurchaseOrderStatusBasicInfo>
    <Id>1</Id>
    <BasePurchaseOrderStatusId>2</BasePurchaseOrderStatusId>
    <PurchaseOrderStatusTypeId>3</PurchaseOrderStatusTypeId>
    <Name>sample string 4</Name>
  </PurchaseOrderStatusBasicInfo>
  <PurchaseOrderStatusBasicInfo>
    <Id>1</Id>
    <BasePurchaseOrderStatusId>2</BasePurchaseOrderStatusId>
    <PurchaseOrderStatusTypeId>3</PurchaseOrderStatusTypeId>
    <Name>sample string 4</Name>
  </PurchaseOrderStatusBasicInfo>
</ArrayOfPurchaseOrderStatusBasicInfo>