Workshop/Interventions
List interventions
Returns a paginated list of workshop interventions with optional filtering.
AuthorizationBearer <token>
In: header
Query Parameters
search?string
id?string
is_active?boolean
vat_id?string
department_id?string
service_order?string
description?stringDeprecated
estimated_time?numberDeprecated
created_at?stringDeprecated
Format
dateupdated_at?stringDeprecated
Format
datefilter[description][operator]?string
Operators: sw, ew, ct, eq. Example: filter[description][sw]=value
filter[estimated_time][operator]?number
Operators: gte, lte, eq. Example: filter[estimated_time][gte]=value
filter[created_at][operator]?string
Operators: gte, lte, eq. Example: filter[created_at][gte]=value
Format
datefilter[updated_at][operator]?string
Operators: gte, lte, eq. Example: filter[updated_at][gte]=value
Format
datepage?integer
Page number. Default 1; a value below 1 counts as 1.
Default
1Range
1 <= valuelimit?integer
Items per page. Default 50, maximum 250; a larger value is truncated to 250.
Default
50Range
1 <= value <= 250Response Body
curl -X GET "https://og-tenant1.test:8003/api/v2/workshop/interventions?search=string&id=string&is_active=true&vat_id=string&department_id=string&service_order=string&description=string&estimated_time=0&created_at=2019-08-24&updated_at=2019-08-24&filter%5Bdescription%5D%5Boperator%5D=string&filter%5Bestimated_time%5D%5Boperator%5D=0&filter%5Bcreated_at%5D%5Boperator%5D=2019-08-24&filter%5Bupdated_at%5D%5Boperator%5D=2019-08-24&page=1&limit=50"{
"data": [
{
"id": 0,
"description": "string",
"estimated_time": 0,
"value_without_vat": 0,
"vat_id": 0,
"is_active": true,
"depends_on": [
0
],
"is_splittable": true,
"sequence": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"meta": {
"per_page": 50,
"current_page": 1,
"has_more": true
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}