The getVocations queryType is passed to the API to get a list of vocation information.
Parameters
These parameters should be passed to the functionParameters object regardless of which method you choose from here.
| Parameter | Description | Type | Defined Value Set | Value Req'd |
|---|
| queryType | Must equal "getVocations". | STRING | "getVocations" | Y |
Responses
| Code | Type | Description |
|---|
| 200 | JSON | The requested data. |
| 401 | JSON | Occurs for various unauthorized tasks, such as not providing credentials in your parameters. |
| 500 | JSON | Occurs if an internal server error occurs. Contact altitudesupport@geotab.com if this occurs. |
Sample parameters
{
"queryType": "getVocations",
}