Download OpenAPI specification:
RESTful API for use in system-to-system processes.
To make use of this API you need to have a Client ID and Client Secret.
With these credentials you can request a token which you will need to access the resources from this API.
Be aware: the Client Secret is only provided once so keep this value somewhere safe.
You can retrieve an access token via our OAuth token endpoint. You can find the full documentation for this
endpoint here.
The endpoint only supports HTTPS POST. You need to separately retrieve this token before executing any of the other
endpoints.
The token endpoint is as follows:
https://partner-api-001.prd.jifeline.cloud/oauth2/token.
Content-Type
: Set the value of this parameter to application/x-www-form-urlencoded.
grant_type
: Must equal client_credentials.
client_id : Must equal the value received in the email received when generating new credentials. It can also be found in the API credentials management screen.
client_secret : Must equal the value received in the email received when generating new credentials.
In the response body you will find your access token in addition with the amount of seconds until this token is no longer valid.
Example request
curl -X POST https://partner-api-001.prd.jifeline.cloud/oauth2/token \
--header "Content-Type: application/x-www-form-urlencoded" \
--data "grant_type=client_credentials" \
--data "client_id=<yourClientId>" \
--data "client_secret=<yourClientSecret>"
Example response
{
"expires_in": 3600,
"access_token": "eyJraWQ.........",
"token_type": "Bearer"
}
The access token is valid for 90 minutes, however it is cached only for 30 minutes. This means that if you request the token again after 35 minutes, you will get a new token even though the previous one was still valid for +-55 minutes.
This gives you the room to implement a refresh mechanism to request a new token before it expires. A safe implementation would be to request a new token every 60 minutes.
To make use of your access token you need to add the following headers to your requests.
Authorization
: Must equal Bearer <yourAccessToken>
Example request
curl \
--header 'Authorization: Bearer <yourAccessToken>' \
https://partner-api-001.prd.jifeline.cloud/v2/system/locales
We have created a small example application in Java (JRE/JDK 11) to demonstrate how to authenticate with our Partner API. You can download it here. Please extract the archive and check the README.md for more information.
The Partner API is a RESTFull API with different endpoints which return JSON data regarding all sorts of resources.
Resources are accessed via standard HTTP requests in UTF-8 format to an endpoint. The Partner API uses the following HTTP verbs:
| Method | Action |
|---|---|
| GET | Used for retrieving resources |
| POST | Used for creating resources |
| PUT | Used for changing or replacing resources |
| DELETE | Used for removing resources |
| OPTIONS | Can be issued against any resource to request CORS support |
To ensure fair use and maintain the performance of the Partner API, the following throttle limits are in place:
Rate Limit: You are allowed 5 requests per second with a burst capacity of 10 requests. This means that while the average rate is 5 requests per second, up to 10 requests can be sent in quick bursts. Once the burst capacity is reached, subsequent requests will be rejected.
Daily Quota: The maximum number of requests you can make to the API in a 24-hour period is 50,000 requests. Once this limit is reached, no additional requests will be processed.
Cache API responses when possible to avoid making repeated requests for the same data. This is especially useful for endpoints that return data that doesn't change often. If possible, consider creating one singular component that communicates with the Partner API instead of multiple. In this way, the cache can be shared by multiple sources.
If you're polling the API for changes, consider increasing the interval between polls or using events in the /system/events or the Partner Websocket API.
If you hit rate limits, use exponential backoff strategies when retrying requests, rather than retrying immediately.
Regularly monitor your API usage and set up alerts or dashboards to track it over time. This helps you stay ahead of potential issues.
Add throttling logic to your application to control how frequently it makes API calls. This can help prevent sudden spikes in traffic.
The Partner API normally returns JSON in the response body (unless explicitly defined otherwise).
Below is a list of status code that are in use. Each resource endpoint will document all response codes that could be expected.
| Status Code | Description | Methods |
|---|---|---|
| 200 | OK - The request has succeeded. The client can read the result of the request in the body and the headers of the response. | all |
| 201 | Created - The request has been fulfilled and resulted in a new resource being created. | POST PUT |
| 202 | Accepted - The request has been accepted for processing, but the processing has not been completed. | POST PUT DELETE |
| 204 | No Content - Request is processed successfully but no response payload is returned. | PUT DELETE |
| 301 | Moved Permanently - This request and all future requests should be directed to the response's given URI. | all |
| 303 | See Other - Response has a Location header with a URL to which the client should redirect. | POST PUT DELETE |
| 400 | Bad Request - Error indicating that the server cannot process the request due to something that is perceived to be a client error (e.g. malformed request syntax, invalid request). | all |
| 401 | Unauthorized - Credentials are not valid for the target resource (client is denied server-authentication). | all |
| 403 | Forbidden - Request is successfully understood but client is not authorized to use or access this resource. | all |
| 404 | Not Found - Requested resource is not found. | all |
| 405 | Method Not Allowed - HTTP method is not allowed for the request's URI. | all |
| 409 | Conflict - Current state of target resource conflicts with the request. | PUT DELETE |
| 415 | Unsupported Media Type - Requested content-type is unknown to server. | all |
| 428 | Precondition Required - Client has not specified required precondition(s). | all |
| 429 | Too Many Requests - Client has exceeded rate limits and sent too many requests. | all |
| 500 | Server Error - Unexpected server execution resulting in a failure to respond successfully. | all |
| 503 | Service Unavailable - Server is currently unable to fulfill request. Client is suggested to try again later. | all |
| 504 | Gateway Timeout - Server did not receive a response to the request within a timely window. Client is suggested to verify expected results before trying again. | all |
If you exceed the throttle limits, the API will return an HTTP status code 429 (Too Many Requests), indicating that you have surpassed the rate or burst limits. In such cases, you should respect the retry-after header or implement appropriate retry logic with backoff to ensure successful future requests. Example of 429 response:
{
"type": "/problems/too-many-requests",
"status": 429,
"title": "Too Many Requests",
"detail": "You have exceeded the rate limit for this resource. Please wait and try again later."
}
To avoid disruptions, it is recommended to monitor your usage and optimize your request patterns according to the throttle limits.
The Partner API uses a single response to describe an error. This error response can be detected by the returned status
code (4XX or 5XX) and the Content-Type header which will have a value of application/problem+json.
The response itself will be a JSON structure according to RFC-7807. In general this response looks like:
{
"type": "about:blank",
"status": 403,
"title": "Forbidden",
"detail": "You don't have permission to access this resource."
}
status property contains the status code from the response.title property contains short a human-readable summary of the occurred problem.detail property contains a detailed human-readable description of the occurred problem and usually provides more
insight into the resolution (if any).type property describes the type of problem and can be used as a discriminator for problem variants with
additional properties. Type about:blank is the default and will only contain the aforementioned properties.Example of a non-default problem type
{
"type": "/problems/violations",
"status": 400,
"title": "Bad request",
"detail": "The request contains one or more violations. Please resolve all of them and try again.",
"violations": [
{
"property_path": "/customer_id",
"in": "body",
"detail": "This value must be a valid UUID."
}
]
}
Note
If a resource endpoint supports one or more of the problem types they will be documented as a possible response.
If the response is for a collection of resources its structure will always look like the following.
{
"query": {
// applied query
},
"result": [
// 0 or more resources
{
"name": "Resource 1"
},
{
"name": "Resource 2"
}
],
"total": 2
}
query property will always contain the query parameters that have been applied to get the resulting resources.
These include all provided query parameters and those not provided, but with a default.result property will contain a list of zero or more resources matching the executed query.total property will contain the total number of resources matching provided query parameters.If a resource supports the limit and offset query parameters the collection response will only contain a subset of
the total available resources (a single page).
limit parameter can be used to control the maximum amount of resource returned per page.offset parameter can be used to control the index of the first resource returned. E.g. ?offset=0&limit=25
gives the first page of 25 resources. ?offset=25&limit=25 gives you the second page of 25 resources.The response will always be a collection response in which the used (provided or default) values for limit
and offset are available in its query property. The total property provides the total amount of resources
available in the system which gives you insight in the total number of "pages" that could be retrieved.
{
"query": {
"limit": 25,
"offset": 0
},
"result": [
// resources for first "page".
],
"total": 34
}
In the documentation of requests to the API and responses from it, you will frequently encounter properties with a
data format.
For example
The id property of a customer has string <uuid> as its data type where uuid is the format for the string that
will be returned.
The list below provides some clarification on what these mean and how to handle them.
| Format | Clarification | Example |
|---|---|---|
integer<int32> |
4 byte signed integer between -2^31 and 2^31-1 |
7721071004 |
integer<int64> |
8 byte signed integer between -2^63 and 2^63-1 |
77210710045682438959 |
number<float> |
binary32 single precision decimal number - see IEEE 754-2008/ISO 60559:2011 |
3.1415927 |
number<double> |
binary64 double precision decimal number - see IEEE 754-2008/ISO 60559:2011 |
3.141592653589793 |
string<date> |
RFC 3339 internet profile - subset of ISO 8601 | "2023-05-11" |
string<date-time> |
RFC 3339 internet profile - subset of ISO 8601 | "2023-05-11T06:23:57Z" "2023-05-11T06:23:57+02:00" |
string<email> |
RFC 5322 | "example@example.com" |
string<uri> |
RFC 3986 | "https://example.com/" |
string<uri-reference> |
RFC 3986 | "/path/to/resource" |
string<uuid> |
A Universally Unique IDentifier. See RFC 4122 | "e1f2b196-40a2-48c0-892c-1e4c9502ec96" |
string<json-pointer> |
RFC 6901 | "/gross_price/amount" |
string<iso-3166-alpha-2> |
Two letter country code - see ISO 3166-1 alpha-2 | "NL" |
string<iso-4217> |
Three letter currency code - see ISO 4217 | "EUR" |
string<iso-13616> |
IBAN standard - see ISO 13616 | "NL02ABNA0123456789" |
string<iso-9362> |
Business Identifier Codes (BIC), a unique identifier for business institutions - see ISO 9362 | "AABNNL2AXXX" |
string<iso-639-1> |
Two letter language code - see ISO 639-1 | "en" |
string<bcp47> |
Multi letter language tag - see BCP 47. It is a compatible extension of ISO 639-1 optionally with additional information form language usages, like region, variant and script. |
"en-US" |
string<ulid> |
A 128-bit sortable unique identifier. "Universally unique Lexicographically sortable IDentifier" | "01BX5ZZKBKACTAV9WEVGEMMVS1" |
Obtain access token with App client_id and client_secret. For more information, see Authentication section.
| client_id required | string The client_id is the public identifier for OAuth apps. See this section how to obtain credentials. | ||||
| client_secret required | string The client_secret is a secret known only to the application and the authorization server. It is essential the application’s own password. See this section how to obtain credentials. | ||||
| grant_type required | string
The OAuth framework specifies several grant types for different use cases. Use "client_credentials" here. |
| access_token | string JWT token see: https://datatracker.ietf.org/doc/html/rfc7519 . | ||||
| expires_in | integer The validity of the token in seconds. | ||||
| token_type | string
The type of the token. |
{- "access_token": "eyJraWQiOiI4TVZhNnhcL0t4TUZUSkp1ZG1uWUZaVDZVbmhFcEZid3AwOG5xemR3eWMyYz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIzdnNs\nNWxwbXBrcHBqbDU4aHM5MHJoajNvNiIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiaHR0cHM6XC9cL3BhcnRuZXItYXBpLTQwOS5zd\nGcuamlmZWxpbmUuY2xvdWRcL3Byb3ZpZGVycy1lbXBsb3llZXM6d3JpdGUgaHR0cHM6XC9cL3BhcnRuZXItYXBpLTQwOS5zdGcuamlmZWxpbm\nUuY2xvdWRcL3RpY2tldHMtdm91Y2hlcnM6d3JpdGUgaHR0cHM6XC9cL3BhcnRuZXItYXBpLTQwOS5zdGcuamlmZWxpbmUuY2xvdWRcL3Byb3Z\npZGVycy1icmFuZGluZy1wcm9maWxlcyBodHRwczpcL1wvcGFydG5lci1hcGktNDA5LnN0Zy5qaWZlbGluZS5jbG91ZFwvdGlja2V0cy1ub3Rl\nczp3cml0ZSBodHRwczpcL1wvcGFydG5lci1hcGktNDA5LnN0Zy5qaWZlbGluZS5jbG91ZFwvcHJvZHVjdC1jYXRhbG9nLW91dHNvdXJjZS1hc\nHBsaWNhdGlvbnMgaHR0cHM6XC9cL3BhcnRuZXItYXBpLTQwOS5zdGcuamlmZWxpbmUuY2xvdWRcL3BhcnRuZXItYXBpIGh0dHBzOlwvXC9wYX\nJ0bmVyLWFwaS00MDkuc3RnLmppZmVsaW5lLmNsb3VkXC9wcm9kdWN0LWNhdGFsb2ctYXBwbGljYXRpb25zIGh0dHBzOlwvXC9wYXJ0bmVyLWF\nwaS00MDkuc3RnLmppZmVsaW5lLmNsb3VkXC9jdXN0b21lcnMtY3VzdG9tLWZpZWxkczp3cml0ZSBodHRwczpcL1wvcGFydG5lci1hcGktNDA5\nLnN0Zy5qaWZlbGluZS5jbG91ZFwvcHJvdmlkZXJzIGh0dHBzOlwvXC9wYXJ0bmVyLWFwaS00MDkuc3RnLmppZmVsaW5lLmNsb3VkXC92ZWhpY\n2xlcy1vZG9tZXRlci1yZWdpc3RyYXRpb25zOndyaXRlIGh0dHBzOlwvXC9wYXJ0bmVyLWFwaS00MDkuc3RnLmppZmVsaW5lLmNsb3VkXC9wcm\n9kdWN0LWNhdGFsb2ctcHJpY2UtbGlzdC1jb2RlcyIsImF1dGhfdGltZSI6MTczNDQzNjU1MiwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWR\nwLmV1LWNlbnRyYWwtMS5hbWF6b25hd3MuY29tXC9ldS1jZW50cmFsLTFfUDdKWTJMbU1aIiwiZXhwIjoxNzM0NDQwMTUyLCJpYXQiOjE3MzQ0\nMzY1NTIsInZlcnNpb24iOjIsImp0aSI6IjNlMGNkZjViLTIyODctNDgxZC1iNmVhLWMzY2UwZWU4NjllZSIsImNsaWVudF9pZCI6IjN2c2w1b\nHBtcGtwcGpsNThoczkwcmhqM282In0.JqlDTTJ04CPCGk8IZUsLTAhAQNTj2FI_jIjVyusYCoA_8vqisQNi8xqzFYYgTJxIwAnqR3NMJOWYEn\niRIc5Esa3IVb5L8y7Mc6xggTXk9TwQtKz81U_vB1Vbg4mcsz3P6XXp3_tsn4_eIYirdmSjJbNjAoW_bndaKydCelTt216MjORXfZ6_VRYM3O6\nNngg_USCB2kAopHsiH4AdQfsS89Nu1Q3Z1EUyujmPrq6OOIBsX8W31YxZ8GlHSCAuV0OwLtEfVkUgfrykq6_q99mv9l9UBq9wPu0GbhnHnist\negtJgHDZsYaAMvmNEth7k6fG6vJP2Ge5G4pjPurdZwWBGA\n",
- "expires_in": 3600,
- "token_type": "Bearer"
}| id | string <uuid> Customer identifier. |
| allow_ticket_without_product | boolean Whether the customer is allowed to create a ticket without products. |
| bic | string or null <iso-9362> The customer's Business Identifier Code (BIC). |
| branding_profile_id | string <uuid> The identifier of the branding profile of this customer. Defaults to the default branding profile of your provider. |
| company_name | string [ 2 .. 255 ] characters A customer's company name. |
| created_at | string <date-time> Date-time on which the customer was created. |
| currency | string <iso-4217> The currency of the customer. Defaults to the currency of the branding profile. |
| enabled | boolean Whether the customer is enabled. A customer that is not enabled is prohibited from creating tickets and its users cannot access the Customer Portal. |
| external_reference | string [ 0 .. 255 ] characters Reference field for external usage. |
| financial_contact_point_id | string or null <uuid> The identifier of the financial contact point. |
| general_contact_point_id | string or null <uuid> The identifier of the general contact point. |
| iban | string or null <iso-13616> The customer's International Bank Account Number (IBAN). |
| invoice_debtor_id | string or null <uuid> A customer's invoice debtor is another customer that receives a customer's ticket invoices. If |
| locale | string <bcp47> A customer's correspondence language. Only supported system locales are allowed. |
| price_list_code_id | string or null <uuid> The identifier of the price list code of this customer. |
| primary_location_id | string or null <uuid> The identifier of a location that is the primary location. |
| reference | string [ 0 .. 255 ] characters ^[a-zA-Z0-9_.-]*$ Human readable identifier for internal usage. If left empty this field will automatically be set to a unique sequential number determined at customer creation. |
| updated_at | string <date-time> Date-time on which the customer was last updated. |
| vat_number | string or null [ 2 .. 15 ] characters The customer's VAT number. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allow_ticket_without_product": true,
- "bic": "AABNNL2AXXX",
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "created_at": "2023-03-07T16:34:15+0100",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "ERP_CUSTOMER_4453",
- "financial_contact_point_id": "a3b4a732-e9a6-4b5e-8a8b-b78185d0665d",
- "general_contact_point_id": "d4695b76-3bc2-41d9-b244-8b681e7ef27a",
- "iban": "NL02ABNA0123456789",
- "invoice_debtor_id": "f57b36b6-2796-4ceb-b5f0-441d98eff1bd",
- "locale": "en-GB",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434",
- "primary_location_id": "4aa156f0-1b2f-4d41-9d31-fa4edd773c3b",
- "reference": "JRD_0005",
- "updated_at": "2023-03-07T16:34:15+0100",
- "vat_number": "1234"
}| customer_id | string or null <uuid> Reference to a customer. |
| field_1 required | string [ 0 .. 255 ] characters Custom field 1. |
| field_2 required | string [ 0 .. 255 ] characters Custom field 2. |
| field_3 required | string [ 0 .. 255 ] characters Custom field 3. |
| field_4 required | string [ 0 .. 255 ] characters Custom field 4. |
| field_5 required | string [ 0 .. 255 ] characters Custom field 5. |
| field_6 required | string [ 0 .. 255 ] characters Custom field 6. |
| field_7 required | string [ 0 .. 255 ] characters Custom field 7. |
| field_8 required | string [ 0 .. 255 ] characters Custom field 8. |
| field_9 required | string [ 0 .. 255 ] characters Custom field 9. |
| field_10 required | string [ 0 .. 255 ] characters Custom field 10. |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "field_1": "1394425330",
- "field_2": "EXT_14599",
- "field_3": "string",
- "field_4": "string",
- "field_5": "string",
- "field_6": "string",
- "field_7": "string",
- "field_8": "string",
- "field_9": "string",
- "field_10": "string"
}Retrieve a list of customers.
| branding_profile_id | string <uuid> Filter customers by branding_profile_id. | ||||||
| enabled | boolean Filter customers by enabled status. | ||||||
| external_reference | string Filter customers by external_reference. | ||||||
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| locale | string <bcp47> Example: locale=en-GB Filters customers by locale. | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| price_list_code_id | string <uuid> Filter customers by price_list_code_id. | ||||||
| sort_by[] | Array of strings non-empty Default: "company_name:asc"
Sort customers. | ||||||
| updated_after | string <date-time> Return only customers that were updated after this date-time. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Array of objects (Customer) >= 0 items List of customers. | |||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||||||||||||||||
{- "query": {
- "limit": 25,
- "sort_by": [
- "company_name:asc"
]
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allow_ticket_without_product": true,
- "bic": "AABNNL2AXXX",
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "created_at": "2023-03-07T16:34:15+0100",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "ERP_CUSTOMER_4453",
- "financial_contact_point_id": "a3b4a732-e9a6-4b5e-8a8b-b78185d0665d",
- "general_contact_point_id": "d4695b76-3bc2-41d9-b244-8b681e7ef27a",
- "iban": "NL02ABNA0123456789",
- "invoice_debtor_id": "f57b36b6-2796-4ceb-b5f0-441d98eff1bd",
- "locale": "en-GB",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434",
- "primary_location_id": "4aa156f0-1b2f-4d41-9d31-fa4edd773c3b",
- "reference": "JRD_0005",
- "updated_at": "2023-03-07T16:34:15+0100",
- "vat_number": "1234"
}
], - "total": 4
}Add a new customer.
The customer you wish to add.
| allow_ticket_without_product | boolean Default: false Whether the customer is allowed to create a ticket without products. |
| bic | string or null <iso-9362> Default: null The customer's Business Identifier Code (BIC). |
| branding_profile_id | string <uuid> The identifier of the branding profile of this customer. Defaults to the default branding profile of your provider. |
| company_name required | string [ 2 .. 255 ] characters A customer's company name. |
| currency | string <iso-4217> The currency of the customer. Defaults to the currency of the branding profile. |
| enabled | boolean Default: true Whether the customer is enabled. A customer that is not enabled is prohibited from creating tickets and its users cannot access the Customer Portal. |
| external_reference | string [ 0 .. 255 ] characters Default: "" Reference field for external usage. |
| iban | string or null <iso-13616> Default: null The customer's International Bank Account Number (IBAN). |
| invoice_debtor_id | string or null <uuid> Default: null A customer's invoice debtor is another customer that receives a customer's ticket invoices. If |
| locale | string <bcp47> A customer's correspondence language. Only supported system locales are allowed. |
| price_list_code_id | string or null <uuid> Default: null The identifier of the price list code of this customer. |
| reference required | string [ 0 .. 255 ] characters ^[a-zA-Z0-9_.-]*$ Human readable identifier for internal usage. If left empty this field will automatically be set to a unique sequential number determined at customer creation. |
| vat_number | string or null [ 2 .. 15 ] characters Default: null The customer's VAT number. |
| id | string <uuid> Customer identifier. |
| allow_ticket_without_product | boolean Whether the customer is allowed to create a ticket without products. |
| bic | string or null <iso-9362> The customer's Business Identifier Code (BIC). |
| branding_profile_id | string <uuid> The identifier of the branding profile of this customer. Defaults to the default branding profile of your provider. |
| company_name | string [ 2 .. 255 ] characters A customer's company name. |
| created_at | string <date-time> Date-time on which the customer was created. |
| currency | string <iso-4217> The currency of the customer. Defaults to the currency of the branding profile. |
| enabled | boolean Whether the customer is enabled. A customer that is not enabled is prohibited from creating tickets and its users cannot access the Customer Portal. |
| external_reference | string [ 0 .. 255 ] characters Reference field for external usage. |
| financial_contact_point_id | string or null <uuid> The identifier of the financial contact point. |
| general_contact_point_id | string or null <uuid> The identifier of the general contact point. |
| iban | string or null <iso-13616> The customer's International Bank Account Number (IBAN). |
| invoice_debtor_id | string or null <uuid> A customer's invoice debtor is another customer that receives a customer's ticket invoices. If |
| locale | string <bcp47> A customer's correspondence language. Only supported system locales are allowed. |
| price_list_code_id | string or null <uuid> The identifier of the price list code of this customer. |
| primary_location_id | string or null <uuid> The identifier of a location that is the primary location. |
| reference | string [ 0 .. 255 ] characters ^[a-zA-Z0-9_.-]*$ Human readable identifier for internal usage. If left empty this field will automatically be set to a unique sequential number determined at customer creation. |
| updated_at | string <date-time> Date-time on which the customer was last updated. |
| vat_number | string or null [ 2 .. 15 ] characters The customer's VAT number. |
{- "allow_ticket_without_product": false,
- "bic": null,
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "",
- "iban": null,
- "invoice_debtor_id": null,
- "locale": "en-GB",
- "price_list_code_id": null,
- "reference": "JRD_0005",
- "vat_number": null
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allow_ticket_without_product": true,
- "bic": "AABNNL2AXXX",
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "created_at": "2023-03-07T16:34:15+0100",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "ERP_CUSTOMER_4453",
- "financial_contact_point_id": "a3b4a732-e9a6-4b5e-8a8b-b78185d0665d",
- "general_contact_point_id": "d4695b76-3bc2-41d9-b244-8b681e7ef27a",
- "iban": "NL02ABNA0123456789",
- "invoice_debtor_id": "f57b36b6-2796-4ceb-b5f0-441d98eff1bd",
- "locale": "en-GB",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434",
- "primary_location_id": "4aa156f0-1b2f-4d41-9d31-fa4edd773c3b",
- "reference": "JRD_0005",
- "updated_at": "2023-03-07T16:34:15+0100",
- "vat_number": "1234"
}Retrieves the details of an existing customer using the provided identifier.
| customer-id required | string <uuid> The identifier of the customer. |
| id | string <uuid> Customer identifier. |
| allow_ticket_without_product | boolean Whether the customer is allowed to create a ticket without products. |
| bic | string or null <iso-9362> The customer's Business Identifier Code (BIC). |
| branding_profile_id | string <uuid> The identifier of the branding profile of this customer. Defaults to the default branding profile of your provider. |
| company_name | string [ 2 .. 255 ] characters A customer's company name. |
| created_at | string <date-time> Date-time on which the customer was created. |
| currency | string <iso-4217> The currency of the customer. Defaults to the currency of the branding profile. |
| enabled | boolean Whether the customer is enabled. A customer that is not enabled is prohibited from creating tickets and its users cannot access the Customer Portal. |
| external_reference | string [ 0 .. 255 ] characters Reference field for external usage. |
| financial_contact_point_id | string or null <uuid> The identifier of the financial contact point. |
| general_contact_point_id | string or null <uuid> The identifier of the general contact point. |
| iban | string or null <iso-13616> The customer's International Bank Account Number (IBAN). |
| invoice_debtor_id | string or null <uuid> A customer's invoice debtor is another customer that receives a customer's ticket invoices. If |
| locale | string <bcp47> A customer's correspondence language. Only supported system locales are allowed. |
| price_list_code_id | string or null <uuid> The identifier of the price list code of this customer. |
| primary_location_id | string or null <uuid> The identifier of a location that is the primary location. |
| reference | string [ 0 .. 255 ] characters ^[a-zA-Z0-9_.-]*$ Human readable identifier for internal usage. If left empty this field will automatically be set to a unique sequential number determined at customer creation. |
| updated_at | string <date-time> Date-time on which the customer was last updated. |
| vat_number | string or null [ 2 .. 15 ] characters The customer's VAT number. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allow_ticket_without_product": true,
- "bic": "AABNNL2AXXX",
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "created_at": "2023-03-07T16:34:15+0100",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "ERP_CUSTOMER_4453",
- "financial_contact_point_id": "a3b4a732-e9a6-4b5e-8a8b-b78185d0665d",
- "general_contact_point_id": "d4695b76-3bc2-41d9-b244-8b681e7ef27a",
- "iban": "NL02ABNA0123456789",
- "invoice_debtor_id": "f57b36b6-2796-4ceb-b5f0-441d98eff1bd",
- "locale": "en-GB",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434",
- "primary_location_id": "4aa156f0-1b2f-4d41-9d31-fa4edd773c3b",
- "reference": "JRD_0005",
- "updated_at": "2023-03-07T16:34:15+0100",
- "vat_number": "1234"
}Update a customer by its identifier.
| customer-id required | string <uuid> The identifier of the customer. |
The updated customer.
| allow_ticket_without_product | boolean Whether the customer is allowed to create a ticket without products. |
| bic required | string or null <iso-9362> The customer's Business Identifier Code (BIC). |
| branding_profile_id required | string <uuid> The identifier of the branding profile of this customer. Defaults to the default branding profile of your provider. |
| company_name required | string [ 2 .. 255 ] characters A customer's company name. |
| currency required | string <iso-4217> The currency of the customer. Defaults to the currency of the branding profile. |
| enabled required | boolean Whether the customer is enabled. A customer that is not enabled is prohibited from creating tickets and its users cannot access the Customer Portal. |
| external_reference required | string [ 0 .. 255 ] characters Reference field for external usage. |
| financial_contact_point_id required | string or null <uuid> The identifier of the financial contact point. |
| general_contact_point_id required | string or null <uuid> The identifier of the general contact point. |
| iban required | string or null <iso-13616> The customer's International Bank Account Number (IBAN). |
| invoice_debtor_id required | string or null <uuid> A customer's invoice debtor is another customer that receives a customer's ticket invoices. If |
| locale required | string <bcp47> A customer's correspondence language. Only supported system locales are allowed. |
| price_list_code_id required | string or null <uuid> The identifier of the price list code of this customer. |
| primary_location_id required | string or null <uuid> The identifier of a location that is the primary location. |
| reference required | string [ 0 .. 255 ] characters ^[a-zA-Z0-9_.-]*$ Human readable identifier for internal usage. If left empty this field will automatically be set to a unique sequential number determined at customer creation. |
| vat_number required | string or null [ 2 .. 15 ] characters The customer's VAT number. |
| id | string <uuid> Customer identifier. |
| allow_ticket_without_product | boolean Whether the customer is allowed to create a ticket without products. |
| bic | string or null <iso-9362> The customer's Business Identifier Code (BIC). |
| branding_profile_id | string <uuid> The identifier of the branding profile of this customer. Defaults to the default branding profile of your provider. |
| company_name | string [ 2 .. 255 ] characters A customer's company name. |
| created_at | string <date-time> Date-time on which the customer was created. |
| currency | string <iso-4217> The currency of the customer. Defaults to the currency of the branding profile. |
| enabled | boolean Whether the customer is enabled. A customer that is not enabled is prohibited from creating tickets and its users cannot access the Customer Portal. |
| external_reference | string [ 0 .. 255 ] characters Reference field for external usage. |
| financial_contact_point_id | string or null <uuid> The identifier of the financial contact point. |
| general_contact_point_id | string or null <uuid> The identifier of the general contact point. |
| iban | string or null <iso-13616> The customer's International Bank Account Number (IBAN). |
| invoice_debtor_id | string or null <uuid> A customer's invoice debtor is another customer that receives a customer's ticket invoices. If |
| locale | string <bcp47> A customer's correspondence language. Only supported system locales are allowed. |
| price_list_code_id | string or null <uuid> The identifier of the price list code of this customer. |
| primary_location_id | string or null <uuid> The identifier of a location that is the primary location. |
| reference | string [ 0 .. 255 ] characters ^[a-zA-Z0-9_.-]*$ Human readable identifier for internal usage. If left empty this field will automatically be set to a unique sequential number determined at customer creation. |
| updated_at | string <date-time> Date-time on which the customer was last updated. |
| vat_number | string or null [ 2 .. 15 ] characters The customer's VAT number. |
{- "allow_ticket_without_product": true,
- "bic": "AABNNL2AXXX",
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "ERP_CUSTOMER_4453",
- "financial_contact_point_id": "a3b4a732-e9a6-4b5e-8a8b-b78185d0665d",
- "general_contact_point_id": "d4695b76-3bc2-41d9-b244-8b681e7ef27a",
- "iban": "NL02ABNA0123456789",
- "invoice_debtor_id": "f57b36b6-2796-4ceb-b5f0-441d98eff1bd",
- "locale": "en-GB",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434",
- "primary_location_id": "4aa156f0-1b2f-4d41-9d31-fa4edd773c3b",
- "reference": "JRD_0005",
- "vat_number": "1234"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allow_ticket_without_product": true,
- "bic": "AABNNL2AXXX",
- "branding_profile_id": "689a2a03-e128-4810-8e21-33ad1d360fe1",
- "company_name": "Meilink Motor Experts",
- "created_at": "2023-03-07T16:34:15+0100",
- "currency": "EUR",
- "enabled": true,
- "external_reference": "ERP_CUSTOMER_4453",
- "financial_contact_point_id": "a3b4a732-e9a6-4b5e-8a8b-b78185d0665d",
- "general_contact_point_id": "d4695b76-3bc2-41d9-b244-8b681e7ef27a",
- "iban": "NL02ABNA0123456789",
- "invoice_debtor_id": "f57b36b6-2796-4ceb-b5f0-441d98eff1bd",
- "locale": "en-GB",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434",
- "primary_location_id": "4aa156f0-1b2f-4d41-9d31-fa4edd773c3b",
- "reference": "JRD_0005",
- "updated_at": "2023-03-07T16:34:15+0100",
- "vat_number": "1234"
}Delete a customer by its identifier.
A customer cannot be deleted when:
| customer-id required | string <uuid> The identifier of the customer. |
{- "status": 403,
- "type": "about:blank",
- "title": "Forbidden",
- "detail": "You are not authorized to access this resource."
}Retrieves the custom field values of an existing customer using the provided identifier.
| customer-id required | string <uuid> The identifier of the customer. |
| customer_id | string or null <uuid> Reference to a customer. |
| field_1 required | string [ 0 .. 255 ] characters Custom field 1. |
| field_2 required | string [ 0 .. 255 ] characters Custom field 2. |
| field_3 required | string [ 0 .. 255 ] characters Custom field 3. |
| field_4 required | string [ 0 .. 255 ] characters Custom field 4. |
| field_5 required | string [ 0 .. 255 ] characters Custom field 5. |
| field_6 required | string [ 0 .. 255 ] characters Custom field 6. |
| field_7 required | string [ 0 .. 255 ] characters Custom field 7. |
| field_8 required | string [ 0 .. 255 ] characters Custom field 8. |
| field_9 required | string [ 0 .. 255 ] characters Custom field 9. |
| field_10 required | string [ 0 .. 255 ] characters Custom field 10. |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "field_1": "1394425330",
- "field_2": "EXT_14599",
- "field_3": "string",
- "field_4": "string",
- "field_5": "string",
- "field_6": "string",
- "field_7": "string",
- "field_8": "string",
- "field_9": "string",
- "field_10": "string"
}Update the custom field values of an existing customer using the provided identifier.
| customer-id required | string <uuid> The identifier of the customer. |
The updated custom field values.
| field_1 required | string [ 0 .. 255 ] characters Custom field 1. |
| field_2 required | string [ 0 .. 255 ] characters Custom field 2. |
| field_3 required | string [ 0 .. 255 ] characters Custom field 3. |
| field_4 required | string [ 0 .. 255 ] characters Custom field 4. |
| field_5 required | string [ 0 .. 255 ] characters Custom field 5. |
| field_6 required | string [ 0 .. 255 ] characters Custom field 6. |
| field_7 required | string [ 0 .. 255 ] characters Custom field 7. |
| field_8 required | string [ 0 .. 255 ] characters Custom field 8. |
| field_9 required | string [ 0 .. 255 ] characters Custom field 9. |
| field_10 required | string [ 0 .. 255 ] characters Custom field 10. |
| customer_id | string or null <uuid> Reference to a customer. |
| field_1 required | string [ 0 .. 255 ] characters Custom field 1. |
| field_2 required | string [ 0 .. 255 ] characters Custom field 2. |
| field_3 required | string [ 0 .. 255 ] characters Custom field 3. |
| field_4 required | string [ 0 .. 255 ] characters Custom field 4. |
| field_5 required | string [ 0 .. 255 ] characters Custom field 5. |
| field_6 required | string [ 0 .. 255 ] characters Custom field 6. |
| field_7 required | string [ 0 .. 255 ] characters Custom field 7. |
| field_8 required | string [ 0 .. 255 ] characters Custom field 8. |
| field_9 required | string [ 0 .. 255 ] characters Custom field 9. |
| field_10 required | string [ 0 .. 255 ] characters Custom field 10. |
{- "field_1": "1394425330",
- "field_2": "EXT_14599",
- "field_3": "string",
- "field_4": "string",
- "field_5": "string",
- "field_6": "string",
- "field_7": "string",
- "field_8": "string",
- "field_9": "string",
- "field_10": "string"
}{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "field_1": "1394425330",
- "field_2": "EXT_14599",
- "field_3": "string",
- "field_4": "string",
- "field_5": "string",
- "field_6": "string",
- "field_7": "string",
- "field_8": "string",
- "field_9": "string",
- "field_10": "string"
}| id | string <uuid> Connector identifier. | ||||||
| customer_id | string or null <uuid> Reference to customer to which the connector is assigned. | ||||||
| hardware_version | string A connector's hardware version. | ||||||
| name | string Human-readable connector identifier. | ||||||
| online | boolean Indicates whether the connector is online. | ||||||
| pin | string or null = 5 characters ^\d{5}$ A connector's pin code. | ||||||
| software_version | string A connector's software version. | ||||||
| type | string
The type of connector. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "hardware_version": "11",
- "name": "1005123",
- "online": true,
- "pin": "01234",
- "software_version": "8756",
- "type": "virtual"
}Retrieve a list of connectors.
| assigned | boolean If true, only returns connectors that are assigned to a customer. If false, only those that are not assigned are returned. | ||||||
| customer_id | string <uuid> Filter connectors by a customer identifier. | ||||||
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| name | string Filter connectors by name (its human-readable identifier). | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| type | Array of strings non-empty unique
Example: type=virtual Filter connectors by one or more type. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects (Connector) >= 0 items List of connectors. | |||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "hardware_version": "11",
- "name": "1005123",
- "online": true,
- "pin": "01234",
- "software_version": "8756",
- "type": "virtual"
}
], - "total": 4
}Retrieve a single connector by its identifier.
| connector-id required | string <uuid> The identifier of the connector. |
| id | string <uuid> Connector identifier. | ||||||
| customer_id | string or null <uuid> Reference to customer to which the connector is assigned. | ||||||
| hardware_version | string A connector's hardware version. | ||||||
| name | string Human-readable connector identifier. | ||||||
| online | boolean Indicates whether the connector is online. | ||||||
| pin | string or null = 5 characters ^\d{5}$ A connector's pin code. | ||||||
| software_version | string A connector's software version. | ||||||
| type | string
The type of connector. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "hardware_version": "11",
- "name": "1005123",
- "online": true,
- "pin": "01234",
- "software_version": "8756",
- "type": "virtual"
}Update connector settings.
| connector-id required | string <uuid> The identifier of the connector. |
The connector settings you want to update.
| customer_id | string or null <uuid> Reference to customer to which the connector is assigned. |
| id | string <uuid> Connector identifier. | ||||||
| customer_id | string or null <uuid> Reference to customer to which the connector is assigned. | ||||||
| hardware_version | string A connector's hardware version. | ||||||
| name | string Human-readable connector identifier. | ||||||
| online | boolean Indicates whether the connector is online. | ||||||
| pin | string or null = 5 characters ^\d{5}$ A connector's pin code. | ||||||
| software_version | string A connector's software version. | ||||||
| type | string
The type of connector. |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "hardware_version": "11",
- "name": "1005123",
- "online": true,
- "pin": "01234",
- "software_version": "8756",
- "type": "virtual"
}| id | string <uuid> Contact point identifier. |
| customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
| email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
| label | string [ 0 .. 255 ] characters Contactpoint label. |
| location_id | string or null <uuid> Identifier for the location of the contact point. |
| phone_number | string [ 0 .. 32 ] characters Phone number. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}Retrieve a list of customer contact points.
| customer_id | string <uuid> Filter contact points by customer_id. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| location_id | string <uuid> Filter contact points by location identifier. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||
| |||||||||||||
Array of objects (Contact point) >= 0 items List of contact points. | |||||||||||||
Array (>= 0 items)
| |||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
], - "total": 4
}Add a new contact point.
The contact point you wish to add.
| customer_id required | string <uuid> Identifier of the customer the contact point belongs to. |
| email_address required | string or null <email> [ 0 .. 255 ] characters Email address. |
| label required | string [ 0 .. 255 ] characters Contactpoint label. |
| location_id | string or null <uuid> Identifier for the location of the contact point. |
| phone_number required | string [ 0 .. 32 ] characters Phone number. |
| id | string <uuid> Contact point identifier. |
| customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
| email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
| label | string [ 0 .. 255 ] characters Contactpoint label. |
| location_id | string or null <uuid> Identifier for the location of the contact point. |
| phone_number | string [ 0 .. 32 ] characters Phone number. |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}Retrieves a contact point by its identifier.
| contact-point-id required | string <uuid> The identifier of the contact point. |
| id | string <uuid> Contact point identifier. |
| customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
| email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
| label | string [ 0 .. 255 ] characters Contactpoint label. |
| location_id | string or null <uuid> Identifier for the location of the contact point. |
| phone_number | string [ 0 .. 32 ] characters Phone number. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}Update a contact point by its identifier.
| contact-point-id required | string <uuid> The identifier of the contact point. |
The updated contact point.
| email_address required | string or null <email> [ 0 .. 255 ] characters Email address. |
| label required | string [ 0 .. 255 ] characters Contactpoint label. |
| location_id | string or null <uuid> Identifier for the location of the contact point. |
| phone_number required | string [ 0 .. 32 ] characters Phone number. |
| id | string <uuid> Contact point identifier. |
| customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
| email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
| label | string [ 0 .. 255 ] characters Contactpoint label. |
| location_id | string or null <uuid> Identifier for the location of the contact point. |
| phone_number | string [ 0 .. 32 ] characters Phone number. |
{- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}Remove a contact point by its identifier.
| contact-point-id required | string <uuid> The identifier of the contact point. |
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}| id | integer <int32> [ 1 .. 10 ] Custom field identifier. |
| label required | string [ 0 .. 50 ] characters Custom field label. Determines the display name in the Partner Portal for a customer's custom field. |
{- "id": 1,
- "label": "ERP administration code"
}Retrieve a list of custom fields.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Custom field) >= 0 items List of custom fields. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 1,
- "label": "ERP administration code"
}
], - "total": 4
}Retrieve a single custom field by its identifier.
| custom-field-id required | integer <int32> The identifier of the custom field. |
| id | integer <int32> [ 1 .. 10 ] Custom field identifier. |
| label required | string [ 0 .. 50 ] characters Custom field label. Determines the display name in the Partner Portal for a customer's custom field. |
{- "id": 1,
- "label": "ERP administration code"
}Update the settings for a custom field.
| custom-field-id required | integer <int32> The identifier of the custom field. |
The custom field settings you want to update.
| label required | string [ 0 .. 50 ] characters Custom field label. Determines the display name in the Partner Portal for a customer's custom field. |
| id | integer <int32> [ 1 .. 10 ] Custom field identifier. |
| label required | string [ 0 .. 50 ] characters Custom field label. Determines the display name in the Partner Portal for a customer's custom field. |
{- "label": "ERP administration code"
}{- "id": 1,
- "label": "ERP administration code"
}| id | string <uuid> Employee identifier. |
| contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
| correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
| customer_id | string <uuid> Reference to the customer to which the employee belongs. |
| enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
| family_name | string <= 255 characters Family name of the employee. |
| given_name | string <= 255 characters Given name of the employee. |
| username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}Retrieve a list of all employees.
| customer_id | string <uuid> Filter employees by customer identifier. |
| enabled | boolean Default: true Filter employees by their enablement status. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||
| |||||||||||||||||
Array of objects (Employee) >= 0 items List of all employees for all customers. | |||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||
{- "query": {
- "limit": 25,
- "enabled": true
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}
], - "total": 4
}Add a new employee.
The employee you wish to add.
| contact_point_id required | string or null <uuid> The contact point to use to contact this employee. |
| correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
| customer_id required | string <uuid> Reference to the customer to which the employee belongs. |
| family_name required | string <= 255 characters Family name of the employee. |
| given_name required | string <= 255 characters Given name of the employee. |
| username required | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
| id | string <uuid> Employee identifier. |
| contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
| correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
| customer_id | string <uuid> Reference to the customer to which the employee belongs. |
| enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
| family_name | string <= 255 characters Family name of the employee. |
| given_name | string <= 255 characters Given name of the employee. |
| username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
{- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}Retrieves an employee by its identifier.
| employee-id required | string <uuid> The identifier of the employee. |
| id | string <uuid> Employee identifier. |
| contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
| correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
| customer_id | string <uuid> Reference to the customer to which the employee belongs. |
| enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
| family_name | string <= 255 characters Family name of the employee. |
| given_name | string <= 255 characters Given name of the employee. |
| username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}Update an employee by its identifier.
| employee-id required | string <uuid> The identifier of the employee. |
The updated employee.
| contact_point_id required | string or null <uuid> The contact point to use to contact this employee. |
| correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
| enabled required | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
| family_name required | string <= 255 characters Family name of the employee. |
| given_name required | string <= 255 characters Given name of the employee. |
| username required | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
| id | string <uuid> Employee identifier. |
| contact_point_id | string or null <uuid> The contact point to use to contact this employee. |
| correspondence_locale | string <bcp47> Locale used when sending correspondence (e.g. email) to this employee. Defaults to the locale of the customer. Only supported system locales are allowed. |
| customer_id | string <uuid> Reference to the customer to which the employee belongs. |
| enabled | boolean Default: true Whether the employee is enabled. An employee that is not enabled is prohibited from accessing the Customer Portal. |
| family_name | string <= 255 characters Family name of the employee. |
| given_name | string <= 255 characters Given name of the employee. |
| username | string or null <email> [ 1 .. 255 ] characters The username used to authenticate in the Customer Portal. Once set it cannot be unset, only updated. |
{- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contact_point_id": "358e50cb-606c-4ce9-bd6a-a72b32481ecc",
- "correspondence_locale": "en-GB",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "enabled": true,
- "family_name": "de Jong",
- "given_name": "Kees",
- "username": "user@example.com"
}Remove an employee by its identifier. You can only remove employees without a username.
| employee-id required | string <uuid> The identifier of the employee. |
{- "status": 403,
- "type": "about:blank",
- "title": "Forbidden",
- "detail": "You are not authorized to access this resource."
}Warning! For security reasons, the OTP is only valid for a few seconds. Make sure that your application takes this into account.
Retrieves a one-time-password for the specified employee.
This can be used to log in to the customer portal by combining the retrieved link and OTP, in the following fashion: ${customer_portal_url}/?otp=${otp}.
This is an example of a correctly constructed link: https://my-remote-diagnostics.obd.help/?otp=9229bd2b-4c88-4e90-b88d-9253c0c7a206.
You can retrieve the customer_portal_url by calling the GET /v2/providers/branding-profiles endpoint.
| employee-id required | string <uuid> The identifier of the employee. |
| otp | string <uuid> The one-time-password for the employee. |
{- "otp": "05448389-4014-49af-896e-15b60a07ae8b"
}| id | string <uuid> Location identifier. |
| city | string [ 0 .. 255 ] characters Name of location's city. |
| country | string or null <iso-3166-alpha-2> A location's country expressed in two-letter code. |
| customer_id | string <uuid> Identifier of the customer the address belongs to. |
| label | string [ 0 .. 255 ] characters Location label. |
| number | string [ 0 .. 255 ] characters Address number. |
| postal_code | string [ 0 .. 255 ] characters Location's postal code. |
| street_name | string [ 0 .. 255 ] characters Name of street. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "city": "Arnhem",
- "country": "NL",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}Retrieve a list of registered customer locations.
| customer_id | string <uuid> Filter locations by customer_id. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||
| |||||||||||||||||
Array of objects (Location) >= 0 items List of locations. | |||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "city": "Arnhem",
- "country": "NL",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}
], - "total": 4
}Add a new customer location.
The location you wish to add.
| city required | string [ 0 .. 255 ] characters Name of location's city. |
| country required | string or null <iso-3166-alpha-2> A location's country expressed in two-letter code. |
| customer_id required | string <uuid> Identifier of the customer the address belongs to. |
| label required | string [ 0 .. 255 ] characters Location label. |
| number | string [ 0 .. 255 ] characters Address number. |
| postal_code required | string [ 0 .. 255 ] characters Location's postal code. |
| street_name required | string [ 0 .. 255 ] characters Name of street. |
| id | string <uuid> Location identifier. |
| city | string [ 0 .. 255 ] characters Name of location's city. |
| country | string or null <iso-3166-alpha-2> A location's country expressed in two-letter code. |
| customer_id | string <uuid> Identifier of the customer the address belongs to. |
| label | string [ 0 .. 255 ] characters Location label. |
| number | string [ 0 .. 255 ] characters Address number. |
| postal_code | string [ 0 .. 255 ] characters Location's postal code. |
| street_name | string [ 0 .. 255 ] characters Name of street. |
{- "city": "Arnhem",
- "country": "NL",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "city": "Arnhem",
- "country": "NL",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}Retrieves a location by its identifier.
| location-id required | string <uuid> The identifier of the location. |
| id | string <uuid> Location identifier. |
| city | string [ 0 .. 255 ] characters Name of location's city. |
| country | string or null <iso-3166-alpha-2> A location's country expressed in two-letter code. |
| customer_id | string <uuid> Identifier of the customer the address belongs to. |
| label | string [ 0 .. 255 ] characters Location label. |
| number | string [ 0 .. 255 ] characters Address number. |
| postal_code | string [ 0 .. 255 ] characters Location's postal code. |
| street_name | string [ 0 .. 255 ] characters Name of street. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "city": "Arnhem",
- "country": "NL",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}Update a location by its identifier.
| location-id required | string <uuid> The identifier of the location. |
The updated location.
| city required | string [ 0 .. 255 ] characters Name of location's city. |
| country required | string or null <iso-3166-alpha-2> A location's country expressed in two-letter code. |
| label required | string [ 0 .. 255 ] characters Location label. |
| number | string [ 0 .. 255 ] characters Address number. |
| postal_code required | string [ 0 .. 255 ] characters Location's postal code. |
| street_name required | string [ 0 .. 255 ] characters Name of street. |
| id | string <uuid> Location identifier. |
| city | string [ 0 .. 255 ] characters Name of location's city. |
| country | string or null <iso-3166-alpha-2> A location's country expressed in two-letter code. |
| customer_id | string <uuid> Identifier of the customer the address belongs to. |
| label | string [ 0 .. 255 ] characters Location label. |
| number | string [ 0 .. 255 ] characters Address number. |
| postal_code | string [ 0 .. 255 ] characters Location's postal code. |
| street_name | string [ 0 .. 255 ] characters Name of street. |
{- "city": "Arnhem",
- "country": "NL",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "city": "Arnhem",
- "country": "NL",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "label": "Location Willemsplein",
- "number": "3a",
- "postal_code": "6811KA",
- "street_name": "Willemsplein"
}Remove a location by its identifier.
| location-id required | string <uuid> The identifier of the location. |
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}The product catalog contains applications which are described here. Only enabled applications are available on a ticket.
| product_id | string <uuid> The identifier of the product. | ||||
| vehicle_model_id | integer The identifier of the vehicle model. | ||||
| enabled required | boolean Whether the application is enabled. | ||||
required | object (Money) The gross price of the application. | ||||
| |||||
| insourceable required | boolean Whether the application is insourceable. | ||||
| operator_only required | boolean Whether the application is only available for an operator. | ||||
required | object (Money) The original equipment service fee of the application. | ||||
| |||||
| outsource_provider_id | string or null <uuid> Outsource provider identifier, if set and available. | ||||
| updated_at | string or null <date-time> Date-time on which the application was last updated, if at all. | ||||
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "enabled": true,
- "gross_price": {
- "amount": 0,
- "currency": null
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": null
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns a list of your product catalog applications. The applications are returned sorted by their product identifier, in descending order.
| enabled | boolean Filter applications by enabled status. |
| insourceable | boolean Filter applications by insourceable status. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| operator_only | boolean Filter applications by operator_only status. |
| outsource_provider_id | string <uuid> Filter applications by outsource provider identifier. |
| outsourceable_to | string <uuid> Filter applications one those that could be outsourced to the provider with this identifier. |
| product_id | string <uuid> Filter applications by product_id. |
| updated_after | string <date-time> Return only applications that were updated after this date-time. |
| vehicle_model_id | integer Filter applications by vehicle_model_id. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||
| |||||||||||||||||||
Array of objects (Application) >= 0 items List of product applications. | |||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "enabled": true,
- "gross_price": {
- "amount": 0,
- "currency": null
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": null
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total": 4
}Add a product catalog application.
The product catalog application you wish to add.
| product_id required | string <uuid> The identifier of the product. | ||
| vehicle_model_id required | integer The identifier of the vehicle model. | ||
| enabled required | boolean Whether the application is enabled. | ||
required | object (Money) The gross price of the application. | ||
| |||
| insourceable required | boolean Whether the application is insourceable. | ||
| operator_only required | boolean Whether the application is only available for an operator. | ||
required | object (Money) The original equipment service fee of the application. | ||
| |||
| outsource_provider_id | string or null <uuid> Outsource provider identifier, if set and available. | ||
| product_id | string <uuid> The identifier of the product. | ||||
| vehicle_model_id | integer The identifier of the vehicle model. | ||||
| enabled required | boolean Whether the application is enabled. | ||||
required | object (Money) The gross price of the application. | ||||
| |||||
| insourceable required | boolean Whether the application is insourceable. | ||||
| operator_only required | boolean Whether the application is only available for an operator. | ||||
required | object (Money) The original equipment service fee of the application. | ||||
| |||||
| outsource_provider_id | string or null <uuid> Outsource provider identifier, if set and available. | ||||
| updated_at | string or null <date-time> Date-time on which the application was last updated, if at all. | ||||
{- "enabled": true,
- "gross_price": {
- "amount": 0
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93"
}{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "enabled": true,
- "gross_price": {
- "amount": 0,
- "currency": null
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": null
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a single product catalog application by its identifier.
| product-id required | string <uuid> The identifier of the product for which to retrieve the application. |
| vehicle-model-id required | integer <int64> The identifier of the vehicle model for which to retrieve the application. |
| product_id | string <uuid> The identifier of the product. | ||||
| vehicle_model_id | integer The identifier of the vehicle model. | ||||
| enabled required | boolean Whether the application is enabled. | ||||
required | object (Money) The gross price of the application. | ||||
| |||||
| insourceable required | boolean Whether the application is insourceable. | ||||
| operator_only required | boolean Whether the application is only available for an operator. | ||||
required | object (Money) The original equipment service fee of the application. | ||||
| |||||
| outsource_provider_id | string or null <uuid> Outsource provider identifier, if set and available. | ||||
| updated_at | string or null <date-time> Date-time on which the application was last updated, if at all. | ||||
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "enabled": true,
- "gross_price": {
- "amount": 0,
- "currency": null
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": null
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "updated_at": "2019-08-24T14:15:22Z"
}Update a single product catalog application by its identifier.
| product-id required | string <uuid> The identifier of the product for which to retrieve the application. |
| vehicle-model-id required | integer <int64> The identifier of the vehicle model for which to retrieve the application. |
The product catalog application you want to update.
| enabled required | boolean Whether the application is enabled. | ||
required | object (Money) The gross price of the application. | ||
| |||
| insourceable required | boolean Whether the application is insourceable. | ||
| operator_only required | boolean Whether the application is only available for an operator. | ||
required | object (Money) The original equipment service fee of the application. | ||
| |||
| outsource_provider_id | string or null <uuid> Outsource provider identifier, if set and available. | ||
| product_id | string <uuid> The identifier of the product. | ||||
| vehicle_model_id | integer The identifier of the vehicle model. | ||||
| enabled required | boolean Whether the application is enabled. | ||||
required | object (Money) The gross price of the application. | ||||
| |||||
| insourceable required | boolean Whether the application is insourceable. | ||||
| operator_only required | boolean Whether the application is only available for an operator. | ||||
required | object (Money) The original equipment service fee of the application. | ||||
| |||||
| outsource_provider_id | string or null <uuid> Outsource provider identifier, if set and available. | ||||
| updated_at | string or null <date-time> Date-time on which the application was last updated, if at all. | ||||
{- "enabled": true,
- "gross_price": {
- "amount": 0
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93"
}{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "enabled": true,
- "gross_price": {
- "amount": 0,
- "currency": null
}, - "insourceable": true,
- "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": null
}, - "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "updated_at": "2019-08-24T14:15:22Z"
}Services can be outsourced to other providers. An operator at a partnered provider will execute the service on the vehicle for you when a service is outsourced. Different outsource applications represent the potential options available at partnered providers and include pricing details.
| provider_id | string <uuid> The identifier of the provider of this outsource application. | ||||
| product_id | string <uuid> The identifier of the product of this outsource application. | ||||
| vehicle_model_id | integer The identifier of the vehicle model of this outsource application. | ||||
object (Money) The discount that applies to this product for this vehicle model when outsourcing to this provider. | |||||
| |||||
object (Money) The gross price to pay to the provider when outsourcing this product for this vehicle model to this provider. | |||||
| |||||
object (Money) The original equipment service fee to pay to the provider when outsourcing this product for this vehicle model to this provider. | |||||
| |||||
| updated_at | string or null <date-time> Date and time of last update. | ||||
{- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "discount": {
- "amount": 0,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 0,
- "currency": "EUR"
}, - "original_equipment_service_fee": {
- "amount": 0,
- "currency": "EUR"
}, - "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a list of available outsource applications. Provide additional filters to retrieve the possible outsource applications to one or more providers, a product or a vehicle model. Combinations of these filters are also possible.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| product_id | string <uuid> Filter outsource applications by product_id. |
| provider_id | Array of strings <uuid> non-empty unique [ items <uuid > ] Example: provider_id=0d012afa-f885-4e65-aeca-37e27701e2d1,fe3d49af-4061-436b-ae60-f7044f252a44 Filter outsource applications by one or more provider's identifiers. The filter will be applied as a logical "OR". |
| updated_after | string <date-time> Return only outsource applications that were updated after this date-time. |
| vehicle_model_id | integer Filter outsource applications by vehicle_model_id. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||
| |||||||||||||||
Array of objects (Outsource application) >= 0 items List of outsource applications. | |||||||||||||||
Array (>= 0 items)
| |||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "discount": {
- "amount": 0,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 0,
- "currency": "EUR"
}, - "original_equipment_service_fee": {
- "amount": 0,
- "currency": "EUR"
}, - "updated_at": "2019-08-24T14:15:22Z"
}
], - "total": 4
}Retrieve a single outsource application by its identifier.
| provider-id required | string The identifier of the provider for which you want to retrieve the outsource application. |
| product-id required | string <uuid> The identifier of the product for which to retrieve the outsource application. |
| vehicle-model-id required | integer <int64> The identifier of the vehicle model for which to retrieve the outsource application. |
| provider_id | string <uuid> The identifier of the provider of this outsource application. | ||||
| product_id | string <uuid> The identifier of the product of this outsource application. | ||||
| vehicle_model_id | integer The identifier of the vehicle model of this outsource application. | ||||
object (Money) The discount that applies to this product for this vehicle model when outsourcing to this provider. | |||||
| |||||
object (Money) The gross price to pay to the provider when outsourcing this product for this vehicle model to this provider. | |||||
| |||||
object (Money) The original equipment service fee to pay to the provider when outsourcing this product for this vehicle model to this provider. | |||||
| |||||
| updated_at | string or null <date-time> Date and time of last update. | ||||
{- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "discount": {
- "amount": 0,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 0,
- "currency": "EUR"
}, - "original_equipment_service_fee": {
- "amount": 0,
- "currency": "EUR"
}, - "updated_at": "2019-08-24T14:15:22Z"
}Services represent applicable products to specific vehicle models and contain pricing details for specified customer scenarios.
| product_id | string <uuid> The identifier of the product of this service. | ||||
| vehicle_model_id | integer The identifier of the vehicle model of this service. | ||||
object (Money) The discount a customer receives for this application, based on the default price list code of its branding profile or provided price list code. | |||||
| |||||
object (Money) The gross price that a customer needs to pay for this application, based on the provided or default branding profile. | |||||
| |||||
| operator_only | boolean Whether the application is only available for an operator. | ||||
object (Money) The original equipment service fee a customer has to pay for this application. | |||||
| |||||
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "discount": {
- "amount": 0,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 0,
- "currency": "EUR"
}, - "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": "EUR"
}
}Retrieve a list of available services. Provide additional filters to retrieve them for a specific product or a vehicle model. Provide a price list code and/or branding profile to retrieve pricing details for specific customer scenarios.
| branding_profile_id | string <uuid> The branding profile to use for the price calculation. Defaults to the branding profile of the authenticated API client or the default branding profile of the provider. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| operator_only | boolean Filter services by operator_only status. |
| price_list_code_id | string <uuid> The price list code to use for the price calculation. Defaults to the price list code of the used branding profile. |
| product_id | string <uuid> Filter services by product_id. |
| vehicle_model_id | integer Filter services by vehicle_model_id. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||
| |||||||||||||
Array of objects (Service) >= 0 items List of services. | |||||||||||||
Array (>= 0 items)
| |||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "vehicle_model_id": 0,
- "discount": {
- "amount": 0,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 0,
- "currency": "EUR"
}, - "operator_only": true,
- "original_equipment_service_fee": {
- "amount": 0,
- "currency": "EUR"
}
}
], - "total": 4
}Price list codes describes the discount matrix use to calculate nett product prices for your customers.
| id | string <uuid> Price list code identifier. |
| code | string [ 3 .. 5 ] characters ^[A-Z0-9]{3,5}$ Human-readable provider-unique code. |
| description | string [ 0 .. 255 ] characters Contextual information for price list code. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "VOG30",
- "description": "30% discount for all product-groups"
}Retrieve a list of price list codes.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Price list code) >= 0 items List of price list codes. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "VOG30",
- "description": "30% discount for all product-groups"
}
], - "total": 4
}Retrieve a single price list code by its identifier.
| price-list-code-id required | string <uuid> Price list code identifier. |
| id | string <uuid> Price list code identifier. |
| code | string [ 3 .. 5 ] characters ^[A-Z0-9]{3,5}$ Human-readable provider-unique code. |
| description | string [ 0 .. 255 ] characters Contextual information for price list code. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "VOG30",
- "description": "30% discount for all product-groups"
}| id | string <uuid> Product identifier. | ||||||||
| enabled | boolean Whether the product is enabled. A disabled product can not be added to a ticket. | ||||||||
| name | string [ 1 .. 255 ] characters Name of product in the requested language. | ||||||||
| product_number | string Product number. | ||||||||
| type | string
The type of product. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "name": "Remote Diagnostic Support",
- "product_number": "0000001",
- "type": "base"
}Retrieve a list of products.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||||
| product_number | string Example: product_number=0000001 Filter products by product number. | ||||||||
| type | Array of strings (type) non-empty unique Default: "base,custom,voucher"
Filter products by one or more types. |
| Accept-Language | string Default: en Examples:
Use this header to indicate the natural language and locale in which you want to receive translatable property values. Multiple preferences can be provided using a weighted qualifier. Properties that support translations will specify so in their description. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||
| |||||||||||||||||||
Array of objects (Product) >= 0 items List of products. | |||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||
{- "query": {
- "limit": 25,
- "type": [
- "base",
- "custom",
- "voucher"
]
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "name": "Remote Diagnostic Support",
- "product_number": "0000001",
- "type": "base"
}
], - "total": 4
}Retrieve a single product by its identifier.
| product-id required | string <uuid> The identifier of the product you want to operate on. |
| Accept-Language | string Default: en Examples:
Use this header to indicate the natural language and locale in which you want to receive translatable property values. Multiple preferences can be provided using a weighted qualifier. Properties that support translations will specify so in their description. |
| id | string <uuid> Product identifier. | ||||||||
| enabled | boolean Whether the product is enabled. A disabled product can not be added to a ticket. | ||||||||
| name | string [ 1 .. 255 ] characters Name of product in the requested language. | ||||||||
| product_number | string Product number. | ||||||||
| type | string
The type of product. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "name": "Remote Diagnostic Support",
- "product_number": "0000001",
- "type": "base"
}| product_id | string <uuid> Product identifier. |
| name | string [ 1 .. 255 ] characters Alternative, vehicle specific, name of product in the requested language. |
| vehicle_make_id | integer <int64> Vehicle make identifier. |
| vehicle_model_group_id | integer <int64> Vehicle model group identifier. |
| vehicle_model_id | integer <int64> Vehicle model identifier. |
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "Remote Diagnostic Support",
- "vehicle_make_id": 0,
- "vehicle_model_group_id": 0,
- "vehicle_model_id": 0
}Retrieve a list of alternative, vehicle specific, names for product.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| product_id | string <uuid> Filter product alternative names by product identifier. |
| vehicle_make_id | integer <int64> Filter product alternative names by vehicle make identifier. |
| vehicle_model_group_id | integer <int64> Filter product alternative names by vehicle model group identifier. |
| vehicle_model_id | integer <int64> Filter product alternative names by vehicle model identifier. |
| Accept-Language | string Default: en Examples:
Use this header to indicate the natural language and locale in which you want to receive translatable property values. Multiple preferences can be provided using a weighted qualifier. Properties that support translations will specify so in their description. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||
| |||||||||||
Array of objects (Product Alternative Name) >= 0 items List of product alternative names. | |||||||||||
Array (>= 0 items)
| |||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "Remote Diagnostic Support",
- "vehicle_make_id": 0,
- "vehicle_model_group_id": 0,
- "vehicle_model_id": 0
}
], - "total": 4
}Product prerequisites are essential checks or conditions that must be fulfilled before a ticket associated with a specific product can be created. These prerequisites may vary depending on the vehicle.
| id | integer Identifier of the product prerequisite. | ||||||||
| description | string The description of the product prerequisite. | ||||||||
| name | string The name of the product prerequisite. | ||||||||
| question | string The question of prerequisite check. | ||||||||
| required | boolean True if the answer on the prerequisite is required. | ||||||||
| type | string
Type of the prerequisite. |
{- "id": 0,
- "description": "Check for battery",
- "name": "Battery charger",
- "question": "Did you secure the vehicle's power supply?",
- "required": true,
- "type": "boolean"
}Retrieve a list of prerequisites for one or more products. Prerequisites may vary depending on the vehicle.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| product_id required | Array of strings <uuid> non-empty [ items <uuid > ] Example: product_id=1af5a685-9f58-4784-b4d9-1b217ae29751,d46b1119-4bc7-488b-9014-e32efecf8281,5f44cdb2-bc21-46cc-a1e5-c5b5c7266ee4 List of product identifiers to retrieve prerequisites for. |
| vehicle_model_id required | integer <int64> Filter product prerequisites names by vehicle model identifier. |
| Accept-Language | string Default: en Examples:
Use this header to indicate the natural language and locale in which you want to receive translatable property values. Multiple preferences can be provided using a weighted qualifier. Properties that support translations will specify so in their description. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||
| |||||||||||||||||||||
Array of objects (Product Prerequisite) >= 0 items List of product prerequisites. | |||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 0,
- "description": "Check for battery",
- "name": "Battery charger",
- "question": "Did you secure the vehicle's power supply?",
- "required": true,
- "type": "boolean"
}
], - "total": 4
}Providers describe organisations that perform services on vehicles. You are one of these, but there are others available that could support you in your business.
| id | string <uuid> Provider identifier. |
| name | string [ 1 .. 255 ] characters Name of the provider. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Remote Diagnostics Provider"
}Retrieve a list of providers.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Provider) >= 0 items List of providers. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Remote Diagnostics Provider"
}
], - "total": 4
}Retrieve a provider by its identifier.
| provider-id required | string <uuid> Provider identifier. |
| id | string <uuid> Provider identifier. |
| name | string [ 1 .. 255 ] characters Name of the provider. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Remote Diagnostics Provider"
}Obtain the currently authenticated provider.
| id | string <uuid> Provider identifier. |
| name | string [ 1 .. 255 ] characters Name of the provider. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Remote Diagnostics Provider"
}Diagnostic equipment represents a device that is used to diagnose or repair a vehicle.
| id | integer <int64> Diagnostic Equipment identifier. |
| available | boolean Whether the provider has this diagnostic equipment available for use. |
| local_connector_numbers | Array of numbers <int32> >= 0 items [ items <int32 > ] List of local connnector numbers to which the diagnostic equipment is connected. |
| name | string [ 1 .. 255 ] characters Name of the diagnistic equipment tool. |
| version | string or null [ 1 .. 255 ] characters Version of the diagnostic equipment. |
{- "id": 121,
- "available": true,
- "local_connector_numbers": [
- 23304,
- 90010100,
- 25002
], - "name": "iCarsoft CR Pro",
- "version": "2.0"
}Retrieve a list of all diagnostic equipment.
| available | boolean Filter diagnostic equipment by availability. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||
| |||||||||||
Array of objects (Diagnostic equipment) >= 0 items List of diagnostic equipment. | |||||||||||
Array (>= 0 items)
| |||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 121,
- "available": true,
- "local_connector_numbers": [
- 23304,
- 90010100,
- 25002
], - "name": "iCarsoft CR Pro",
- "version": "2.0"
}
], - "total": 4
}Retrieve a single diagnostic equipment by its identifier.
| diagnostic-equipment-id required | integer <int64> Diagnostic equipment identifier. |
| id | integer <int64> Diagnostic Equipment identifier. |
| available | boolean Whether the provider has this diagnostic equipment available for use. |
| local_connector_numbers | Array of numbers <int32> >= 0 items [ items <int32 > ] List of local connnector numbers to which the diagnostic equipment is connected. |
| name | string [ 1 .. 255 ] characters Name of the diagnistic equipment tool. |
| version | string or null [ 1 .. 255 ] characters Version of the diagnostic equipment. |
{- "id": 121,
- "available": true,
- "local_connector_numbers": [
- 23304,
- 90010100,
- 25002
], - "name": "iCarsoft CR Pro",
- "version": "2.0"
}Update a single diagnostic equipment by its identifier.
| diagnostic-equipment-id required | integer <int64> Diagnostic equipment identifier. |
| available | boolean Whether the provider has this diagnostic equipment available for use. |
| local_connector_numbers | Array of numbers <int32> >= 0 items [ items <int32 > ] List of local connnector numbers to which the diagnostic equipment is connected. |
| id | integer <int64> Diagnostic Equipment identifier. |
| available | boolean Whether the provider has this diagnostic equipment available for use. |
| local_connector_numbers | Array of numbers <int32> >= 0 items [ items <int32 > ] List of local connnector numbers to which the diagnostic equipment is connected. |
| name | string [ 1 .. 255 ] characters Name of the diagnistic equipment tool. |
| version | string or null [ 1 .. 255 ] characters Version of the diagnostic equipment. |
{- "available": true,
- "local_connector_numbers": [
- 23304,
- 90010100,
- 25002
]
}{- "id": 121,
- "available": true,
- "local_connector_numbers": [
- 23304,
- 90010100,
- 25002
], - "name": "iCarsoft CR Pro",
- "version": "2.0"
}| id | string <uuid> Local connector identifier. |
| label | string [ 1 .. 255 ] characters Description of the local connector. |
| number | number <int32> Human-readable connector identifier. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Marcel's local",
- "number": 124
}Retrieve a list of local connectors.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Local Connector) >= 0 items List of local connectors. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Marcel's local",
- "number": 124
}
], - "total": 4
}Retrieve a local connector by its identifier.
| local-connector-id required | string <uuid> Local connector identifier. |
| id | string <uuid> Local connector identifier. |
| label | string [ 1 .. 255 ] characters Description of the local connector. |
| number | number <int32> Human-readable connector identifier. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Marcel's local",
- "number": 124
}| id | string <uuid> Employee identifier. | ||||||||||
| enabled | boolean Whether the employee is enabled. | ||||||||||
| family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
| given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
| is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
| role | string
The role this employee has within your Partner portal. | ||||||||||
| username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}Retrieve a list of employees.
| enabled | boolean Filter employees by enabled status. |
| is_operator | boolean Filter employees by is_operator status. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| username | string Filter employees by username. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects (Employee) >= 0 items List of employees. | |||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}
], - "total": 4
}Add a new employee.
The employee you wish to add.
| family_name required | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
| given_name required | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
| role required | string
The role this employee has within your Partner portal. | ||||||||||
| username required | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
| id | string <uuid> Employee identifier. | ||||||||||
| enabled | boolean Whether the employee is enabled. | ||||||||||
| family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
| given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
| is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
| role | string
The role this employee has within your Partner portal. | ||||||||||
| username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
{- "family_name": "Doe",
- "given_name": "John",
- "role": "admin",
- "username": "john.doe@my-partner.com"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}Retrieve an employee by its identifier.
| employee-id required | string <uuid> Employee identifier. |
| id | string <uuid> Employee identifier. | ||||||||||
| enabled | boolean Whether the employee is enabled. | ||||||||||
| family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
| given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
| is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
| role | string
The role this employee has within your Partner portal. | ||||||||||
| username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}Update an employee by its identifier.
| employee-id required | string <uuid> Employee identifier. |
The updated employee.
| enabled required | boolean Whether the employee is enabled. | ||||||||||
| family_name required | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
| given_name required | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
| role required | string
The role this employee has within your Partner portal. | ||||||||||
| username required | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
| id | string <uuid> Employee identifier. | ||||||||||
| enabled | boolean Whether the employee is enabled. | ||||||||||
| family_name | string [ 1 .. 255 ] characters Family name of the employee. | ||||||||||
| given_name | string [ 1 .. 255 ] characters Given name of the employee. | ||||||||||
| is_operator | boolean Whether the employee can be assigned to a ticket as operator. | ||||||||||
| role | string
The role this employee has within your Partner portal. | ||||||||||
| username | string <email> <= 255 characters Username of the employee. This should be a valid e-mail address. |
{- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "role": "admin",
- "username": "john.doe@my-partner.com"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enabled": true,
- "family_name": "Doe",
- "given_name": "John",
- "is_operator": true,
- "role": "admin",
- "username": "john.doe@my-partner.com"
}| id | string <uuid> Branding Profile identifier. |
| currency | string <iso-4217> The default currency for customers created under this branding profile. |
| customer_portal_url | string [ 1 .. 255 ] characters URL of the customer portal. |
| name | string [ 1 .. 255 ] characters Name of the branding profile. |
| price_list_code_id | string or null <uuid> Price list code identifier. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "currency": "EUR",
- "name": "My Remote Diagnostics",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434"
}Retrieve a list of branding profiles.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||
| |||||||||||
Array of objects (Branding profile) >= 0 items List of branding profiles. | |||||||||||
Array (>= 0 items)
| |||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "currency": "EUR",
- "name": "My Remote Diagnostics",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434"
}
], - "total": 4
}Retrieve a branding profile by its identifier.
| branding-profile-id required | string <uuid> Branding profile identifier. |
| id | string <uuid> Branding Profile identifier. |
| currency | string <iso-4217> The default currency for customers created under this branding profile. |
| customer_portal_url | string [ 1 .. 255 ] characters URL of the customer portal. |
| name | string [ 1 .. 255 ] characters Name of the branding profile. |
| price_list_code_id | string or null <uuid> Price list code identifier. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "currency": "EUR",
- "name": "My Remote Diagnostics",
- "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434"
}| code | string <iso-3166-alpha-2> A two-letter country code. |
| name | string [ 1 .. 255 ] characters Name of country. |
{- "code": "NL",
- "name": "The Netherlands"
}Retrieve a list of countries supported within the system.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Country) >= 0 items List of countries. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "code": "NL",
- "name": "The Netherlands"
}
], - "total": 4
}Retrieve a single country by its code.
| country-code required | string <iso-3166-alpha-2> Example: NL The code of the country you want to manage. |
| code | string <iso-3166-alpha-2> A two-letter country code. |
| name | string [ 1 .. 255 ] characters Name of country. |
{- "code": "NL",
- "name": "The Netherlands"
}Currencies describe the available currencies within the system. Providers and customers provide their currency. All pricing details also describe the currency.
| code | string <iso-4217> A 3-letter currency code. |
| name | string [ 1 .. 255 ] characters Name of currency. |
{- "code": "EUR",
- "name": "Euro"
}Retrieve a list of supported currencies.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Currency) >= 0 items List of currencies. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "code": "EUR",
- "name": "Euro"
}
], - "total": 4
}Retrieve a single currency by its code.
| currency-code required | string <iso-4217> Example: EUR Code of the currency to manage. |
| code | string <iso-4217> A 3-letter currency code. |
| name | string [ 1 .. 255 ] characters Name of currency. |
{- "code": "EUR",
- "name": "Euro"
}Events are used to inform users about changes that have happened within a provider's platform. These events encompass a wide range of changes, such as the creation of a ticket, the addition or removal of products to a ticket, the closure of a ticket, the cancellation of a ticket, and more. Events can be accessed not only through the Partner API but also by subscribing to websocket channels for real-time monitoring. For more information, see the Partner Websocket API documentation for details.
| id | string <ulid> Event identifier. | ||||||
| type | string <= 255 characters Event type. | ||||||
| occurred_at | string <date-time> The date-time this event occurred. | ||||||
object Event payload. | |||||||
| |||||||
object | |||||||
| |||||||
Array of objects | |||||||
Array
| |||||||
{- "id": "01HWTCTT509VV8X9XYGPTR5N8Q",
- "type": "tickets.ticket.created",
- "occurred_at": "2019-08-24T14:15:22Z",
- "payload": {
- "customer": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Mechanics Inc."
}, - "ticket": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "number": 12456234,
- "ticket_number": 72456234
}, - "parent_ticket": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ticket_number": 72456234
}
}, - "vehicle": {
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649"
}, - "product_lines": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "quantity": 0
}
]
}Retrieve a list of events that have happened in the system.
| after_id | string <uuid> Return all events that have happened after the event with provided identifier. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| occurred_after | string <date-time> Return all events that have happened after provided date-time. |
| type | string Return all events of the provided type. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||
| |||||||||||||
Array of objects (Event) >= 0 items List of events. | |||||||||||||
Array (>= 0 items)
| |||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "01HWTCTT509VV8X9XYGPTR5N8Q",
- "type": "tickets.ticket.created",
- "occurred_at": "2019-08-24T14:15:22Z",
- "payload": {
- "customer": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Mechanics Inc."
}, - "ticket": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "number": 12456234,
- "ticket_number": 72456234
}, - "parent_ticket": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ticket_number": 72456234
}
}, - "vehicle": {
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649"
}, - "product_lines": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "quantity": 0
}
]
}
]
}Locales describe the possible localities available in the system. This is mainly used to provide additional details for your customers.
| code | string <bcp47> Code identifying this locale. |
| name | string [ 1 .. 255 ] characters Human-readable name consisting of language and, if present, region or country. |
{- "code": "en-GB",
- "name": "English (United Kingdom)"
}Retrieve a list of supported locales.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Locale) >= 0 items List of locales. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "code": "en-GB",
- "name": "English (United Kingdom)"
}
], - "total": 4
}Retrieve a single locale by its code.
| locale-code required | string <bcp47> Example: en-GB Code of the locale to manage. |
| code | string <bcp47> Code identifying this locale. |
| name | string [ 1 .. 255 ] characters Human-readable name consisting of language and, if present, region or country. |
{- "code": "en-GB",
- "name": "English (United Kingdom)"
}| id | string <uuid> Ticket identifier. | ||||||||||||||
| assigned_at | string or null <date-time> Date and time the ticket was joined by the first operator. | ||||||||||||||
| cancel_reason_id | integer or null <int32> Reference to a cancel reason. Only present for tickets in the | ||||||||||||||
| connection_id | string or null <uuid> Identifier of the connection. | ||||||||||||||
| created_at | string <date-time> Date and time of creation. | ||||||||||||||
| customer_channel_id | string or null <uuid> Identifier for the ticket messenger channel with the customer. This will not be set for tickets in the 'prepared' state. | ||||||||||||||
| customer_connector_id | string or null <uuid> Identifier of the connector that is used by the customer for whom the initial ticket was created. | ||||||||||||||
| customer_id | string or null <uuid> Identifier of the customer for whom the ticket was created. | ||||||||||||||
| customer_reference | string [ 0 .. 255 ] characters Reference added by the customer. | ||||||||||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||||||||||
| external_reference | string Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||||||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||||||||||
| finished_at | string or null <date-time> Date and time the ticket was finished at. Only present for tickets in the | ||||||||||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||||||||||
| operator_channel_id | string or null <uuid> Identifier for the ticket messenger channel with the operator of the partnered provider that outsourced this ticket to you. This will be | ||||||||||||||
| operator_id | string or null <uuid> Identifier of the assigned operator. This value will be set when the ticket currently is or has been in state "in_progress". | ||||||||||||||
| operator_reference | string [ 0 .. 255 ] characters Reference added by the operator. | ||||||||||||||
| outsourced | boolean Reflects whether a ticket has been outsourced at least once to another provider. | ||||||||||||||
| source_provider_id | string <uuid> The identifier of the provider that was the source of this ticket. This is the identifier of the provider that insourced this ticket, otherwise it will be your provider identifier. | ||||||||||||||
| state | string (Ticket-state)
This state provides information about the current activity of the ticket. | ||||||||||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||||||||||
| updated_at | string <date-time> Date and time the ticket was last updated. | ||||||||||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model of the ticket. | ||||||||||||||
| vin | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle of the ticket. Can be null for tickets in "prepared" state. | ||||||||||||||
| voucher_code | string or null Code of the applied voucher. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "assigned_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_channel_id": "ea96c632-cea8-4e93-a2a9-b43cdfd2784c",
- "customer_connector_id": "38442d12-3ddc-4ea7-815d-16388caccddf",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "customer_reference": "A-123-B",
- "expected_voltage": 12,
- "external_reference": "string",
- "externally_processed": true,
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "operator_channel_id": "ca45affe-f503-4778-ab9e-3dd26cdd2d66",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "operator_reference": "example reference",
- "outsourced": true,
- "source_provider_id": "89679b1d-5eea-4ceb-8c38-aea88452dbc0",
- "state": "cancelled",
- "ticket_number": 7440303,
- "updated_at": "2019-08-24T14:15:22Z",
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "voucher_code": "WQ4MM3"
}Retrieve a list of tickets.
| cancel_reason_id | Array of numbers <int64> non-empty unique [ items <int64 > ] Example: cancel_reason_id=1,2 Filter tickets by one or more cancel reason references. | ||||||||||||||
| created_after | string <date-time> Example: created_after=2023-03-15T08:34:28Z Filter tickets that have been created after provided date-time. | ||||||||||||||
| created_before | string <date-time> Example: created_before=2023-03-15T08:34:28Z Filter tickets that have been created before provided date-time. | ||||||||||||||
| customer_connector_id | string <uuid> Filter tickets by customer_connector_id. | ||||||||||||||
| customer_id | string <uuid> Filter tickets by customer_id. | ||||||||||||||
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with | ||||||||||||||
| external_reference | string Filter tickets by external reference. | ||||||||||||||
| externally_processed | boolean Only return tickets that are or are not processed by an external system. | ||||||||||||||
| finished_after | string <date-time> Example: finished_after=2023-03-15T08:34:28Z Filter tickets that have been finished after provided date-time. | ||||||||||||||
| finished_before | string <date-time> Example: finished_before=2023-03-15T08:34:28Z Filter tickets that have been finished before provided date-time. | ||||||||||||||
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||||||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||||||||||
| operator_id | string <uuid> Filter tickets by operator. | ||||||||||||||
| sort_by[] | Array of strings non-empty Default: "created_at:asc"
Example: sort_by[]=created_at:asc Sort tickets. | ||||||||||||||
| source_provider_id | string <uuid> Filter tickets by source provider identifier. | ||||||||||||||
| state | Array of strings (Ticket-state) non-empty unique
Filter tickets by one or more ticket states. | ||||||||||||||
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. | ||||||||||||||
| updated_after | string <date-time> Example: updated_after=2023-03-15T08:34:28Z Filter tickets that have been updated after provided date-time. | ||||||||||||||
| updated_before | string <date-time> Example: updated_before=2023-03-15T08:34:28Z Filter tickets that have been updated before provided date-time. | ||||||||||||||
| vehicle_model_id | integer Filter tickets by vehicle_model_id. | ||||||||||||||
| vin | string = 17 characters Example: vin=JH4KA7630PC007649 Filter tickets by Vehicle Identification Number (VIN). Providing no value will return tickets without a VIN. | ||||||||||||||
| voucher_code | string non-empty Example: voucher_code=WQ4MM3 Filter tickets by voucher code. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (Ticket) >= 0 items List of tickets. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "query": {
- "limit": 25,
- "sort_by": [
- "created_at:asc"
]
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "assigned_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_channel_id": "ea96c632-cea8-4e93-a2a9-b43cdfd2784c",
- "customer_connector_id": "38442d12-3ddc-4ea7-815d-16388caccddf",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "customer_reference": "A-123-B",
- "expected_voltage": 12,
- "external_reference": "string",
- "externally_processed": true,
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "operator_channel_id": "ca45affe-f503-4778-ab9e-3dd26cdd2d66",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "operator_reference": "example reference",
- "outsourced": true,
- "source_provider_id": "89679b1d-5eea-4ceb-8c38-aea88452dbc0",
- "state": "cancelled",
- "ticket_number": 7440303,
- "updated_at": "2019-08-24T14:15:22Z",
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "voucher_code": "WQ4MM3"
}
], - "total": 4
}Retrieve a single ticket by its identifier.
| ticket-id required | string <uuid> The identifier of the ticket you want to operate on. |
| id | string <uuid> Ticket identifier. | ||||||||||||||
| assigned_at | string or null <date-time> Date and time the ticket was joined by the first operator. | ||||||||||||||
| cancel_reason_id | integer or null <int32> Reference to a cancel reason. Only present for tickets in the | ||||||||||||||
| connection_id | string or null <uuid> Identifier of the connection. | ||||||||||||||
| created_at | string <date-time> Date and time of creation. | ||||||||||||||
| customer_channel_id | string or null <uuid> Identifier for the ticket messenger channel with the customer. This will not be set for tickets in the 'prepared' state. | ||||||||||||||
| customer_connector_id | string or null <uuid> Identifier of the connector that is used by the customer for whom the initial ticket was created. | ||||||||||||||
| customer_id | string or null <uuid> Identifier of the customer for whom the ticket was created. | ||||||||||||||
| customer_reference | string [ 0 .. 255 ] characters Reference added by the customer. | ||||||||||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||||||||||
| external_reference | string Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||||||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||||||||||
| finished_at | string or null <date-time> Date and time the ticket was finished at. Only present for tickets in the | ||||||||||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||||||||||
| operator_channel_id | string or null <uuid> Identifier for the ticket messenger channel with the operator of the partnered provider that outsourced this ticket to you. This will be | ||||||||||||||
| operator_id | string or null <uuid> Identifier of the assigned operator. This value will be set when the ticket currently is or has been in state "in_progress". | ||||||||||||||
| operator_reference | string [ 0 .. 255 ] characters Reference added by the operator. | ||||||||||||||
| outsourced | boolean Reflects whether a ticket has been outsourced at least once to another provider. | ||||||||||||||
| source_provider_id | string <uuid> The identifier of the provider that was the source of this ticket. This is the identifier of the provider that insourced this ticket, otherwise it will be your provider identifier. | ||||||||||||||
| state | string (Ticket-state)
This state provides information about the current activity of the ticket. | ||||||||||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||||||||||
| updated_at | string <date-time> Date and time the ticket was last updated. | ||||||||||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model of the ticket. | ||||||||||||||
| vin | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle of the ticket. Can be null for tickets in "prepared" state. | ||||||||||||||
| voucher_code | string or null Code of the applied voucher. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "assigned_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_channel_id": "ea96c632-cea8-4e93-a2a9-b43cdfd2784c",
- "customer_connector_id": "38442d12-3ddc-4ea7-815d-16388caccddf",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "customer_reference": "A-123-B",
- "expected_voltage": 12,
- "external_reference": "string",
- "externally_processed": true,
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "operator_channel_id": "ca45affe-f503-4778-ab9e-3dd26cdd2d66",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "operator_reference": "example reference",
- "outsourced": true,
- "source_provider_id": "89679b1d-5eea-4ceb-8c38-aea88452dbc0",
- "state": "cancelled",
- "ticket_number": 7440303,
- "updated_at": "2019-08-24T14:15:22Z",
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "voucher_code": "WQ4MM3"
}| product_id | string <uuid> Product identifier. | ||||||||
| ticket_id | string <uuid> Ticket identifier. | ||||||||
| quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
| order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
| order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
| invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
| invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}Retrieve a list of product lines belonging to a ticket.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||||||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||||||||||
| ticket_created_after | string <date-time> Example: ticket_created_after=2023-03-15T08:34:28Z Return only product lines that are associated with tickets that are created after the provided date and time. | ||||||||||||||
| ticket_created_before | string <date-time> Example: ticket_created_before=2023-03-15T08:34:28Z Return only product lines that are associated with tickets that are created before the provided date and time. | ||||||||||||||
| ticket_finished_after | string <date-time> Example: ticket_finished_after=2023-03-15T08:34:28Z Return only product lines that are associated with tickets that are finished after the provided date and time. | ||||||||||||||
| ticket_finished_before | string <date-time> Example: ticket_finished_before=2023-03-15T08:34:28Z Return only product lines that are associated with tickets that are finished before the provided date and time. | ||||||||||||||
| ticket_id | string <uuid> Filter product lines by ticket identifier. | ||||||||||||||
| ticket_state | Array of strings (Ticket-state) non-empty unique
Only return product lines that are associated with tickets that are in the provided state(s). |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects (Product line) >= 0 items List of product lines. | |||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}
], - "total": 4
}Add a product line to a ticket.
The product line you want to add.
| product_id required | string <uuid> Product identifier. |
| ticket_id required | string <uuid> Ticket identifier. |
| quantity required | integer <int32> >= 1 Quantity. |
| order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. |
| order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. |
| invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. |
| invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. |
| product_id | string <uuid> Product identifier. | ||||||||
| ticket_id | string <uuid> Ticket identifier. | ||||||||
| quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
| order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
| order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
| invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
| invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5
}{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}Retrieve a ticket product line by its identifier.
| product-id required | string <uuid> The identifier of the product. |
| ticket-id required | string <uuid> The identifier of the ticket of which you want to handle a product line. |
| product_id | string <uuid> Product identifier. | ||||||||
| ticket_id | string <uuid> Ticket identifier. | ||||||||
| quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
| order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
| order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
| invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
| invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}Update a ticket product line by its identifier.
| product-id required | string <uuid> The identifier of the product. |
| ticket-id required | string <uuid> The identifier of the ticket of which you want to handle a product line. |
The product line you want to update.
| quantity required | integer <int32> >= 1 Quantity. |
| order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. |
| order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. |
| invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. |
| invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. |
| product_id | string <uuid> Product identifier. | ||||||||
| ticket_id | string <uuid> Ticket identifier. | ||||||||
| quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
| order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
| order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
| invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
| invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
{- "quantity": 1,
- "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5
}{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}Remove a ticket product line by its identifier.
| product-id required | string <uuid> The identifier of the product. |
| ticket-id required | string <uuid> The identifier of the ticket of which you want to handle a product line. |
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}| id | string <uuid> Outsource identifier. | ||||||||||
| ticket_id | string <uuid> Identifier of the ticket that was outsourced to the partnered provider. | ||||||||||
| assigned_at | string or null <date-time> Date and time the outsource was joined by a operator at the partnered provider. Not present for outsources in the 'pending'-state. | ||||||||||
| cancel_reason_id | integer or null <int32> Reference to a cancel reason. Only present for outsources in the | ||||||||||
| created_at | string <date-time> Date and time the outsource was initiated. | ||||||||||
| finished_at | string or null <date-time> Date and time the outsource was finished by the partnered provider. Only present for outsources in the | ||||||||||
| operator_channel_id | string <uuid> Identifier for the ticket messenger channel with the operator of the partnered provider. | ||||||||||
| provider_id | string <uuid> Identifier of the partnered provider to which the outsource request has been sent. | ||||||||||
| state | string (Outsource-state)
The state provides information about the current activity of the outsource at the partnered provider. | ||||||||||
| ticket_number | integer <int64> Human-readable identifier of the ticket created at the partnered provider. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "assigned_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "operator_channel_id": "ca45affe-f503-4778-ab9e-3dd26cdd2d66",
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "state": "cancelled",
- "ticket_number": 7440303
}Retrieve a list of outsources.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| sort_by[] | Array of strings non-empty Default: "created_at:asc"
Example: sort_by[]=created_at:asc Sort outsources. | ||||||
| ticket_id | string <uuid> Filter outsources by ticket_id. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Array of objects (Outsource) >= 0 items List of outsources. | |||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||||||||
{- "query": {
- "limit": 25,
- "sort_by": [
- "created_at:asc"
]
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "assigned_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "operator_channel_id": "ca45affe-f503-4778-ab9e-3dd26cdd2d66",
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "state": "cancelled",
- "ticket_number": 7440303
}
], - "total": 4
}Retrieve an outsource by its identifier.
| outsource-id required | string <uuid> The identifier of outsource. |
| id | string <uuid> Outsource identifier. | ||||||||||
| ticket_id | string <uuid> Identifier of the ticket that was outsourced to the partnered provider. | ||||||||||
| assigned_at | string or null <date-time> Date and time the outsource was joined by a operator at the partnered provider. Not present for outsources in the 'pending'-state. | ||||||||||
| cancel_reason_id | integer or null <int32> Reference to a cancel reason. Only present for outsources in the | ||||||||||
| created_at | string <date-time> Date and time the outsource was initiated. | ||||||||||
| finished_at | string or null <date-time> Date and time the outsource was finished by the partnered provider. Only present for outsources in the | ||||||||||
| operator_channel_id | string <uuid> Identifier for the ticket messenger channel with the operator of the partnered provider. | ||||||||||
| provider_id | string <uuid> Identifier of the partnered provider to which the outsource request has been sent. | ||||||||||
| state | string (Outsource-state)
The state provides information about the current activity of the outsource at the partnered provider. | ||||||||||
| ticket_number | integer <int64> Human-readable identifier of the ticket created at the partnered provider. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "assigned_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "operator_channel_id": "ca45affe-f503-4778-ab9e-3dd26cdd2d66",
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "state": "cancelled",
- "ticket_number": 7440303
}Outsource product lines provide information about products that have been applied to outsourced tickets by a partnered provider.
| ticket_id | string <uuid> Ticket identifier of the ticket that was outsourced to the partnered provider. | ||||
| outsource_id | string <uuid> Outsource identifier. | ||||
object (Money) The discount for this product line. | |||||
| |||||
object (Money) The gross price of the product line. This is calculated using | |||||
| |||||
object (Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||
| |||||
| product_id | string or null <uuid> Product identifier. | ||||
| product_name | string [ 1 .. 255 ] characters Product name in the requested language. | ||||
| product_number | string Product number. This is the product number as referenced by your partnered provider. | ||||
| provider_id | string <uuid> Identifier of the partnered provider to which the outsource request has been sent. | ||||
| quantity | integer <int32> >= 1 Quantity. | ||||
object (Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||
| |||||
{- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "outsource_id": "880092d9-6aa9-4787-863b-6f1c3c58f8c2",
- "discount": {
- "amount": 95.99,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 95.99,
- "currency": "EUR"
}, - "original_equipment_service_fee": {
- "amount": 95.99,
- "currency": "EUR"
}, - "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "product_name": "Remote Diagnostic Support",
- "product_number": "0000001",
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 95.99,
- "currency": "EUR"
}
}Retrieve a list of outsource product lines. Outsource product lines represent requested services that have been applied to an outsourced ticket by a partnered provider.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||||||
| outsource_created_after | string <date-time> Example: outsource_created_after=2023-03-15T08:34:28Z Return only outsource product lines that are associated with an outsource that was created after the provided date and time. | ||||||||||
| outsource_created_before | string <date-time> Example: outsource_created_before=2023-03-15T08:34:28Z Return only outsource product lines that are associated with an outsource that was created before the provided date and time. | ||||||||||
| outsource_finished_after | string <date-time> Example: outsource_finished_after=2023-03-15T08:34:28Z Return only outsource product lines that are associated with an outsource that was finished after the provided date and time. | ||||||||||
| outsource_finished_before | string <date-time> Example: outsource_finished_before=2023-03-15T08:34:28Z Return only outsource product lines that are associated with an outsource that was finished before the provided date and time. | ||||||||||
| outsource_state | Array of strings (Outsource-state) non-empty unique
Only return outsource product lines that are associated with an outsource that is in the provided state(s). | ||||||||||
| provider_id | string <uuid> Filter outsource product lines by identifier of the partnered provider to which the outsource request has been sent. | ||||||||||
| ticket_id | string <uuid> Filter outsource product lines by ticket_id. |
| Accept-Language | string Default: en Examples:
Use this header to indicate the natural language and locale in which you want to receive translatable property values. Multiple preferences can be provided using a weighted qualifier. Properties that support translations will specify so in their description. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects (Outsource product line) >= 0 items List of outsource product lines. | |||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "outsource_id": "880092d9-6aa9-4787-863b-6f1c3c58f8c2",
- "discount": {
- "amount": 95.99,
- "currency": "EUR"
}, - "gross_price": {
- "amount": 95.99,
- "currency": "EUR"
}, - "original_equipment_service_fee": {
- "amount": 95.99,
- "currency": "EUR"
}, - "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "product_name": "Remote Diagnostic Support",
- "product_number": "0000001",
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 95.99,
- "currency": "EUR"
}
}
], - "total": 4
}| id | integer <int64> Cancel reason identifier. |
| allows_ticket_reopening | boolean Whether a ticket with this cancel reason can be reopened. |
| customer_fault | boolean Indicates if ticket with this reason was cancelled because of something the customer did. |
| manually_applicable | boolean Whether this cancel reason can be manually set by a ticket's operator. |
| name | string [ 1 .. 255 ] characters Human-readable description of the cancel reason. |
{- "id": 0,
- "allows_ticket_reopening": true,
- "customer_fault": true,
- "manually_applicable": true,
- "name": "Operation too risky."
}Retrieve a list of possible ticket cancel reasons.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||
| |||||||||||
Array of objects (Cancel reason) >= 0 items List of ticket cancel reasons. | |||||||||||
Array (>= 0 items)
| |||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 0,
- "allows_ticket_reopening": true,
- "customer_fault": true,
- "manually_applicable": true,
- "name": "Operation too risky."
}
], - "total": 4
}Retrieve a single cancel reason by its identifier.
| cancel-reason-id required | integer <int64> Example: 3 The identifier of the cancel reason you want to retrieve. |
| id | integer <int64> Cancel reason identifier. |
| allows_ticket_reopening | boolean Whether a ticket with this cancel reason can be reopened. |
| customer_fault | boolean Indicates if ticket with this reason was cancelled because of something the customer did. |
| manually_applicable | boolean Whether this cancel reason can be manually set by a ticket's operator. |
| name | string [ 1 .. 255 ] characters Human-readable description of the cancel reason. |
{- "id": 0,
- "allows_ticket_reopening": true,
- "customer_fault": true,
- "manually_applicable": true,
- "name": "Operation too risky."
}| id | string <uuid> Identifier of the note. | ||||||
| author_id | string <uuid> Identifier of the author of the note. | ||||||
| author_name | string [ 0 .. 255 ] characters Name of the note author. | ||||||
| categories | Array of any (NoteCategories) >= 0 items
Categories on the note. | ||||||
| created_at | string <date-time> Date and time when the note was created. | ||||||
| is_public | boolean Indicates if a note is publicly available. | ||||||
| ticket_id | string <uuid> Identifier of the ticket. | ||||||
| updated_at | string or null <date-time> Date and time when the note was updated. | ||||||
| value | string [ 0 .. 1500 ] characters Value of the note. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
- "author_name": "string",
- "categories": [
- "post-scan"
], - "created_at": "2019-08-24T14:15:22Z",
- "is_public": true,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": "string"
}| filename | string Name of the attachment. |
| note_id | string <uuid> Identifier of the note of a ticket. |
| signed_url | string <uri> Url to download or upload the file of the attachment. Few things are important when using this url:
|
{- "filename": "string",
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
}Retrieve a list of ticket notes.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| ticket_id required | string <uuid> The identifier of the ticket of which you want to retrieve ticket notes. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects (Note) >= 0 items List of ticket notes. | |||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
- "author_name": "string",
- "categories": [
- "post-scan"
], - "created_at": "2019-08-24T14:15:22Z",
- "is_public": true,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": "string"
}
], - "total": 4
}Add a note to a ticket.
The note you wish to add.
| categories | Array of any (NoteCategories)
Categories on a note. | ||||||
| is_public | boolean Default: false Share note with customer. | ||||||
| ticket_id required | string <uuid> Identifier of the ticket. | ||||||
| value required | string Value of the note. |
| id | string <uuid> Identifier of the note. | ||||||
| author_id | string <uuid> Identifier of the author of the note. | ||||||
| author_name | string [ 0 .. 255 ] characters Name of the note author. | ||||||
| categories | Array of any (NoteCategories) >= 0 items
Categories on the note. | ||||||
| created_at | string <date-time> Date and time when the note was created. | ||||||
| is_public | boolean Indicates if a note is publicly available. | ||||||
| ticket_id | string <uuid> Identifier of the ticket. | ||||||
| updated_at | string or null <date-time> Date and time when the note was updated. | ||||||
| value | string [ 0 .. 1500 ] characters Value of the note. |
{- "categories": [
- "post-scan"
], - "is_public": false,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "value": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
- "author_name": "string",
- "categories": [
- "post-scan"
], - "created_at": "2019-08-24T14:15:22Z",
- "is_public": true,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": "string"
}Retrieve a single note by its identifier.
| note-id required | string <uuid> The identifier of the note you want to edit. |
| id | string <uuid> Identifier of the note. | ||||||
| author_id | string <uuid> Identifier of the author of the note. | ||||||
| author_name | string [ 0 .. 255 ] characters Name of the note author. | ||||||
| categories | Array of any (NoteCategories) >= 0 items
Categories on the note. | ||||||
| created_at | string <date-time> Date and time when the note was created. | ||||||
| is_public | boolean Indicates if a note is publicly available. | ||||||
| ticket_id | string <uuid> Identifier of the ticket. | ||||||
| updated_at | string or null <date-time> Date and time when the note was updated. | ||||||
| value | string [ 0 .. 1500 ] characters Value of the note. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
- "author_name": "string",
- "categories": [
- "post-scan"
], - "created_at": "2019-08-24T14:15:22Z",
- "is_public": true,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": "string"
}Update note for a ticket.
| note-id required | string <uuid> The identifier of the note you want to edit. |
| categories | Array of any (NoteCategories)
Categories on a note. | ||||||
| is_public | boolean Default: false Share note with customer. | ||||||
| ticket_id required | string <uuid> Identifier of the ticket. | ||||||
| value required | string Value of the note. |
| id | string <uuid> Identifier of the note. | ||||||
| author_id | string <uuid> Identifier of the author of the note. | ||||||
| author_name | string [ 0 .. 255 ] characters Name of the note author. | ||||||
| categories | Array of any (NoteCategories) >= 0 items
Categories on the note. | ||||||
| created_at | string <date-time> Date and time when the note was created. | ||||||
| is_public | boolean Indicates if a note is publicly available. | ||||||
| ticket_id | string <uuid> Identifier of the ticket. | ||||||
| updated_at | string or null <date-time> Date and time when the note was updated. | ||||||
| value | string [ 0 .. 1500 ] characters Value of the note. |
{- "categories": [
- "post-scan"
], - "is_public": false,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "value": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
- "author_name": "string",
- "categories": [
- "post-scan"
], - "created_at": "2019-08-24T14:15:22Z",
- "is_public": true,
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": "string"
}Retrieve a list of note attachments.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| note_id required | string <uuid> The identifier of the note of which you want to retrieve note attachments. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||
| |||||||||
Array of objects (Attachment) >= 0 items List of note attachments. | |||||||||
Array (>= 0 items)
| |||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "filename": "string",
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
}
], - "total": 4
}Generate signed url for note attachment.
| filename required | string Name of the file plus extension. |
| note_id required | string <uuid> The identifier of the note. |
| filename | string Name of the attachment. |
| note_id | string <uuid> Identifier of the note of a ticket. |
| signed_url | string <uri> Url to download or upload the file of the attachment. Few things are important when using this url:
|
{- "filename": "image.png",
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc"
}{- "filename": "string",
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
}Retrieve a single note attachment by its identifier.
| note-id required | string <uuid> The identifier of the note of which you want to retrieve the note attachment. |
| filename required | string The filename of the note attachment you want to retrieve. |
| filename | string Name of the attachment. |
| note_id | string <uuid> Identifier of the note of a ticket. |
| signed_url | string <uri> Url to download or upload the file of the attachment. Few things are important when using this url:
|
{- "filename": "string",
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
}| ticket_id | string <uuid> Identifier of the ticket. |
| diagnostic_equipment_id | integer <int32> Identifier of diagnostic equipment. |
| name | string [ 0 .. 255 ] characters Name of the diagnostic equipment. |
| version | string or null [ 1 .. 255 ] characters Version of the diagnostic equipment. |
{- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "diagnostic_equipment_id": 12,
- "name": "iCarsoft CR Pro",
- "version": "2.0"
}Retrieve a list of diagnostic equipment that has been used by an operator on a ticket.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| ticket_id | string <uuid> The identifier of the ticket of which you want to retrieve the used diagnostic equipment. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||
| |||||||||
Array of objects (Used diagnostic equipment) >= 0 items List of used diagnostic equipment. | |||||||||
Array (>= 0 items)
| |||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "diagnostic_equipment_id": 12,
- "name": "iCarsoft CR Pro",
- "version": "2.0"
}
], - "total": 4
}Add diagnostic equipment that has been used by an operator on a ticket. Diagnostic equipment can only be added on a 'In Progress' ticket.
The diagnostic equipment that has been used.
| ticket_id | string <uuid> Identifier of the ticket. |
| diagnostic_equipment_id | integer <int32> Identifier of diagnostic equipment. |
| ticket_id | string <uuid> Identifier of the ticket. |
| diagnostic_equipment_id | integer <int32> Identifier of diagnostic equipment. |
| name | string [ 0 .. 255 ] characters Name of the diagnostic equipment. |
| version | string or null [ 1 .. 255 ] characters Version of the diagnostic equipment. |
{- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "diagnostic_equipment_id": 12
}{- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "diagnostic_equipment_id": 12,
- "name": "iCarsoft CR Pro",
- "version": "2.0"
}Retrieve a used diagnostic equipment by its identifiers.
| ticket-id required | string <uuid> Ticket on which the diagnostic equipment was used. |
| diagnostic-equipment-id required | integer <int32> Used Diagnostic Equipment identifier. |
| ticket_id | string <uuid> Identifier of the ticket. |
| diagnostic_equipment_id | integer <int32> Identifier of diagnostic equipment. |
| name | string [ 0 .. 255 ] characters Name of the diagnostic equipment. |
| version | string or null [ 1 .. 255 ] characters Version of the diagnostic equipment. |
{- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "diagnostic_equipment_id": 12,
- "name": "iCarsoft CR Pro",
- "version": "2.0"
}Remove diagnostic equipment that has been used by an operator on a ticket. Diagnostic equipment can only be removed from a 'In Progress' ticket.
| ticket-id required | string <uuid> Ticket on which the diagnostic equipment was used. |
| diagnostic-equipment-id required | integer <int32> Used Diagnostic Equipment identifier. |
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}| schedule_ends_at | string or null <date-time> The moment the schedule ends if state is scheduled, | ||||||||
| schedule_reason | string or null [ 1 .. 255 ] characters The reason for the schedule shown to customers if state is scheduled, | ||||||||
| state | string
The state of your service-center. |
{- "schedule_ends_at": "2019-08-24T14:15:22Z",
- "schedule_reason": "string",
- "state": "closed"
}Retrieve service center information.
| schedule_ends_at | string or null <date-time> The moment the schedule ends if state is scheduled, | ||||||||
| schedule_reason | string or null [ 1 .. 255 ] characters The reason for the schedule shown to customers if state is scheduled, | ||||||||
| state | string
The state of your service-center. |
Opened.
{- "schedule_ends_at": null,
- "schedule_reason": null,
- "state": "opened"
}Update the service center information.
The updated service center.
| schedule_ends_at required | string or null <date-time> The moment the schedule ends if state is scheduled, | ||||||||
| schedule_reason required | string or null [ 1 .. 255 ] characters The reason for the schedule shown to customers if state is scheduled, | ||||||||
| state required | string
The state of your service-center. |
| schedule_ends_at | string or null <date-time> The moment the schedule ends if state is scheduled, | ||||||||
| schedule_reason | string or null [ 1 .. 255 ] characters The reason for the schedule shown to customers if state is scheduled, | ||||||||
| state | string
The state of your service-center. |
{- "schedule_ends_at": null,
- "schedule_reason": null,
- "state": "closed"
}{- "schedule_ends_at": "2019-08-24T14:15:22Z",
- "schedule_reason": "string",
- "state": "closed"
}| id | string <uuid> Identifier of the voucher. | ||||
| label | string [ 2 .. 255 ] characters Label of the voucher. | ||||
| generic_code | string or null [ 6 .. 20 ] characters ^[A-Z0-9-]+$ The generic code that can be used to receive the additional discount. If | ||||
| discount_percentage | number or null <number> [ 0 .. 100 ] Default: 0 The discount percentage received when a code from this voucher is used on a ticket. A value of | ||||
object or null (Money) The discount money received when a code from this voucher is used on a ticket. Value is | |||||
| |||||
| valid_from | string <date> Date when the voucher becomes valid. | ||||
| valid_until | string or null <date> Date after which the voucher becomes invalid, use | ||||
| is_active | boolean Default: true Indicates if the voucher is active. | ||||
| customer_id | string or null <uuid> Identifier of the customer this voucher is applicable to. If | ||||
| product_ids | Array of strings <uuid> >= 0 items [ items <uuid > ] List of product identifiers this voucher is applicable to. If empty the voucher is applicable to all products. | ||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Summer 2025",
- "generic_code": "SUMMER-2025",
- "discount_percentage": 5,
- "discount_money": {
- "amount": 0,
- "currency": null
}, - "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "is_active": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| code | string Voucher item code. This is the code that can be used to redeem this voucher item. |
| voucher_id | string <uuid> Identifier of the voucher. |
| enabled | boolean Whether this voucher item is enabled and can be used. A used item cannot be disabled. |
| customer_id | string or null <uuid> Identifier of customer that can or has used this voucher item. |
| ticket_id | string or null <uuid> Identifier of ticket on which this voucher item has been used. |
| used_at | string or null <date-time> Date and time when this voucher item has been used. |
{- "code": "string",
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b",
- "enabled": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "used_at": "2019-08-24T14:15:22Z"
}Retrieve a list of vouchers.
| availability | boolean Default: true Filter vouchers by their availability. When |
| code | string [ 6 .. 20 ] characters Filter voucher by code. Only returns voucher of which the |
| customer_id | string <uuid> Filter vouchers by customer identifier. Returns vouchers that have on or more items bound to provided customer. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object Filter vouchers by the date they become valid. | |
object Filter vouchers by the date until they are valid. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||
| |||||||||||||||||||||
Array of objects (Voucher) >= 0 items List of vouchers. | |||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||
{- "query": {
- "limit": 25,
- "availability": true
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Summer 2025",
- "generic_code": "SUMMER-2025",
- "discount_percentage": 5,
- "discount_money": {
- "amount": 0,
- "currency": null
}, - "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "is_active": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
], - "total": 4
}Add a new voucher.
The voucher you wish to add.
| label required | string [ 2 .. 255 ] characters Label of the voucher. | ||
| generic_code required | string or null [ 6 .. 20 ] characters ^[A-Z0-9-]+$ The generic code that can be used to receive the additional discount. If | ||
| discount_percentage required | number or null <number> [ 0 .. 100 ] Default: 0 The discount percentage received when a code from this voucher is used on a ticket. A value of | ||
required | object or null (Money) The discount money received when a code from this voucher is used on a ticket. Value is | ||
| |||
| valid_from required | string <date> Date when the voucher becomes valid. | ||
| valid_until required | string or null <date> Date after which the voucher becomes invalid, use | ||
| customer_id required | string or null <uuid> Identifier of the customer this voucher is applicable to. If | ||
| product_ids required | Array of strings <uuid> >= 0 items [ items <uuid > ] List of product identifiers this voucher is applicable to. If empty the voucher is applicable to all products. | ||
| id | string <uuid> Identifier of the voucher. | ||||
| label | string [ 2 .. 255 ] characters Label of the voucher. | ||||
| generic_code | string or null [ 6 .. 20 ] characters ^[A-Z0-9-]+$ The generic code that can be used to receive the additional discount. If | ||||
| discount_percentage | number or null <number> [ 0 .. 100 ] Default: 0 The discount percentage received when a code from this voucher is used on a ticket. A value of | ||||
object or null (Money) The discount money received when a code from this voucher is used on a ticket. Value is | |||||
| |||||
| valid_from | string <date> Date when the voucher becomes valid. | ||||
| valid_until | string or null <date> Date after which the voucher becomes invalid, use | ||||
| is_active | boolean Default: true Indicates if the voucher is active. | ||||
| customer_id | string or null <uuid> Identifier of the customer this voucher is applicable to. If | ||||
| product_ids | Array of strings <uuid> >= 0 items [ items <uuid > ] List of product identifiers this voucher is applicable to. If empty the voucher is applicable to all products. | ||||
{- "label": "Summer 2025",
- "generic_code": "SUMMER-2025",
- "discount_percentage": null,
- "discount_money": null,
- "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Summer 2025",
- "generic_code": "SUMMER-2025",
- "discount_percentage": 5,
- "discount_money": {
- "amount": 0,
- "currency": null
}, - "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "is_active": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Retrieves a voucher by its identifier.
| voucher-id required | string <uuid> The identifier of the voucher. |
| id | string <uuid> Identifier of the voucher. | ||||
| label | string [ 2 .. 255 ] characters Label of the voucher. | ||||
| generic_code | string or null [ 6 .. 20 ] characters ^[A-Z0-9-]+$ The generic code that can be used to receive the additional discount. If | ||||
| discount_percentage | number or null <number> [ 0 .. 100 ] Default: 0 The discount percentage received when a code from this voucher is used on a ticket. A value of | ||||
object or null (Money) The discount money received when a code from this voucher is used on a ticket. Value is | |||||
| |||||
| valid_from | string <date> Date when the voucher becomes valid. | ||||
| valid_until | string or null <date> Date after which the voucher becomes invalid, use | ||||
| is_active | boolean Default: true Indicates if the voucher is active. | ||||
| customer_id | string or null <uuid> Identifier of the customer this voucher is applicable to. If | ||||
| product_ids | Array of strings <uuid> >= 0 items [ items <uuid > ] List of product identifiers this voucher is applicable to. If empty the voucher is applicable to all products. | ||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Summer 2025",
- "generic_code": "SUMMER-2025",
- "discount_percentage": 5,
- "discount_money": {
- "amount": 0,
- "currency": null
}, - "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "is_active": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Update a voucher by its identifier.
| voucher-id required | string <uuid> The identifier of the voucher. |
The updated voucher.
| label required | string [ 2 .. 255 ] characters Label of the voucher. | ||
| discount_percentage required | number or null <number> [ 0 .. 100 ] Default: 0 The discount percentage received when a code from this voucher is used on a ticket. A value of | ||
required | object or null (Money) The discount money received when a code from this voucher is used on a ticket. Value is | ||
| |||
| valid_from required | string <date> Date when the voucher becomes valid. | ||
| valid_until required | string or null <date> Date after which the voucher becomes invalid, use | ||
| is_active required | boolean Default: true Indicates if the voucher is active. | ||
| id | string <uuid> Identifier of the voucher. | ||||
| label | string [ 2 .. 255 ] characters Label of the voucher. | ||||
| generic_code | string or null [ 6 .. 20 ] characters ^[A-Z0-9-]+$ The generic code that can be used to receive the additional discount. If | ||||
| discount_percentage | number or null <number> [ 0 .. 100 ] Default: 0 The discount percentage received when a code from this voucher is used on a ticket. A value of | ||||
object or null (Money) The discount money received when a code from this voucher is used on a ticket. Value is | |||||
| |||||
| valid_from | string <date> Date when the voucher becomes valid. | ||||
| valid_until | string or null <date> Date after which the voucher becomes invalid, use | ||||
| is_active | boolean Default: true Indicates if the voucher is active. | ||||
| customer_id | string or null <uuid> Identifier of the customer this voucher is applicable to. If | ||||
| product_ids | Array of strings <uuid> >= 0 items [ items <uuid > ] List of product identifiers this voucher is applicable to. If empty the voucher is applicable to all products. | ||||
{- "label": "Summer 2025",
- "discount_percentage": null,
- "discount_money": null,
- "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "is_active": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "Summer 2025",
- "generic_code": "SUMMER-2025",
- "discount_percentage": 5,
- "discount_money": {
- "amount": 0,
- "currency": null
}, - "valid_from": "2025-08-01",
- "valid_until": "2025-12-31",
- "is_active": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Add voucher item generation request.
The voucher item generation request you wish to add.
| num_items | integer <int32> [ 1 .. 1000 ] The number of voucher items to generate. |
| voucher_id required | string <uuid> The identifier of the voucher to generate items for.. |
| num_items | integer <int32> The number of voucher items generated. |
| voucher_id | string <uuid> The identifier of the voucher the items were generated for. |
{- "num_items": 1,
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}{- "num_items": 0,
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}Retrieve a list of voucher items.
| code | string [ 6 .. 20 ] characters Filter voucher items by code. Only returns voucher item of which the |
| customer_id | string <uuid> Filter voucher items by the identifier of the customer that can or has used it. Combine with |
| is_enabled | boolean Default: true Filter voucher items by enabled status. |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| ticket_id | string <uuid> Filter voucher items by the identifier of the ticket it was used on. |
| used | boolean Default: true Filter voucher items by usage status. |
object Filter voucher items that were used on, before or after provided date. | |
| voucher_id | string <uuid> Filter voucher items by the identifier its voucher. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||
| |||||||||||||
Array of objects (VoucherItem) >= 0 items List of voucher items. | |||||||||||||
Array (>= 0 items)
| |||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||
{- "query": {
- "limit": 25,
- "used": true,
- "is_enabled": true
}, - "result": [
- {
- "code": "string",
- "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b",
- "enabled": true,
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "used_at": "2019-08-24T14:15:22Z"
}
], - "total": 4
}Messages exchanged in a channel. Channels are used to communicate with customers or between providers during a ticket.
Retrieve a list of ticket channel messages. The next token is used to paginate the results. Channels are used to communicate with customers or between providers.
| channel_id required | string <uuid> The identifier of the channel you want to retrieve messages for. A |
| next_token | string The token to retrieve the next page of results. |
| next_token | string or null Token to get the next collection of results. | ||||||||||||||||||||
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||
| |||||||||||||||||||||
Array of objects (ChannelMessage) >= 0 items List of channel messages. | |||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||
{- "next_token": "AAIAA3uLtxqD5SlWx9VuBHb8ggpM5f4Dz6TbcOvSDKQlV892Z53z_nfGi0869ie6JNKucRIAAodtM5HLeXtK3khoWS8uhU1ldJenxC8PGi3q_pK_dVARvxVxnFW9grrY2Tl9BiEzFZVgJmkDzKAquBS8QBYSDlbG5m9IR3HpDgiz3wK57exl_2Ocez5KKybxz13bD6jvD4FStk9Ck2GfsDn1J6BYhLZX5PFVLc1_xa5FilM8y1KZN-1cO62ASJPbSrMxWCJfiMBC_X15F97pEfgA6zU0Bf5ZVvlodob8pqqZiSrD6jIjDdpUDPoisFXdJYt3zSwAbAK27OOQU4876t8f_1NrlXhZpioFkg6YwpK77ldOm5XuiD_UfkJbxZru7oIfgPn2afM7sJl2lKtAaXb9nLWhXmT6p55v74zFbsAQZmwoVIRr4IAAmVQK5OPTJ6JkYyizbdP2JokV2-NBKBiJm6e8wSIwXRma0I_sQSQfZyoc9dqwbr2vnfXlI97IvQRJ_LWutG64B2q1VA2vDAIaym7ToTC_iS3kBwKxyn3l5nEGvKRCj3v_eNrjU-uMxe_s-W31YZw=",
- "query": { },
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "Hello, how can I help you?",
- "created_at": "2019-08-24T14:15:22Z",
- "redacted": true,
- "sender": {
- "name": "string",
- "type": "customer"
}, - "type": "attachment"
}
]
}Send a message to a channel.
| channel_id required | string <uuid> Identifier of the channel. |
| content required | string [ 1 .. 3000 ] characters The text content of the message. |
| id | string <uuid> Unique identifier of the message. | ||||||||||||||||
object or null Describes attachment for chat message or | |||||||||||||||||
| |||||||||||||||||
| content | string The text content of the message. | ||||||||||||||||
| created_at | string <date-time> The date-time the message was created. | ||||||||||||||||
| redacted | boolean Indicates whether the message content has been redacted. | ||||||||||||||||
object Information about the sender of the message. | |||||||||||||||||
| |||||||||||||||||
| type | string
Describes if a channel message contains text or an attachment. | ||||||||||||||||
{- "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459",
- "content": "Hello, how can I help you?"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "Hello, how can I help you?",
- "created_at": "2019-08-24T14:15:22Z",
- "redacted": true,
- "sender": {
- "name": "string",
- "type": "customer"
}, - "type": "attachment"
}Prepared tickets are pre-filled tickets for customers to pick up in the Customer Portal. Prepared tickets contain at least a VIN, a reference to a vehicle model and should have at least one product-line to be usable for a customer.
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| preparer_external_reference | string [ 0 .. 255 ] characters This custom external reference, provided by the ticket preparer, is used for the purpose of communicating with other applications. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}Retrieve a list of prepared tickets.
| created_after | string <date-time> Filter prepared tickets that have been created after provided date-time. |
| created_before | string <date-time> Filter prepared tickets that have been created before provided date-time. |
| customer_id | string <uuid> Filter prepared tickets by customer identifier. |
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| preparer_external_reference | string Example: preparer_external_reference=ERP_DYNAMICS_2442 Filter prepared tickets by preparer's given external reference. |
| product_id | string <uuid> Filter prepared tickets by product identifier. Return only prepared tickets with an associated product-line for the referenced product. |
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. |
| vin | string = 17 characters Example: vin=JH4KA7630PC007649 Filter prepared tickets by Vehicle Identification Number (VIN). Providing no value will return tickets without a VIN. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||
| |||||||||||||||||||
Array of objects (Prepared ticket) >= 0 items List of prepared tickets. | |||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}
], - "total": 4
}Create a new prepared ticket.
The prepared ticket you wish to create.
| customer_id required | string <uuid> Identifier of the customer for whom the ticket was created. |
| vehicle_model_id required | integer <int64> Identifier of the vehicle model on the ticket. |
| vin required | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| preparer_external_reference required | string [ 0 .. 255 ] characters This custom external reference, provided by the ticket preparer, is used for the purpose of communicating with other applications. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| preparer_external_reference | string [ 0 .. 255 ] characters This custom external reference, provided by the ticket preparer, is used for the purpose of communicating with other applications. |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}Retrieve a single prepared ticket by its identifier.
| prepared-ticket-id required | string <uuid> Identifier of the prepared ticket. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| preparer_external_reference | string [ 0 .. 255 ] characters This custom external reference, provided by the ticket preparer, is used for the purpose of communicating with other applications. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}Update a single prepared ticket by its identifier.
| prepared-ticket-id required | string <uuid> Identifier of the prepared ticket. |
The prepared ticket you wish to update.
| vehicle_model_id required | integer <int64> Identifier of the vehicle model on the ticket. |
| vin required | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| voucher_code required | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| preparer_external_reference required | string [ 0 .. 255 ] characters This custom external reference, provided by the ticket preparer, is used for the purpose of communicating with other applications. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string or null = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| preparer_external_reference | string [ 0 .. 255 ] characters This custom external reference, provided by the ticket preparer, is used for the purpose of communicating with other applications. |
{- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "string",
- "voucher_code": "WQ4MM3",
- "preparer_external_reference": "DYNAMICS_ERP_3454662"
}Delete a single prepared ticket by its identifier.
| prepared-ticket-id required | string <uuid> Identifier of the prepared ticket. |
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}Transition a single prepared ticket by its identifier.
| prepared-ticket-id required | string <uuid> Identifier of the prepared ticket. |
The changes you wish to make.
required | Queue for service (object) Transition this ticket to a different state. | ||||||||||||||||
One of
| |||||||||||||||||
| Location | string <uri-reference> Example: "/v2/tickets/pending-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0" Path to resource the ticket has been transitioned to. |
{- "transition": {
- "type": "queue-for-service",
- "confirmed_unattended_service": false,
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "customer_reference": "",
- "metadata": {
- "app_name": "string",
- "app_version": "string",
- "battery_state": "string",
- "device_manufacturer": "string",
- "device_model": "string",
- "latitude": "string",
- "locale": "string",
- "longitude": "string",
- "platform": "string",
- "platform_version": "string"
}, - "product_prerequisites": [
- {
- "prerequisite_id": 161,
- "value": "true"
}
]
}
}{- "status": 400,
- "type": "about:blank",
- "title": "Some title for the error situation",
- "detail": "Some description for the error situation"
}| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| connection_id | string or null <uuid> Identifier of the connection. |
| scheduled_message required | string or null [ 1 .. 255 ] characters Scheduled message intended for the customer. |
| scheduled_until required | string or null <date-time> The date-time until which this ticket is scheduled. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": null,
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": null,
- "vin": null,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "scheduled_message": "Your ticket has been scheduled. Thank you for your patience.",
- "scheduled_until": "2025-08-01T12:00:00Z"
}Retrieve a list of pending tickets.
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||
| |||||||||||||||||||||
Array of objects (Pending ticket) >= 0 items List of pending tickets. | |||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": null,
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": null,
- "vin": null,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "scheduled_message": "Your ticket has been scheduled. Thank you for your patience.",
- "scheduled_until": "2025-08-01T12:00:00Z"
}
], - "total": 4
}Retrieve a single pending ticket by its identifier.
| pending-ticket-id required | string <uuid> The identifier of the pending ticket. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| connection_id | string or null <uuid> Identifier of the connection. |
| scheduled_message required | string or null [ 1 .. 255 ] characters Scheduled message intended for the customer. |
| scheduled_until required | string or null <date-time> The date-time until which this ticket is scheduled. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": null,
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": null,
- "vin": null,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "scheduled_message": "Your ticket has been scheduled. Thank you for your patience.",
- "scheduled_until": "2025-08-01T12:00:00Z"
}Update a single 'Pending' ticket by its identifier.
| pending-ticket-id required | string <uuid> The identifier of the pending ticket. |
The updated 'Pending' ticket.
| scheduled_message required | string or null [ 1 .. 255 ] characters Scheduled message intended for the customer. |
| scheduled_until required | string or null <date-time> The date-time until which this ticket is scheduled. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| connection_id | string or null <uuid> Identifier of the connection. |
| scheduled_message required | string or null [ 1 .. 255 ] characters Scheduled message intended for the customer. |
| scheduled_until required | string or null <date-time> The date-time until which this ticket is scheduled. |
{- "scheduled_message": "Your ticket has been scheduled. Thank you for your patience.",
- "scheduled_until": "2025-08-01T12:00:00Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": null,
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": null,
- "vin": null,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "scheduled_message": "Your ticket has been scheduled. Thank you for your patience.",
- "scheduled_until": "2025-08-01T12:00:00Z"
}Transition a single pending ticket by its identifier.
| pending-ticket-id required | string <uuid> The identifier of the pending ticket. |
The changes you wish to make.
required | Start service (object) Transition this ticket to a different state. | ||||||||
One of
| |||||||||
| Location | string <uri-reference> Example: "/v2/tickets/in-progress-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0" Path to resource the ticket has been transitioned to. |
{- "transition": {
- "type": "start-service",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166"
}
}Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| service_started_at | string <date-time> Date and time service started on this ticket. |
| operator_id | string <uuid> Identifier of the assigned operator. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| outsourced | boolean Reflects whether a ticket has been outsourced at least once to another provider. |
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "service_started_at": "2019-08-24T14:15:22Z",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "voucher_code": "WQ4MM3",
- "outsourced": true,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Retrieve a list of 'In Progress' tickets.
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects (In progress ticket) >= 0 items List of 'In Progress' tickets. | |||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "service_started_at": "2019-08-24T14:15:22Z",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "voucher_code": "WQ4MM3",
- "outsourced": true,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
], - "total": 4
}Retrieve a single 'In Progress' ticket by its identifier.
| in-progress-ticket-id required | string <uuid> The identifier of the 'In Progress' ticket. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| service_started_at | string <date-time> Date and time service started on this ticket. |
| operator_id | string <uuid> Identifier of the assigned operator. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| outsourced | boolean Reflects whether a ticket has been outsourced at least once to another provider. |
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "service_started_at": "2019-08-24T14:15:22Z",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "voucher_code": "WQ4MM3",
- "outsourced": true,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Update a single 'In Progress' ticket by its identifier.
| in-progress-ticket-id required | string <uuid> The identifier of the 'In Progress' ticket. |
The updated 'In Progress' ticket.
| operator_id required | string <uuid> Identifier of the assigned operator. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| service_started_at | string <date-time> Date and time service started on this ticket. |
| operator_id | string <uuid> Identifier of the assigned operator. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| outsourced | boolean Reflects whether a ticket has been outsourced at least once to another provider. |
| connection_id | string or null <uuid> Identifier of the connection. |
{- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "service_started_at": "2019-08-24T14:15:22Z",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "voucher_code": "WQ4MM3",
- "outsourced": true,
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Transition a single 'In Progress' ticket by its identifier.
| in-progress-ticket-id required | string <uuid> The identifier of the 'In Progress' ticket. |
The changes you wish to make.
required | Outsource (object) or Complete (object) or Cancel (object) Transition this ticket to a different state. | ||||||||||||||
One of
| |||||||||||||||
| Location | string <uri-reference> Example: "/v2/tickets/outsourced-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0" Path to resource the ticket has been transitioned to. |
{- "transition": {
- "type": "outsource",
- "allow_customer_chat_write_access": true,
- "product_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "share_customer_information": true
}
}{- "status": 400,
- "type": "about:blank",
- "title": "Some title for the error situation",
- "detail": "Some description for the error situation"
}| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| outsource_provider_id | string <uuid> Identifier of the provider of the outsource. |
| outsource_ticket_id | string <uuid> Identifier of ticket at outsource provider. |
| reclaimable | boolean Whether this ticket can be reclaimed. This is only possible if the outsource ticket is not yet in-progress. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "outsource_ticket_id": "d751d57a-0733-4a09-874a-f41c0ff94e2f",
- "reclaimable": true,
- "voucher_code": "WQ4MM3",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Retrieve a list of 'Outsourced' tickets.
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with |
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects (Outsourced ticket) >= 0 items List of 'Outsourced' tickets. | |||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "outsource_ticket_id": "d751d57a-0733-4a09-874a-f41c0ff94e2f",
- "reclaimable": true,
- "voucher_code": "WQ4MM3",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
], - "total": 4
}Retrieve a single 'Outsourced' ticket by its identifier.
| outsourced-ticket-id required | string <uuid> The identifier of the 'Outsourced' ticket. |
| id | string <uuid> Ticket identifier. |
| created_at | string <date-time> Date and time of creation. |
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. |
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either |
| ticket_number | integer <int64> Human-readable ticket identifier. |
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. |
| outsource_provider_id | string <uuid> Identifier of the provider of the outsource. |
| outsource_ticket_id | string <uuid> Identifier of ticket at outsource provider. |
| reclaimable | boolean Whether this ticket can be reclaimed. This is only possible if the outsource ticket is not yet in-progress. |
| voucher_code | string or null [ 4 .. 8 ] characters [A-Z0-9] Voucher code. |
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
- "outsource_ticket_id": "d751d57a-0733-4a09-874a-f41c0ff94e2f",
- "reclaimable": true,
- "voucher_code": "WQ4MM3",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Transition a single 'Outsourced' ticket by its identifier.
| outsourced-ticket-id required | string <uuid> The identifier of the 'Outsourced' ticket. |
The changes you wish to make.
required | Reclaim (object) Transition this ticket to a different state. | ||||||
One of
| |||||||
| Location | string <uri-reference> Example: "/v2/tickets/in-progress-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0" Path to resource the ticket has been transitioned to. |
{- "transition": {
- "type": "reclaim"
}
}{- "status": 403,
- "type": "about:blank",
- "title": "Forbidden",
- "detail": "You are not authorized to access this resource."
}| id | string <uuid> Ticket identifier. | ||||||
| created_at | string <date-time> Date and time of creation. | ||||||
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. | ||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. | ||||||
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. | ||||||
| finished_at | string <date-time> Date and time service stopped on this ticket. | ||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||
| cancel_reason_id | integer <int32> Reference to a cancel reason. | ||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||
| operator_id | string or null <uuid> Identifier of the assigned operator. When a ticket has been automatically cancelled this value is empty. | ||||||
| external_reference | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||
| vehicle_battery_voltage | string
Detected vehicle battery voltage system 12 volt or 24 volt. | ||||||
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "externally_processed": true,
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "external_reference": "string",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Retrieve a list of 'Cancelled' tickets.
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with | ||||||
| external_reference | string Filter tickets by external reference. | ||||||
| externally_processed | boolean Only return tickets that are or are not processed by an external system. | ||||||
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. | ||||||
| vehicle_battery_voltage | string
Filter tickets by vehicle battery voltage system. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
Array of objects (Cancelled ticket) >= 0 items List of 'Cancelled' tickets. | |||||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "externally_processed": true,
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "external_reference": "string",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
], - "total": 4
}Retrieve a single 'Cancelled' ticket by its identifier.
| cancelled-ticket-id required | string <uuid> The identifier of the 'Cancelled' ticket. |
| id | string <uuid> Ticket identifier. | ||||||
| created_at | string <date-time> Date and time of creation. | ||||||
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. | ||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. | ||||||
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. | ||||||
| finished_at | string <date-time> Date and time service stopped on this ticket. | ||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||
| cancel_reason_id | integer <int32> Reference to a cancel reason. | ||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||
| operator_id | string or null <uuid> Identifier of the assigned operator. When a ticket has been automatically cancelled this value is empty. | ||||||
| external_reference | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||
| vehicle_battery_voltage | string
Detected vehicle battery voltage system 12 volt or 24 volt. | ||||||
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "externally_processed": true,
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "external_reference": "string",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Update a single cancelled ticket by its identifier.
| cancelled-ticket-id required | string <uuid> The identifier of the 'Cancelled' ticket. |
The cancelled ticket you wish to update.
| externally_processed required | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. |
| external_reference required | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. |
| id | string <uuid> Ticket identifier. | ||||||
| created_at | string <date-time> Date and time of creation. | ||||||
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. | ||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. | ||||||
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. | ||||||
| finished_at | string <date-time> Date and time service stopped on this ticket. | ||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||
| cancel_reason_id | integer <int32> Reference to a cancel reason. | ||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||
| operator_id | string or null <uuid> Identifier of the assigned operator. When a ticket has been automatically cancelled this value is empty. | ||||||
| external_reference | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||
| vehicle_battery_voltage | string
Detected vehicle battery voltage system 12 volt or 24 volt. | ||||||
| connection_id | string or null <uuid> Identifier of the connection. |
{- "externally_processed": true,
- "external_reference": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "cancel_reason_id": 0,
- "externally_processed": true,
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "external_reference": "string",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Transition a single 'Cancelled' ticket by its identifier.
| cancelled-ticket-id required | string <uuid> The identifier of the 'Cancelled' ticket. |
The changes you wish to make.
required | Complete (object) Transition this ticket to a different state. | ||||||
One of
| |||||||
| Location | string <uri-reference> Example: "/v2/tickets/closed-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0" Path to resource the ticket has been transitioned to. |
{- "transition": {
- "type": "complete"
}
}{- "status": 400,
- "type": "about:blank",
- "title": "Some title for the error situation",
- "detail": "Some description for the error situation"
}| id | string <uuid> Ticket identifier. | ||||||
| created_at | string <date-time> Date and time of creation. | ||||||
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. | ||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. | ||||||
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. | ||||||
| finished_at | string <date-time> Date and time service stopped on this ticket. | ||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||
| external_reference | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||
| operator_id | string <uuid> Identifier of the assigned operator. | ||||||
| vehicle_battery_voltage | string
Detected vehicle battery voltage system 12 volt or 24 volt. | ||||||
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "externally_processed": true,
- "external_reference": "string",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Retrieve a list of 'Closed' tickets.
| expected_voltage | number <int32> >= 0 Filter tickets by expected vehicle voltage. Currently only tickets with | ||||||
| external_reference | string Filter tickets by external reference. | ||||||
| externally_processed | boolean Only return tickets that are or are not processed by an external system. | ||||||
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| ticket_number | number <int64> Example: ticket_number=7179072 Filter tickets by ticket number. | ||||||
| vehicle_battery_voltage | string
Filter tickets by vehicle battery voltage system. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Array of objects (Closed ticket) >= 0 items List of 'Closed' tickets. | |||||||||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "externally_processed": true,
- "external_reference": "string",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}
], - "total": 4
}Retrieve a single 'Closed' ticket by its identifier.
| closed-ticket-id required | string <uuid> The identifier of the 'Closed' ticket. |
| id | string <uuid> Ticket identifier. | ||||||
| created_at | string <date-time> Date and time of creation. | ||||||
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. | ||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. | ||||||
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. | ||||||
| finished_at | string <date-time> Date and time service stopped on this ticket. | ||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||
| external_reference | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||
| operator_id | string <uuid> Identifier of the assigned operator. | ||||||
| vehicle_battery_voltage | string
Detected vehicle battery voltage system 12 volt or 24 volt. | ||||||
| connection_id | string or null <uuid> Identifier of the connection. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "externally_processed": true,
- "external_reference": "string",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Update a single closed ticket by its identifier.
| closed-ticket-id required | string <uuid> The identifier of the 'Closed' ticket. |
The closed ticket you wish to update.
| externally_processed required | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. |
| external_reference required | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. |
| id | string <uuid> Ticket identifier. | ||||||
| created_at | string <date-time> Date and time of creation. | ||||||
| customer_id | string <uuid> Identifier of the customer for whom the ticket was created. | ||||||
| expected_voltage | number <int32> Expected voltage of the vehicle of the ticket. Either | ||||||
| ticket_number | integer <int64> Human-readable ticket identifier. | ||||||
| vehicle_model_id | integer <int64> Identifier of the vehicle model on the ticket. | ||||||
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle on the ticket. | ||||||
| finished_at | string <date-time> Date and time service stopped on this ticket. | ||||||
| first_local_added_at | string or null <date-time> Date and time the first local was added to the ticket. | ||||||
| externally_processed | boolean Whether this ticket has been processed by an external system. This field is purely present to allow an external system to easily register if it has already "processed" it. This property value is never changed from within the Jifeline system. | ||||||
| external_reference | string <= 255 characters Reference of this ticket to something in an external system. This property value is never changed from within the Jifeline system. | ||||||
| operator_id | string <uuid> Identifier of the assigned operator. | ||||||
| vehicle_battery_voltage | string
Detected vehicle battery voltage system 12 volt or 24 volt. | ||||||
| connection_id | string or null <uuid> Identifier of the connection. |
{- "externally_processed": true,
- "external_reference": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expected_voltage": 12,
- "ticket_number": 7440303,
- "vehicle_model_id": 0,
- "vin": "JH4KA7630PC007649",
- "finished_at": "2019-08-24T14:15:22Z",
- "first_local_added_at": "2019-08-24T14:15:22Z",
- "externally_processed": true,
- "external_reference": "string",
- "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166",
- "vehicle_battery_voltage": "12v",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"
}Transition a single 'Closed' ticket by its identifier.
| closed-ticket-id required | string <uuid> The identifier of the 'Closed' ticket. |
The changes you wish to make.
required | Cancel (object) Transition this ticket to a different state. | ||||||||
One of
| |||||||||
| Location | string <uri-reference> Example: "/v2/tickets/cancelled-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0" Path to resource the ticket has been transitioned to. |
{- "transition": {
- "type": "cancel",
- "cancel_reason_id": 0
}
}{- "status": 400,
- "type": "about:blank",
- "title": "Some title for the error situation",
- "detail": "Some description for the error situation"
}openOBD sessions are sessions that can be created to automate diagnostic routines using gRPC. The session allows direct communication with a vehicle, as well as interacting with the vehicle side technician through a user interface. A newly created session will have to be activated through gRPC before communication is possible. More information on openOBD and the available gRPC calls can be found at https://docs.openobd.com.
| id | string <uuid> The identifier of the openOBD function. | ||||||
| description | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
| online | boolean Whether the function is currently available to be run. | ||||||
object (Money) Price that should be paid for a function invocation. | |||||||
| |||||||
| provider_id | string <uuid> The identifier of the provider that provides this function. | ||||||
| public | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items [ items <uuid > ] Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items [ items <int64 > ] Supported vehicles as set by the function owner. | ||||||
| version | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility | string (FunctionVisibility)
Determines where the function will be shown. Does not affect whether the function can be run or not. | ||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "online": true,
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}| id | string <uuid> Identifier referencing this specific openOBD session. | ||||||||||||
| authentication_token | string Token required to be passed to the gRPC endpoint to activate the openOBD session. One time use only. | ||||||||||||
| created_at | string <date-time> Time when the session was created. | ||||||||||||
| grpc_endpoint | string <uri> Endpoint to communicate to when using gRPC. | ||||||||||||
| state | string
The current state of the openOBD session. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}Get a list of openOBD sessions.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects (Session) >= 0 items List of sessions. | |||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}
], - "total": 4
}Get info on an openOBD session.
| session-id required | string <uuid> The identifier of the session. |
| id | string <uuid> Identifier referencing this specific openOBD session. | ||||||||||||
| authentication_token | string Token required to be passed to the gRPC endpoint to activate the openOBD session. One time use only. | ||||||||||||
| created_at | string <date-time> Time when the session was created. | ||||||||||||
| grpc_endpoint | string <uri> Endpoint to communicate to when using gRPC. | ||||||||||||
| state | string
The current state of the openOBD session. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}Interrupt an openOBD session.
| session-id required | string <uuid> The identifier of the session. |
| id | string <uuid> Identifier referencing this specific openOBD session. | ||||||||||||
| authentication_token | string Token required to be passed to the gRPC endpoint to activate the openOBD session. One time use only. | ||||||||||||
| created_at | string <date-time> Time when the session was created. | ||||||||||||
| grpc_endpoint | string <uri> Endpoint to communicate to when using gRPC. | ||||||||||||
| state | string
The current state of the openOBD session. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}openOBD functions are functions that can be created to automate diagnostic routines using gRPC. The function is a predefined procedure that can be created to perform an automated task.
Get a list of openOBD functions to perform an automated service.
| description | string Filter functions by their description. | ||||||
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| name | string Filter functions by their name. | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| online | boolean Filter between online and offline functions. | ||||||
| product | Array of strings <uuid> non-empty unique [ items <uuid > ] Example: product=6effe77b-3756-11ec-80c7-02ae699427ce,6effed19-3756-11ec-80c7-02ae699427ce Filter functions by supported product identifiers. The returned functions will support at least one of the given products. | ||||||
| vehicle | Array of integers <int64> non-empty unique [ items <int64 > ] Example: vehicle=49,12 Filter functions by supported vehicle identifier. The returned functions will support at least one of the given vehicles. | ||||||
| version | string Example: version=beta 1.12.3a (semi-production) Filter functions by their version. Any string is allowed. | ||||||
| visibility | string (FunctionVisibility)
Filter functions by their visibility. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Array of objects (Function) >= 0 items List of functions. | |||||||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "online": true,
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}
], - "total": 4
}Create an openOBD function.
Function information to register.
| id required | string <uuid> The identifier of the openOBD function. | ||||||
| description required | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name required | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
required | object (Money) Price that should be paid for a function invocation. | ||||||
| |||||||
| public required | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items [ items <uuid > ] Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items [ items <int64 > ] Supported vehicles as set by the function owner. | ||||||
| version required | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility required | string (FunctionVisibility)
Determines where the function will be shown. Does not affect whether the function can be run or not. | ||||||
| signature required | string The signature that corresponds with the id of the function. Retrievable from the function-broker. see: https://docs.openobd.com/latest/academy/functions/signature/ | ||||||
| id | string <uuid> The identifier of the openOBD function. | ||||||
| description | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
| online | boolean Whether the function is currently available to be run. | ||||||
object (Money) Price that should be paid for a function invocation. | |||||||
| |||||||
| provider_id | string <uuid> The identifier of the provider that provides this function. | ||||||
| public | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items [ items <uuid > ] Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items [ items <int64 > ] Supported vehicles as set by the function owner. | ||||||
| version | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility | string (FunctionVisibility)
Determines where the function will be shown. Does not affect whether the function can be run or not. | ||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden",
- "signature": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "online": true,
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}Retrieve info on a specific openOBD functions to perform an automated service.
| function-id required | string <uuid> The identifier of the openOBD function. |
| id | string <uuid> The identifier of the openOBD function. | ||||||
| description | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
| online | boolean Whether the function is currently available to be run. | ||||||
object (Money) Price that should be paid for a function invocation. | |||||||
| |||||||
| provider_id | string <uuid> The identifier of the provider that provides this function. | ||||||
| public | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items [ items <uuid > ] Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items [ items <int64 > ] Supported vehicles as set by the function owner. | ||||||
| version | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility | string (FunctionVisibility)
Determines where the function will be shown. Does not affect whether the function can be run or not. | ||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "online": true,
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}Updates an existing function.
| function-id required | string <uuid> The identifier of the openOBD function. |
Function information to store.
| id required | string <uuid> The identifier of the openOBD function. | ||||||
| description required | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name required | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
required | object (Money) Price that should be paid for a function invocation. | ||||||
| |||||||
| public required | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items [ items <uuid > ] Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items [ items <int64 > ] Supported vehicles as set by the function owner. | ||||||
| version required | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility required | string (FunctionVisibility)
Determines where the function will be shown. Does not affect whether the function can be run or not. | ||||||
| id | string <uuid> The identifier of the openOBD function. | ||||||
| description | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
| online | boolean Whether the function is currently available to be run. | ||||||
object (Money) Price that should be paid for a function invocation. | |||||||
| |||||||
| provider_id | string <uuid> The identifier of the provider that provides this function. | ||||||
| public | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items [ items <uuid > ] Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items [ items <int64 > ] Supported vehicles as set by the function owner. | ||||||
| version | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility | string (FunctionVisibility)
Determines where the function will be shown. Does not affect whether the function can be run or not. | ||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "online": true,
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}Deleted an existing function.
| function-id required | string <uuid> The identifier of the openOBD function. |
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}| id | string <uuid> Identifier of odometer registration. |
| created_at | string <date-time> Date and time of creation. |
| is_breaking | boolean Whether this registration is breaking the trend of increasing registrations, meaning its value is lower then the previous registration for the same VIN. |
| value | number <float> [ 1 .. 1000000000 ] Odometer registration in kilometers. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle for this odometer registration. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2023-03-15T08:12:28Z",
- "is_breaking": true,
- "value": 182432.42,
- "vin": "JH4KA7630PC007649"
}Retrieve a list of odometer registrations for a vehicle.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. | ||||||
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. | ||||||
| sort_by[] | Array of strings non-empty Default: "created_at:asc"
Example: sort_by[]=created_at:asc Sort odometer registrations. | ||||||
| vin required | string = 17 characters Example: vin=JH4KA7630PC007649 Vehicle Identification Number (VIN) to get odometer registrations for. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||
| |||||||||||||||||
Array of objects (Odometer registration) >= 0 items List of odometer registrations for given vin sorted by | |||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||
{- "query": {
- "limit": 25,
- "sort_by": [
- "created_at:asc"
]
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2023-03-15T08:12:28Z",
- "is_breaking": true,
- "value": 182432.42,
- "vin": "JH4KA7630PC007649"
}
], - "total": 4
}Add a new odometer registration for a vehicle.
The odometer registration you wish to add.
| value required | number <float> [ 1 .. 1000000000 ] Odometer registration in kilometers. |
| vin required | string = 17 characters Vehicle Identification Number (VIN) of the vehicle for this odometer registration. |
| ticket_id required | string <uuid> Identifier of the ticket. |
| id | string <uuid> Identifier of odometer registration. |
| created_at | string <date-time> Date and time of creation. |
| is_breaking | boolean Whether this registration is breaking the trend of increasing registrations, meaning its value is lower then the previous registration for the same VIN. |
| value | number <float> [ 1 .. 1000000000 ] Odometer registration in kilometers. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle for this odometer registration. |
{- "value": 182432.42,
- "vin": "JH4KA7630PC007649",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2023-03-15T08:12:28Z",
- "is_breaking": true,
- "value": 182432.42,
- "vin": "JH4KA7630PC007649"
}Retrieve single odometer registration for a vehicle by identifier.
| odometer-registration-id required | string <uuid> Identifier of the odometer registration. |
| id | string <uuid> Identifier of odometer registration. |
| created_at | string <date-time> Date and time of creation. |
| is_breaking | boolean Whether this registration is breaking the trend of increasing registrations, meaning its value is lower then the previous registration for the same VIN. |
| value | number <float> [ 1 .. 1000000000 ] Odometer registration in kilometers. |
| vin | string = 17 characters Vehicle Identification Number (VIN) of the vehicle for this odometer registration. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2023-03-15T08:12:28Z",
- "is_breaking": true,
- "value": 182432.42,
- "vin": "JH4KA7630PC007649"
}| id | integer <int64> Vehicle make identifier. |
| enabled | boolean Whether the vehicle make is enabled. |
| name | string [ 1 .. 255 ] characters Name of vehicle make. |
{- "id": 49,
- "enabled": true,
- "name": "FORD"
}Retrieve a list of vehicle makes.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||
| |||||||
Array of objects (Make) >= 0 items List of makes. | |||||||
Array (>= 0 items)
| |||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 49,
- "enabled": true,
- "name": "FORD"
}
], - "total": 4
}Retrieve a vehicle make by its identifier.
| make-id required | integer <int64> Vehicle make identifier. |
| id | integer <int64> Vehicle make identifier. |
| enabled | boolean Whether the vehicle make is enabled. |
| name | string [ 1 .. 255 ] characters Name of vehicle make. |
{- "id": 49,
- "enabled": true,
- "name": "FORD"
}| id | integer <int64> Vehicle model group identifier. |
| enabled | boolean Whether the vehicle model group is enabled. |
| make_id | integer Vehicle make identifier. |
| name | string [ 1 .. 255 ] characters Name of vehicle model group. |
{- "id": 5796,
- "enabled": true,
- "make_id": 49,
- "name": "FOCUS"
}Retrieve a list of vehicle model groups.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| make_id | integer <int64> Filter vehicle model groups by make identifier. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||
| |||||||||
Array of objects (Model group) >= 0 items List of model groups. | |||||||||
Array (>= 0 items)
| |||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 5796,
- "enabled": true,
- "make_id": 49,
- "name": "FOCUS"
}
], - "total": 4
}Retrieve a single vehicle model group by its identifier.
| model-group-id required | integer <int64> Vehicle model group identifier. |
| id | integer <int64> Vehicle model group identifier. |
| enabled | boolean Whether the vehicle model group is enabled. |
| make_id | integer Vehicle make identifier. |
| name | string [ 1 .. 255 ] characters Name of vehicle model group. |
{- "id": 5796,
- "enabled": true,
- "make_id": 49,
- "name": "FOCUS"
}| id | integer <int64> Vehicle model identifier. |
| enabled | boolean Whether the vehicle model is enabled. A disabled vehicle model cannot be used to create new tickets. |
| make_id | integer <int64> Vehicle make identifier. |
| manufactured_from | string or null <date> Date on which vehicle model manufacturing started (first of month). |
| manufactured_till | string or null <date> Date on which vehicle model manufacturing ended (end of month). |
| model_group_id | integer <int64> Vehicle model group identifier. |
| name | string [ 1 .. 255 ] characters Name of vehicle model. |
| tecdoc_id | string or null non-empty Identifier used by TecDoc for this vehicle model. |
{- "id": 5874,
- "enabled": true,
- "make_id": 49,
- "manufactured_from": "2010-01-01",
- "manufactured_till": "2015-06-30",
- "model_group_id": 5796,
- "name": "FOCUS - III",
- "tecdoc_id": "string"
}Retrieve a list of vehicle models.
| limit | integer <int32> [ 0 .. 1000 ] Default: 25 Limits the amount of resources in result. |
| make_id | integer <int64> Filter vehicle models by make identifier. |
| model_group_id | integer <int64> Filter vehicle models by model group identifier. |
| offset | integer <int64> >= 0 Default: 0 Offset of resources in result. |
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||
| |||||||||||||||||
Array of objects (Model) >= 0 items List of models. | |||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||
| total | integer <int64> Total number of resources matching provided query parameters. | ||||||||||||||||
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": 5874,
- "enabled": true,
- "make_id": 49,
- "manufactured_from": "2010-01-01",
- "manufactured_till": "2015-06-30",
- "model_group_id": 5796,
- "name": "FOCUS - III",
- "tecdoc_id": "string"
}
], - "total": 4
}Retrieve a single vehicle model by its identifier.
| model-id required | integer <int64> Vehicle model identifier. |
| id | integer <int64> Vehicle model identifier. |
| enabled | boolean Whether the vehicle model is enabled. A disabled vehicle model cannot be used to create new tickets. |
| make_id | integer <int64> Vehicle make identifier. |
| manufactured_from | string or null <date> Date on which vehicle model manufacturing started (first of month). |
| manufactured_till | string or null <date> Date on which vehicle model manufacturing ended (end of month). |
| model_group_id | integer <int64> Vehicle model group identifier. |
| name | string [ 1 .. 255 ] characters Name of vehicle model. |
| tecdoc_id | string or null non-empty Identifier used by TecDoc for this vehicle model. |
{- "id": 5874,
- "enabled": true,
- "make_id": 49,
- "manufactured_from": "2010-01-01",
- "manufactured_till": "2015-06-30",
- "model_group_id": 5796,
- "name": "FOCUS - III",
- "tecdoc_id": "string"
}