List Custom Fields
Changed onReturns a list of custom fields defined for your account.
For details, please see our guide on Custom Fields.
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The start cursor for Keyset pagination.
The number of records per page to return.
The fields, operations, and values to filter the records by.
The fields and direction to sort the results by.
Response
OK
Example response
{
"records": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"association_type": "contact|equipment|vehicle|vendor",
"custom_object_key": "bill|accident",
"calculated_custom_field_config": {
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"formula": "subtotal + tax",
"variables": [
"subtotal",
"tax"
]
}
}
]
}Changes
- warning
added the new
currencyenum value to the//response property for the response status - warning
added the new
numberenum value to the//response property for the response status - info
for the
queryrequest parameterper_page, the min was decreased from2.00to1.00 - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- warning