get_regions (GET)
The function returns all the regions currently stored in the platform. It takes the token as an input parameter and returns a string serialized in JSON format containing the ID of the territories and their names.
- Endpoint :
preview.ilsbsys.com/apirest_v1/information
Input Fields
Tag Name | Type | Size | Priority |
---|---|---|---|
token | string | 16 | (Mandatory) |
Fields
{
"request" : "get_regions",
"token" : "123456789ABC"
}
Results
[
{
"id_territory": "1",
"desc_small": "WorldWide"
},
{
"id_territory": "2",
"desc_small": "Europe"
},
{
"id_territory": "9",
"desc_small": "Local"
}
]
Common Error Codes
1005
: token is invalid