Get Contact Renewal Types
Retrieve all available contact renewal type definitions from FleetIO.
Operation
Section titled “Operation”getRenewalTypes
Resource
Section titled “Resource”contactRenewal
Parameters
Section titled “Parameters”This operation has no required parameters.
Response
Section titled “Response”Success
Section titled “Success”Returns an array of contact renewal type definitions:
{ "id": 1, "name": "CDL License", "description": "Commercial Driver's License renewal", "due_soon_threshold_in_days": 30}{ "success": false, "error": "FleetIO credential is missing apiKey"}Response Fields
Section titled “Response Fields”| Field | Type | Description |
|---|---|---|
| id | number | Unique renewal type ID |
| name | string | Renewal type name |
| description | string | Description of the renewal type |
| due_soon_threshold_in_days | number | Default days before due to trigger alert |
Error Handling
Section titled “Error Handling”- Missing API URL: FleetIO credential is missing apiUrl
- Missing Account Token: FleetIO credential is missing accountToken
- Missing API Key: FleetIO credential is missing apiKey