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": "9db2568d-1a27-495d-8aa2-af54dae3a4d6",
  "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>9db2568d-1a27-495d-8aa2-af54dae3a4d6</SalesOrder_ID>
</AddToSOInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"SalesOrder_ID":"9db2568d-1a27-495d-8aa2-af54dae3a4d6","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.