POST api/Tt_Stock

Request Information

URI Parameters

None.

Body Parameters

Stock
NameDescriptionTypeAdditional 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": "0ce747f3-9922-4cd4-b8d3-dc9554f5bbbd",
  "barcode": "sample string 2",
  "id_location": "7b16bf8f-13ac-4f22-90aa-5e5d2514a516",
  "id_item": "54cc2f8b-a367-45f3-b2a3-947ce4c4bbd8",
  "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
NameDescriptionTypeAdditional 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": "04fae752-f0aa-48a5-96cb-ea6f038241dd",
  "barcode": "sample string 2",
  "id_location": "075608d2-3f30-444b-bc08-0a4a2fc44f48",
  "id_item": "b3ed289f-c855-4a91-9a11-15083ed06267",
  "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
}