Table of Contents | ||
---|---|---|
|
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
warehouse_identifier (mandatory) | Warehouse identifier | The warehouse in which the items will be added into. The allowed warehouse identifier fields are the following:
| ||||||
life_cycle_state (mandatory) | String | The stated of the transaction which can be DRAFT or POSTED | ||||||
batch_number (optional) | String | A reference number which is entered to keep track of the warehouse transaction source | ||||||
supplier_identifier (optional) | Contact information identifier | The supplier of the items to be added. Suppliers refer to contact information. The allowed contact information identifier fields are the following:
| ||||||
description (optional) | String | A description for the warehouse transaction to be created | ||||||
udf_string_1 (optional) | String | User Defined Field of type String | ||||||
udf_string_2 (optional) | String | User Defined Field of type String | ||||||
udf_string_3 (optional) | String | User Defined Field of type String | ||||||
udf_string_4 (optional) | String | User Defined Field of type String | ||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_5 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_6 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_7 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_8 (optional) | Float | User Defined Field of type Float | ||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | ||||||
items_set | A set of stock in items objects | The items that should be added in the warehouse through this stock in transaction. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "token":"363D92A1BAA5BF4EABECD87CDB691EA047995B93A94E35C992956091325A3D92", "warehouse_identifier":{"name":"BrokenCentral TVs Warehouse"}, "life_cycle_state":"DRAFT", "batch_number":"bn010009090", "supplier_identifier":{"id_number":"984783"}, "description":"Stock in transaction of a broken TV to the broken TVsCentral Warehouse", "items_set": [ { "installed_item_identifier":{"serial_number":"SSTV0000452T1M001000000001"}, "alternative_code":"T1M001000000001", "unit_cost":80 }, { "installed_item": { "serial_number":"SSTV0000453MODEM0019", "alternativeproduct_codeidentifier":{"code":"SSTV453Modem", }, "product_identifier":{"alternative_code":"SSTV453MODEM0019"}, }, "unit_cost":50 }, ] } |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{{ "statusproduct_identifier":{"code":"Universal Remote Controls"}, { "messagequantity":50 null, } ] } |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "life_cycle_state": "DRAFT", "number": "290336", "id": "F8A4A7B509DCFBE4AE969EF23C91602CC8D9AECE85C160AEB18B6FE0148A12FF", "batch_number": "bn010009090"null } } |
POST warehouse_transactions/stock_out
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
warehouse_identifier (mandatory) | Warehouse identifier | The warehouse from which the items will be removed from. The allowed warehouse identifier fields are the following:
| ||||||
life_cycle_state (mandatory) | String | The stated of the transaction which can be DRAFT or POSTED | ||||||
batch_number (optional) | String | A reference number which is entered to keep track of the warehouse transaction source | ||||||
description (optional) | String | A description for the warehouse transaction to be created | ||||||
udf_string_1 (optional) | String | User Defined Field of type String | ||||||
udf_string_2 (optional) | String | User Defined Field of type String | ||||||
udf_string_3 (optional) | String | User Defined Field of type String | ||||||
udf_string_4 (optional) | String | User Defined Field of type String | ||||||
udf_float_5 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_6 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_7 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_8 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | ||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | ||||||
items_set | A set of stock out items objects | The items that should be removed from the warehouse through this stock out transaction. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "token":"363D92A1BAA5BF4EABECD87CDB691EA09A30B8EAB0A28E012329162912CC0736", "warehouse_identifier":{"name":"BrokenCentral TVs Warehouse"}, "life_cycle_state":"POSTED", "batch_number":"bn00090221BN89102911", "items_set": [ { "installed_item_identifier": { "serial_number":"SSTV0000452MOD0091" }, },{ ] } |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "status"product_identifier":{"code":"Universal Remote Controls"}, { "messagequantity":57 null, } "description": null, ] } |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "life_cycle_state": "POSTED", "number": "291", "id": "BDDB284AD8E12E9753D838C126F33D70", "batch_number": "bn00090221" } } |
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
from_warehouse_identifier (mandatory) | Warehouse identifier | The warehouse from which the items will be removed from. The allowed warehouse identifier fields are the following:
| ||||||
to_warehouse_identifier (mandatory) | Warehouse identifier | The warehouse in which the items will be added into. The allowed warehouse identifier fields are the following:
| ||||||
life_cycle_state (mandatory) | String | The stated of the transaction which can be DRAFT or POSTED | ||||||
batch_number (optional) | String | A reference number which is entered to keep track of the warehouse transaction source | ||||||
description (optional) | String | A description for the warehouse transaction to be created | ||||||
udf_string_1 (optional) | String | User Defined Field of type String | ||||||
udf_string_2 (optional) | String | User Defined Field of type String | ||||||
udf_string_3 (optional) | String | User Defined Field of type String | ||||||
udf_string_4 (optional) | String | User Defined Field of type String | ||||||
udf_float_5 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_6 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_7 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_8 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | ||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | ||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | ||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | ||||||
items_set | A set of stock movement items objects | The items that should be moved from one warehouse to another through this stock movement transaction. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "token":"363D92A1BAA5BF4EABECD87CDB691EA06FC91FE36F81476D70D0A335094DCFBF", "from_warehouse_identifier":{"name":"Returned ItemsCentral Warehouse"}, "to_warehouse_identifier":{"name":"BrokenMain TVs Warehouse"}, "life_cycle_state":"POSTED", "batch_number":"bn00090225BNSTOCKOUT009", "items_set": [ { "installed_item_identifier": { "serial_number":"SSTV0000453SMC001-EN" }, },{ ] } |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "status": "product_identifier":{"code":"Universal Remote Controls"}, { "messagequantity":5 null, } "description": null, ] "code": "OK" }, "data": { } |
Response:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "life_cycle_state": "POSTED", "number": "293341", "id": "BFFBEDB7A92E7D4043F259CDBA92DE4D0315BF181670C8A00E014058D12FC0C0", "batch_number": "bn00090225BNSTOCKOUT009" } } |
POST warehouse_transactions/post
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"status":
{
"message": null,
"description": null,
"code": "OK"
},
"data":
{
"life_cycle_state": "POSTED",
"number": "290",
"id": "F8A4A7B509DCFBE4AE969EF23C91602C",
"batch_number": "bn010009090"
}
} |
{
"token":"6FC91FE36F81476D70D0A335094DCFBF",
"from_warehouse_identifier":{"name":"Central Warehouse"},
"to_warehouse_identifier":{"name":"Main Warehouse"},
"life_cycle_state":"POSTED",
"batch_number":"BNSTOCKOUT009",
"items_set":
[
{
"installed_item_identifier": { "serial_number":"SMC001-EN" }
},{
"product_identifier":{"code":"Universal Remote Controls"},
"quantity":5
}
]
}