Skip to content

Get Expiration Type

Retrieve a single expiration type by its ID from Last Mile Intelligence.

getExpirationType

expirationType

ParameterTypeRequiredDefaultDescription
Expiration Type IDstringYes-The ID of the expiration type to retrieve
{
"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"
}
  • 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