POST api/Mobile/Allocations

Request Information

URI Parameters

None.

Body Parameters

Collection of MobileBatchesAllocationsFilter
NameDescriptionTypeAdditional information
ItemCode

string

None.

WhsCode

string

None.

BatchNumber

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ItemCode": "sample string 1",
    "WhsCode": "sample string 2",
    "BatchNumber": "sample string 3"
  },
  {
    "ItemCode": "sample string 1",
    "WhsCode": "sample string 2",
    "BatchNumber": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMobileBatchesAllocationsFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.Filters">
  <MobileBatchesAllocationsFilter>
    <BatchNumber>sample string 3</BatchNumber>
    <ItemCode>sample string 1</ItemCode>
    <WhsCode>sample string 2</WhsCode>
  </MobileBatchesAllocationsFilter>
  <MobileBatchesAllocationsFilter>
    <BatchNumber>sample string 3</BatchNumber>
    <ItemCode>sample string 1</ItemCode>
    <WhsCode>sample string 2</WhsCode>
  </MobileBatchesAllocationsFilter>
</ArrayOfMobileBatchesAllocationsFilter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

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.