POST catalog/purchaseorder/lowstock

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPoLowStockItemsRequest
NameDescriptionTypeAdditional information
CompanyFromId

integer

None.

CompanyToId

integer

None.

ManufacturerId

Collection of integer

None.

CategoryIds

Collection of integer

None.

IsOrderingForLocation

boolean

None.

PoType

PoType

None.

IsOneLocation

boolean

None.

IsWarehouseOrder

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyFromId": 1,
  "CompanyToId": 2,
  "ManufacturerId": [
    1,
    2
  ],
  "CategoryIds": [
    1,
    1
  ],
  "IsOrderingForLocation": true,
  "PoType": 0,
  "IsOneLocation": true,
  "IsWarehouseOrder": true
}

application/xml, text/xml

Sample:
<ApiPoLowStockItemsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api.Requests">
  <CategoryIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </CategoryIds>
  <CompanyFromId>1</CompanyFromId>
  <CompanyToId>2</CompanyToId>
  <IsOneLocation>true</IsOneLocation>
  <IsOrderingForLocation>true</IsOrderingForLocation>
  <IsWarehouseOrder>true</IsWarehouseOrder>
  <ManufacturerId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ManufacturerId>
  <PoType>PurchaseOrder</PoType>
</ApiPoLowStockItemsRequest>

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.