POST catalog/purchaseorder/receive
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiReceivePurchaseOrderRequestName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AverageCosts | boolean |
None. |
|
Items | Collection of ReceivePurchaseOrderItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "AverageCosts": true, "Items": [ { "Id": 1, "QuantityOrdered": 2.0, "QuantityToReceive": 3.0, "Price": 4.0, "Cost": 5.0, "Variance": 1.0, "PoVarianceId": 1 }, { "Id": 1, "QuantityOrdered": 2.0, "QuantityToReceive": 3.0, "Price": 4.0, "Cost": 5.0, "Variance": 1.0, "PoVarianceId": 1 } ] }
application/xml, text/xml
Sample:
<ApiReceivePurchaseOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <AverageCosts>true</AverageCosts> <Id>1</Id> <Items> <ReceivePurchaseOrderItem> <Cost>5</Cost> <Id>1</Id> <PoVarianceId>1</PoVarianceId> <Price>4</Price> <QuantityOrdered>2</QuantityOrdered> <QuantityToReceive>3</QuantityToReceive> <Variance>1</Variance> </ReceivePurchaseOrderItem> <ReceivePurchaseOrderItem> <Cost>5</Cost> <Id>1</Id> <PoVarianceId>1</PoVarianceId> <Price>4</Price> <QuantityOrdered>2</QuantityOrdered> <QuantityToReceive>3</QuantityToReceive> <Variance>1</Variance> </ReceivePurchaseOrderItem> </Items> </ApiReceivePurchaseOrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |