Get Expiration Type
Retrieve a single expiration type by its ID from Last Mile Intelligence.
Operation
Section titled “Operation”getExpirationType
Resource
Section titled “Resource”expirationType
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Expiration Type ID | string | Yes | - | The ID of the expiration type to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "exptype_cdl", "name": "CDL License", "description": "Commercial Driver's License", "entityType": "resource", "defaultReminderDays": 30, "isRequired": true, "isActive": true}{ "success": false, "error": "Expiration type not found", "expirationTypeId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Expiration Type Not Found: Type with specified ID does not exist
- Permission Denied: API token lacks permission for this operation