POST api/IssueResource

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_SCRAP
NameDescriptionTypeAdditional information
item_code

string

None.

warehouse

string

None.

qty

decimal number

None.

batch_numbers

Collection of ESPL_MODEL_ORDERS_BATCHES

None.

Request Formats

application/json, text/json

Sample:
{
  "item_code": "sample string 1",
  "warehouse": "sample string 2",
  "qty": 3.1,
  "batch_numbers": [
    {
      "batch": "sample string 1",
      "qty": 2.1
    },
    {
      "batch": "sample string 1",
      "qty": 2.1
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_SCRAP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_EPSPL_SAP_TELLY_INTEGRATION_API">
  <batch_numbers>
    <ESPL_MODEL_ORDERS_BATCHES>
      <batch>sample string 1</batch>
      <qty>2.1</qty>
    </ESPL_MODEL_ORDERS_BATCHES>
    <ESPL_MODEL_ORDERS_BATCHES>
      <batch>sample string 1</batch>
      <qty>2.1</qty>
    </ESPL_MODEL_ORDERS_BATCHES>
  </batch_numbers>
  <item_code>sample string 1</item_code>
  <qty>3.1</qty>
  <warehouse>sample string 2</warehouse>
</ESPL_MODEL_SCRAP>

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.