POST api/PO/Items/Edit
Request Information
URI Parameters
None.
Body Parameters
Collection of PurchaseOrderEditInventoryInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| POItemId | 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:
[
{
"POItemId": 1,
"Inventory_ID": "d6e99722-f88c-4727-8afb-c8e88d334902",
"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
}
},
{
"POItemId": 1,
"Inventory_ID": "d6e99722-f88c-4727-8afb-c8e88d334902",
"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:
<ArrayOfPurchaseOrderEditInventoryInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<PurchaseOrderEditInventoryInputModel>
<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>d6e99722-f88c-4727-8afb-c8e88d334902</Inventory_ID>
<Model>sample string 4</Model>
<POItemId>1</POItemId>
<PartNumber>sample string 3</PartNumber>
<Pieces>7</Pieces>
</PurchaseOrderEditInventoryInputModel>
<PurchaseOrderEditInventoryInputModel>
<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>d6e99722-f88c-4727-8afb-c8e88d334902</Inventory_ID>
<Model>sample string 4</Model>
<POItemId>1</POItemId>
<PartNumber>sample string 3</PartNumber>
<Pieces>7</Pieces>
</PurchaseOrderEditInventoryInputModel>
</ArrayOfPurchaseOrderEditInventoryInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
[{"POItemId":1,"Inventory_ID":"d6e99722-f88c-4727-8afb-c8e88d334902","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}},{"POItemId":1,"Inventory_ID":"d6e99722-f88c-4727-8afb-c8e88d334902","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.