List Service Entry Line Items
Changed onReturns a list of Line Items for a given Service Entry.
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.
Path parameters
The id of the associated Service Entry
Query parameters
The start cursor for Keyset pagination.
The number of records per page to return.
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",
"service_task": {
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"subtasks": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
]
},
"issues": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"reported_at": "2023-03-14T13:46:27-06:00",
"due_date": "2023-03-14",
"assigned_contacts": [
{
"group_hierarchy": "Group 1|Group 2|Group 3",
"birth_date": "2023-03-14",
"street_address": "123 Main St",
"street_address_line_2": "Apt 1",
"license_expiration": "2023-03-14"
}
],
"comments": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"documents": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"images": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
]
}
]
}
]
}Changes
- breaking
the
/////response's property type changed from no type toobjectfor status - breaking
the
/response's property type changed from no type toobjectfor 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 optional property
//////to the response with the status - info
added the optional property
//to the response with the status - info
removed
subschema #1from the/////response propertyallOflist for the response status - info
removed
subschema #1from the/response propertyanyOflist for the response status
- breaking
- info
added the optional property
///to the response with the status
- info