POST catalog/purchaseorder/receive

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiReceivePurchaseOrderRequest
NameDescriptionTypeAdditional 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,
      "QuantityToReceive": 2.0,
      "Price": 3.0,
      "Cost": 4.0
    },
    {
      "Id": 1,
      "QuantityToReceive": 2.0,
      "Price": 3.0,
      "Cost": 4.0
    }
  ]
}

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>4</Cost>
      <Id>1</Id>
      <Price>3</Price>
      <QuantityToReceive>2</QuantityToReceive>
    </ReceivePurchaseOrderItem>
    <ReceivePurchaseOrderItem>
      <Cost>4</Cost>
      <Id>1</Id>
      <Price>3</Price>
      <QuantityToReceive>2</QuantityToReceive>
    </ReceivePurchaseOrderItem>
  </Items>
</ApiReceivePurchaseOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.