get_plans (GET)
This function returns the assets associated with your data plan. It takes two input parameters, the token and language (get_languages calls), this that you choose should to be active for you token. The Output Data returns all the plans available and active, the ID plan is the code of the plan generated by the system.
- Endpoint :
preview.ilsbsys.com/apirest_v1/information
Input Fields
Tag Name | Type | Size | Priority |
---|---|---|---|
token | string | 16 | (Mandatory) |
language | string | 3 | (Mandatory) |
Fields
{
"request" : "get_plans",
"token" : "123456789ABC",
"language" : "eng"
}
Results
[
{
"id" : "1840",
"titulo" : "titulo",
"description" : "description",
"language_id" : "spa",
"plan_id" : "1840",
"id_plan_categoria" : "24",
"num_pas" : "9",
"min_tiempo" : "1",
"max_tiempo" : "90",
"id_currence" : "31",
"family_plan" : "N",
"min_age" : "1",
"max_age" : "90",
"normal_age" : "21",
"plan_local" : "N",
"modo_plan" : "W",
"original_id" : null
}
]
Common Error Codes
9015
: no results6021
: language is empty1005
: token is invalid