POST api/Tt_Stock
Request Information
URI Parameters
None.
Body Parameters
Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| id_item_sub | globally unique identifier |
None. |
|
| barcode | string |
None. |
|
| id_location | globally unique identifier |
None. |
|
| id_item | globally unique identifier |
None. |
|
| stock_ideal | decimal number |
None. |
|
| stock_max | decimal number |
None. |
|
| stock_min | decimal number |
None. |
|
| stock_real | decimal number |
None. |
|
| stock_last | decimal number |
None. |
|
| stock_in | decimal number |
None. |
|
| stock_out | decimal number |
None. |
|
| active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id_item_sub": "678ea684-a9a7-46fb-a3ed-1ad319bdf4d5",
"barcode": "sample string 2",
"id_location": "36b663f0-3c6b-422c-9f7c-fb50f6d83019",
"id_item": "bbec0560-dc6e-4d8b-bbe7-27f1c6fa586f",
"stock_ideal": 5.1,
"stock_max": 6.1,
"stock_min": 7.1,
"stock_real": 8.1,
"stock_last": 9.1,
"stock_in": 10.1,
"stock_out": 11.1,
"active": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| id_item_sub | globally unique identifier |
None. |
|
| barcode | string |
None. |
|
| id_location | globally unique identifier |
None. |
|
| id_item | globally unique identifier |
None. |
|
| stock_ideal | decimal number |
None. |
|
| stock_max | decimal number |
None. |
|
| stock_min | decimal number |
None. |
|
| stock_real | decimal number |
None. |
|
| stock_last | decimal number |
None. |
|
| stock_in | decimal number |
None. |
|
| stock_out | decimal number |
None. |
|
| active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id_item_sub": "527c8388-4ac8-4431-b5dc-e71a663d379f",
"barcode": "sample string 2",
"id_location": "4a5a8bea-df66-412e-bfad-37dc904ae7a3",
"id_item": "c21a24ab-b935-4802-815a-e1166bcf760e",
"stock_ideal": 5.1,
"stock_max": 6.1,
"stock_min": 7.1,
"stock_real": 8.1,
"stock_last": 9.1,
"stock_in": 10.1,
"stock_out": 11.1,
"active": true
}