POST api/SO/Items/AddByPartNumber

Request Information

URI Parameters

None.

Body Parameters

AddToSOInputModel
NameDescriptionTypeAdditional information
SalesOrder_ID

globally unique identifier

None.

PartNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SalesOrder_ID": "a348bca9-03d4-4da5-8245-d33ecd10ed51",
  "PartNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<AddToSOInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <PartNumber>sample string 2</PartNumber>
  <SalesOrder_ID>a348bca9-03d4-4da5-8245-d33ecd10ed51</SalesOrder_ID>
</AddToSOInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"SalesOrder_ID":"a348bca9-03d4-4da5-8245-d33ecd10ed51","PartNumber":"sample string 2"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.