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": "18fa62bb-e9af-49c2-9eca-e0fdbf7980fc",
"barcode": "sample string 2",
"id_location": "71ac6e97-89fb-4b21-a905-b5942e352ea4",
"id_item": "1f9e0219-5222-4622-baff-a6038734f88c",
"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": "40e843c6-eb13-4d3d-8eab-a99621792197",
"barcode": "sample string 2",
"id_location": "aec09f1e-6aca-4954-a261-d7b87afe0c4e",
"id_item": "fae9258d-5e70-4edd-8898-203b7c9d544f",
"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
}