POST api/SO/Items/Edit
Request Information
URI Parameters
None.
Body Parameters
Collection of SalesOrderEditInventoryInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SOItemId | integer |
None. |
|
| Inventory_ID | globally unique identifier |
None. |
|
| PartNumber | string |
None. |
|
| Model | string |
None. |
|
| Customer_ID | integer |
None. |
|
| Description | string |
None. |
|
| Pieces | integer |
None. |
|
| InventoryImage | InventoryImageInputModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SOItemId": 1,
"Inventory_ID": "66a190fa-927a-4943-aca6-4e24b4b5817f",
"PartNumber": "sample string 3",
"Model": "sample string 4",
"Customer_ID": 5,
"Description": "sample string 6",
"Pieces": 7,
"InventoryImage": {
"ImagePath": "sample string 1",
"SmallImagePath": "sample string 2",
"MediumImagePath": "sample string 3",
"FileSize": 1
}
},
{
"SOItemId": 1,
"Inventory_ID": "66a190fa-927a-4943-aca6-4e24b4b5817f",
"PartNumber": "sample string 3",
"Model": "sample string 4",
"Customer_ID": 5,
"Description": "sample string 6",
"Pieces": 7,
"InventoryImage": {
"ImagePath": "sample string 1",
"SmallImagePath": "sample string 2",
"MediumImagePath": "sample string 3",
"FileSize": 1
}
}
]
application/xml, text/xml
Sample:
<ArrayOfSalesOrderEditInventoryInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<SalesOrderEditInventoryInputModel>
<Customer_ID>5</Customer_ID>
<Description>sample string 6</Description>
<InventoryImage>
<FileSize>1</FileSize>
<ImagePath>sample string 1</ImagePath>
<MediumImagePath>sample string 3</MediumImagePath>
<SmallImagePath>sample string 2</SmallImagePath>
</InventoryImage>
<Inventory_ID>66a190fa-927a-4943-aca6-4e24b4b5817f</Inventory_ID>
<Model>sample string 4</Model>
<PartNumber>sample string 3</PartNumber>
<Pieces>7</Pieces>
<SOItemId>1</SOItemId>
</SalesOrderEditInventoryInputModel>
<SalesOrderEditInventoryInputModel>
<Customer_ID>5</Customer_ID>
<Description>sample string 6</Description>
<InventoryImage>
<FileSize>1</FileSize>
<ImagePath>sample string 1</ImagePath>
<MediumImagePath>sample string 3</MediumImagePath>
<SmallImagePath>sample string 2</SmallImagePath>
</InventoryImage>
<Inventory_ID>66a190fa-927a-4943-aca6-4e24b4b5817f</Inventory_ID>
<Model>sample string 4</Model>
<PartNumber>sample string 3</PartNumber>
<Pieces>7</Pieces>
<SOItemId>1</SOItemId>
</SalesOrderEditInventoryInputModel>
</ArrayOfSalesOrderEditInventoryInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
[{"SOItemId":1,"Inventory_ID":"66a190fa-927a-4943-aca6-4e24b4b5817f","PartNumber":"sample string 3","Model":"sample string 4","Customer_ID":5,"Description":"sample string 6","Pieces":7,"InventoryImage":{"ImagePath":"sample string 1","SmallImagePath":"sample string 2","MediumImagePath":"sample string 3","FileSize":1}},{"SOItemId":1,"Inventory_ID":"66a190fa-927a-4943-aca6-4e24b4b5817f","PartNumber":"sample string 3","Model":"sample string 4","Customer_ID":5,"Description":"sample string 6","Pieces":7,"InventoryImage":{"ImagePath":"sample string 1","SmallImagePath":"sample string 2","MediumImagePath":"sample string 3","FileSize":1}}]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.