get/dictionary/type/{typeId}
Dictionary lists are used accross Infojobs, for instance, to populate pull-down menus in formularies. This operation is used to retrieve all valid elements of a dictionary list. The different dictionary lists are identified by the parameter typeId. A call to this operation providing one of the allowed values will retrieve a response composed of a human readable value if it exists.
Request
Resource URL
https://api.infojobs.net/api/1/dictionary/type/{typeId}
Security
- User Role: public
- Scope: none
Parameters
| Name | Description |
|---|---|
|
typeId Required String |
Specifies the identifier of the desired list of values you intend to retrieve. Allowed values: skills, certifications, InformalTraining Example values: skills |
Available dictionary type identifiers:
| Name | Description |
|---|---|
|
skills |
The dictionary skills. |
|
certifications |
The dictionary certifications. |
|
InformalTraining |
The dictionary for other courses. |
Response
Response entities
| Name | Description |
|---|---|
|
id |
Identifier of the item. |
|
name |
Human readable textual value. |
Error Codes
| Code | Description |
|---|---|
|
201 |
Invalid parameter in API operation. |
Examples
This example returns the list of values for the dictionary skills (categoryId field skills).
Request
GET https://api.infojobs.net/api/1/dictionary/type/skills
Response
[
{
"id": 2013125348,
"name": "Supervisión de talas forestales",
},
{
"id": 2013125402,
"name": "Aseguramiento de la calidad",
},
{
"id": 172789148,
"name": "Mantenimiento",
}
]
