POST api/Inventory?locationId={locationId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId | integer |
Required |
Body Parameters
Collection of InventoryDetailsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| Qty | integer |
None. |
|
| BC | decimal number |
None. |
|
| DIA | decimal number |
None. |
|
| SPH | decimal number |
None. |
|
| CYL | decimal number |
None. |
|
| AXIS | integer |
None. |
|
| ADD | integer |
None. |
|
| ADDN | string |
None. |
|
| COLOR | string |
None. |
|
| MF | string |
None. |
|
| Cost | decimal number |
None. |
|
| ReorderThreshold | integer |
None. |
|
| OnHandLimit | integer |
None. |
|
| DefaultLocation | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ProductId": 1,
"Qty": 2,
"BC": 3.0,
"DIA": 4.0,
"SPH": 5.0,
"CYL": 1.0,
"AXIS": 1,
"ADD": 1,
"ADDN": "sample string 6",
"COLOR": "sample string 7",
"MF": "sample string 8",
"Cost": 9.0,
"ReorderThreshold": 10,
"OnHandLimit": 11,
"DefaultLocation": "sample string 12"
},
{
"ProductId": 1,
"Qty": 2,
"BC": 3.0,
"DIA": 4.0,
"SPH": 5.0,
"CYL": 1.0,
"AXIS": 1,
"ADD": 1,
"ADDN": "sample string 6",
"COLOR": "sample string 7",
"MF": "sample string 8",
"Cost": 9.0,
"ReorderThreshold": 10,
"OnHandLimit": 11,
"DefaultLocation": "sample string 12"
}
]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.