POST api/Inventory/Save
Request Information
URI Parameters
None.
Body Parameters
SaveInventoryInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Inventory_ID | globally unique identifier |
None. |
|
| Inventory_NO | string |
None. |
|
| InventoryType_ID | integer |
None. |
|
| PartNumber | string |
None. |
|
| Model | string |
None. |
|
| Description | string |
None. |
|
| Customer_ID | integer |
None. |
|
| ManufacturerType | string |
None. |
|
| ManufacturerID | integer |
None. |
|
| AmountPerPallet | decimal number |
None. |
|
| PackageType_ID | integer |
None. |
|
| LengthInches | decimal number |
None. |
|
| WidthInches | decimal number |
None. |
|
| HeightInches | decimal number |
None. |
|
| VolumeCubicFeet | decimal number |
None. |
|
| WeightPounds | decimal number |
None. |
|
| Unit | string |
None. |
|
| CommodityType_ID | integer |
None. |
|
| SKUs | Collection of SKUsInputModel |
None. |
|
| InventoryImage | InventoryImageInputModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Inventory_ID": "346d9814-0ae7-4492-821e-ede6aabe2e64",
"Inventory_NO": "sample string 2",
"InventoryType_ID": 3,
"PartNumber": "sample string 4",
"Model": "sample string 5",
"Description": "sample string 6",
"Customer_ID": 7,
"ManufacturerType": "sample string 8",
"ManufacturerID": 1,
"AmountPerPallet": 1.0,
"PackageType_ID": 1,
"LengthInches": 1.0,
"WidthInches": 1.0,
"HeightInches": 1.0,
"VolumeCubicFeet": 1.0,
"WeightPounds": 1.0,
"Unit": "sample string 9",
"CommodityType_ID": 1,
"SKUs": [
{
"SKU_NO": "sample string 1",
"Sequence_NO": 2
},
{
"SKU_NO": "sample string 1",
"Sequence_NO": 2
}
],
"InventoryImage": {
"ImagePath": "sample string 1",
"SmallImagePath": "sample string 2",
"MediumImagePath": "sample string 3",
"FileSize": 1
}
}
application/xml, text/xml
Sample:
<SaveInventoryInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<AmountPerPallet>1</AmountPerPallet>
<CommodityType_ID>1</CommodityType_ID>
<Customer_ID>7</Customer_ID>
<Description>sample string 6</Description>
<HeightInches>1</HeightInches>
<InventoryImage>
<FileSize>1</FileSize>
<ImagePath>sample string 1</ImagePath>
<MediumImagePath>sample string 3</MediumImagePath>
<SmallImagePath>sample string 2</SmallImagePath>
</InventoryImage>
<InventoryType_ID>3</InventoryType_ID>
<Inventory_ID>346d9814-0ae7-4492-821e-ede6aabe2e64</Inventory_ID>
<Inventory_NO>sample string 2</Inventory_NO>
<LengthInches>1</LengthInches>
<ManufacturerID>1</ManufacturerID>
<ManufacturerType>sample string 8</ManufacturerType>
<Model>sample string 5</Model>
<PackageType_ID>1</PackageType_ID>
<PartNumber>sample string 4</PartNumber>
<SKUs>
<SKUsInputModel>
<SKU_NO>sample string 1</SKU_NO>
<Sequence_NO>2</Sequence_NO>
</SKUsInputModel>
<SKUsInputModel>
<SKU_NO>sample string 1</SKU_NO>
<Sequence_NO>2</Sequence_NO>
</SKUsInputModel>
</SKUs>
<Unit>sample string 9</Unit>
<VolumeCubicFeet>1</VolumeCubicFeet>
<WeightPounds>1</WeightPounds>
<WidthInches>1</WidthInches>
</SaveInventoryInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Inventory_ID":"346d9814-0ae7-4492-821e-ede6aabe2e64","Inventory_NO":"sample string 2","InventoryType_ID":3,"PartNumber":"sample string 4","Model":"sample string 5","Description":"sample string 6","Customer_ID":7,"ManufacturerType":"sample string 8","ManufacturerID":1,"AmountPerPallet":1.0,"PackageType_ID":1,"LengthInches":1.0,"WidthInches":1.0,"HeightInches":1.0,"VolumeCubicFeet":1.0,"WeightPounds":1.0,"Unit":"sample string 9","CommodityType_ID":1,"SKUs":[{"SKU_NO":"sample string 1","Sequence_NO":2},{"SKU_NO":"sample string 1","Sequence_NO":2}],"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.