POST v1/PurchaseOrders/{purchaseOrderId}/Deliveries/{deliveryId}/Provision
Provision the PurchaseOrder's Delivery
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
purchaseOrderId |
The PurchaseOrder ID |
integer |
Required. |
deliveryId |
The Delivery ID |
integer |
Required. |
Body Parameters
The rows to provision
Collection of ProvisionInfoName | Description | Type | Additional 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
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |