POST Api/planned-orders/allocate

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_PLANNEDORDERS_ALLOCATE
NameDescriptionTypeAdditional information
production_order_uid

string

None.

materials

Collection of ESPL_MODEL_ALLOCATE_RM

None.

Request Formats

application/json, text/json

Sample:
{
  "production_order_uid": "sample string 1",
  "materials": [
    {
      "batch": "sample string 1",
      "code": "sample string 2",
      "qty": 3.1,
      "unit": "sample string 4"
    },
    {
      "batch": "sample string 1",
      "code": "sample string 2",
      "qty": 3.1,
      "unit": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_PLANNEDORDERS_ALLOCATE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_EPSPL_SAP_TELLY_INTEGRATION_API">
  <materials>
    <ESPL_MODEL_ALLOCATE_RM>
      <batch>sample string 1</batch>
      <code>sample string 2</code>
      <qty>3.1</qty>
      <unit>sample string 4</unit>
    </ESPL_MODEL_ALLOCATE_RM>
    <ESPL_MODEL_ALLOCATE_RM>
      <batch>sample string 1</batch>
      <code>sample string 2</code>
      <qty>3.1</qty>
      <unit>sample string 4</unit>
    </ESPL_MODEL_ALLOCATE_RM>
  </materials>
  <production_order_uid>sample string 1</production_order_uid>
</ESPL_MODEL_PLANNEDORDERS_ALLOCATE>

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.