It allows you:
to get the Warehouses list to use with all API Methods.
to insert new Warehouse with one default locator (value and locator value are generated from name).
Columns that can be used as filters:
Organization
Value
Name
Active
Actions can be done:
list
create
URL: https://api.socratecloud.com/webapi/rest/warehouse/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}
Method: GET
Return: JSON object with next format:
{
"data": [
{
"Organization": "Demo SRL",
"Created": "2007-08-22 08:30:19",
"CreatedBy": "System",
"Updated": "2007-08-22 08:30:19",
"UpdatedBy": "System",
"Active": true,
"Value": "Standard",
"Name": "Standard",
"Description": null
}
],
"totalRows": 1
}
URL: https://api.socratecloud.com/webapi/rest/warehouse/create/{version}?accessToken={access_token}
Method: POST
Return: name for success or error message (start with "ERROR: ")
Mandatory fieds:
Organization
Name
Data format:
{
"Organization": "Demo SRL",
"Active": true,
"Name": "Standard",
"Description":null
}