Tickets are the orders of products in the Customer portal.
Websockets
This service is used for status updates on connectors, connections and tickets. More information about the websockets can be found here.
Get available notes with attachments for a ticket.
Successfully retrieved notes for a ticket.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when an error occurs on the server
{- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ticket_id": 0,
- "value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
}
], - "total": 234,
- "offset": 200,
- "limit": 20
}Get historical tickets for a given vehicle identification number
Succesfully fetched historical tickets
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when an error occurs on the server
{- "result": [
- {
- "id": 7014044,
- "connector_id": 910101043,
- "state": 7,
- "vin": "JFL91010104591010",
- "odometer_reading": 138853,
- "reference": "Licence plate",
- "voucher": "23MDU53",
- "vehicle_model_id": 23423,
- "vehicle_model_variant_id": 23423,
- "sub_total": {
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}, - "total": {
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}, - "original_equipment_service_fee": {
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}, - "product_lines": [
- {
- "product_id": 1234,
- "description": "Tow bar coding",
- "quantity": 2,
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}, - "original_equipment_service_fee": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "discounts": [
- {
- "product_id": 1234,
- "description": "Tow bar coding",
- "discount": {
- "type": null,
- "percentage": null,
- "price": { }
}
}
]
}
], - "created_at": "2021-09-08T10:03:29+00:00",
- "finished_at": "2021-09-08T10:03:29+00:00"
}
], - "total": 234,
- "offset": 200,
- "limit": 20
}Get historical ticket for a given historical ticket id.
Succesfully fetched historical tickets
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when an error occurs on the server
{- "id": 7014044,
- "connector_id": 910101043,
- "state": 7,
- "vin": "JFL91010104591010",
- "odometer_reading": 138853,
- "reference": "Licence plate",
- "voucher": "23MDU53",
- "vehicle_model_id": 23423,
- "vehicle_model_variant_id": 23423,
- "sub_total": {
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}, - "total": {
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}, - "original_equipment_service_fee": {
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}, - "product_lines": [
- {
- "product_id": 1234,
- "description": "Tow bar coding",
- "quantity": 2,
- "gross_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "net_price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "total_discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}, - "original_equipment_service_fee": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}, - "discounts": [
- {
- "product_id": 1234,
- "description": "Tow bar coding",
- "discount": {
- "type": "percentual",
- "percentage": 30.35,
- "price": {
- "currency": "EUR",
- "value": 100,
- "localized_value": 110,
- "localized_currency": "GBP"
}
}
}
]
}
], - "created_at": "2021-09-08T10:03:29+00:00",
- "finished_at": "2021-09-08T10:03:29+00:00"
}Retrieve available prepared tickets for the authenticated customer and/or vehicle (via VIN).
Prepared tickets
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when an error occurs on the server
{- "total": 234,
- "offset": 200,
- "limit": 20,
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vin": "JFL91010104591010",
- "vehicle_model_id": 32443,
- "vehicle_model_variant_id": 0,
- "product_lines": [
- [ ]
]
}
]
}Creates a new ticket containing one or more products for a specific vehicle with VIN It is not possible to create a ticket on a connector when there is a pending ticket on the connector.
Creates a ticket
Created
Returned when a client sends a bad request.
Returned when a request is performed without or with an incorrect OIDC token
Returned when an error occurs on the server
{- "vin": "JFL91010104391010",
- "vehicle_model_id": "284841",
- "vehicle_model_variant_id": "284841",
- "connector_id": 910101043,
- "voucher": "234MD23",
- "product_ids": [
- 52351,
- 52352
], - "product_prerequisites": [
- {
- "definition_id": 1,
- "value": "true"
}
], - "metadata": {
- "app_name": "Web Client",
- "app_version": "1.16.6",
- "platform": "Mac OS",
- "platform_version": "10.15.6",
- "device_manufacturer": "Apple",
- "device_model": "Chrome 92.0.4515.159",
- "battery_state": "67",
- "locale": "nl_NL",
- "latitude": "51.985104",
- "longitude": "5.898730",
- "vin_is_found_by_reader": true
}, - "prepared_ticket_id": "ca09a970-6519-4280-b6a6-65727e2894e3",
- "reference": "aa-bb-12",
- "confirmed_unattended_service": true
}{- "id": "3",
- "uuid": "abcb2f39-7620-401a-8dab-ec2f6075ed8a",
- "vin": "JFL91010104591010",
- "vinNumber": "JFL91010104591010",
- "vehicle_model_id": 23423,
- "vehicle_model_variant_id": 23423,
- "product_ids": [
- [
- 324234
]
], - "chat_id": "2349283_416e4c77-4fc0-40ca-b5a5-95a12c4e84e8",
- "connector_id": 990001234,
- "state": 1
}