POST api/PO/Items/Edit
Request Information
URI Parameters
None.
Body Parameters
Collection of PurchaseOrderEditInventoryInputModelName | 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": "59a04f3e-8ae8-449f-8549-be739b39fdc9", "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": "59a04f3e-8ae8-449f-8549-be739b39fdc9", "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>59a04f3e-8ae8-449f-8549-be739b39fdc9</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>59a04f3e-8ae8-449f-8549-be739b39fdc9</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":"59a04f3e-8ae8-449f-8549-be739b39fdc9","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":"59a04f3e-8ae8-449f-8549-be739b39fdc9","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.