POST v1/PurchaseOrders/{purchaseOrderId}/Provision

Provision the PurchaseOrder

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
purchaseOrderId

The PurchaseOrder ID

integer

Required.

Body Parameters

The rows to provision

Collection of ProvisionInfo
NameDescriptionTypeAdditional information
PurchaseOrderRowId

integer

None.

WarehouseLocationId

integer

None.

QtyDelivered

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PurchaseOrderRowId": 1,
    "WarehouseLocationId": 1,
    "QtyDelivered": 2
  },
  {
    "PurchaseOrderRowId": 1,
    "WarehouseLocationId": 1,
    "QtyDelivered": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfProvisionInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProvisionInfo>
    <PurchaseOrderRowId>1</PurchaseOrderRowId>
    <WarehouseLocationId>1</WarehouseLocationId>
    <QtyDelivered>2</QtyDelivered>
  </ProvisionInfo>
  <ProvisionInfo>
    <PurchaseOrderRowId>1</PurchaseOrderRowId>
    <WarehouseLocationId>1</WarehouseLocationId>
    <QtyDelivered>2</QtyDelivered>
  </ProvisionInfo>
</ArrayOfProvisionInfo>

Response Information

Resource Description

The HttpResponseMessage object.


HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.