Jifeline Partner API (1.0.0)

Download OpenAPI specification:

Jifeline Networks: info@jifeline.com

RESTful API for use in system-to-system processes.

Authentication

Prerequisites

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.

API credentials management

  1. Login into your Partner Portal.
  2. Go to "Settings" via the menu on the left side.
  3. Click on the "Manage Partner API credentials"-button to go to the API credentials management screen.

Create new API credentials

  1. In the API credentials management screen.
  2. Click "Add new API credentials" button at the bottom to open a form.
  3. Provide a "Credential name" which allows you to quickly recognize the intended use of the new credentials. E.g. the name of the application that will be using it.
  4. Specify if the credentials should provide full access to your entire portal, a General credential set, or only access things that are for a specific branding profile, a Branding specific credential set.
  5. If you chose "Branding specific credential set", choose the correct branding profile.
  6. Click "Generate".
  7. Check your e-mail inbox. Within a few minutes you should receive an e-mail containing the Client ID and Client Secret.

Be aware: the Client Secret is only provided once so keep this value somewhere safe.

Retrieving a token

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.

Request parameters in header

Content-Type : Set the value of this parameter to application/x-www-form-urlencoded.

Request parameters in body

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.

Response

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

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"
}

Token validity

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.

Using your token

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

Example code

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.

Concepts

Api Calls

The Partner API is a RESTFull API with different endpoints which return JSON data regarding all sorts of resources.

Base URL

The base address of the Partner API is https://partner-api-001.prd.jifeline.cloud.

Requests

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

Throttle Limits

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.

Tips to reduce API usage

1. Use caching

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.

2. Avoid polling too frequently

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.

3. Implement exponential backoff

If you hit rate limits, use exponential backoff strategies when retrying requests, rather than retrying immediately.

4. Monitor your usage

Regularly monitor your API usage and set up alerts or dashboards to track it over time. This helps you stay ahead of potential issues.

5. Throttle client requests

Add throttling logic to your application to control how frequently it makes API calls. This can help prevent sudden spikes in traffic.

Responses

The Partner API normally returns JSON in the response body (unless explicitly defined otherwise).

Response status codes

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

Rate Limit Exceeded Response

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.

Error response

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."
}
  • The status property contains the status code from the response.
  • The title property contains short a human-readable summary of the occurred problem.
  • The detail property contains a detailed human-readable description of the occurred problem and usually provides more insight into the resolution (if any).
  • The 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.


Collection 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
}
  • The 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.
  • The result property will contain a list of zero or more resources matching the executed query.
  • The total property will contain the total number of resources matching provided query parameters.

Pagination

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).

  • The limit parameter can be used to control the maximum amount of resource returned per page.
  • The 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
}

Data types

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"

OAuth2

OAuth2 is used as the authentication protocol for this API.

Obtain access token

Obtain access token with App client_id and client_secret. For more information, see Authentication section.

Request Body schema: application/x-www-form-urlencoded
required
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
Value Description
client_credentials

The only supported OAuth grant type.

The OAuth framework specifies several grant types for different use cases. Use "client_credentials" here.

Responses

Response Schema: application/json
access_token
expires_in
integer

The validity of the token in seconds.

token_type
string
Value Description
Bearer

Bearer format

The type of the token.

Response samples

Content type
application/json
{
  • "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"
}

Customers

Customers describe the workshops for which you perform services via tickets.

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 null these invoices should go the customer itself.

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"
}

Custom field values

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 all customers

Retrieve a list of customers.

Authorizations:
OAuth2
query Parameters
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"
Items Enum Description
company_name:asc

Sort by company name, A-Z

company_name:desc

Sort by company name, Z-A

Sort customers.

updated_after
string <date-time>

Return only customers that were updated after this date-time.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

sort_by
Array of strings non-empty
Default: ["company_name:asc"]
Items Enum Description
company_name:asc

Sort by company name, A-Z

company_name:desc

Sort by company name, Z-A

The applied value of the sort_by[] query parameter on the resources in result.

property name*
additional property
any
Array of objects (Customer) >= 0 items

List of customers.

Array (>= 0 items)
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 null these invoices should go the customer itself.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add customer

Add a new customer.

Authorizations:
OAuth2
Request Body schema: application/json
required

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 null these invoices should go the customer itself.

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.

Responses

Response Schema: application/json
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 null these invoices should go the customer itself.

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.

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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"
}

Retrieve a customer

Retrieves the details of an existing customer using the provided identifier.

Authorizations:
OAuth2
path Parameters
customer-id
required
string <uuid>

The identifier of the customer.

Responses

Response Schema: application/json
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 null these invoices should go the customer itself.

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.

Response samples

Content type
application/json
{
  • "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 customer

Update a customer by its identifier.

Authorizations:
OAuth2
path Parameters
customer-id
required
string <uuid>

The identifier of the customer.

Request Body schema: application/json
required

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 null these invoices should go the customer itself.

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.

Responses

Response Schema: application/json
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 null these invoices should go the customer itself.

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.

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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 customer

Delete a customer by its identifier.

A customer cannot be deleted when:

  • It has employees with a username.
  • It has created tickets.
Authorizations:
OAuth2
path Parameters
customer-id
required
string <uuid>

The identifier of the customer.

Responses

Response samples

Content type
application/problem+json
Example
{
  • "status": 403,
  • "type": "about:blank",
  • "title": "Forbidden",
  • "detail": "You are not authorized to access this resource."
}

Retrieve custom field values of a customer

Retrieves the custom field values of an existing customer using the provided identifier.

Authorizations:
OAuth2
path Parameters
customer-id
required
string <uuid>

The identifier of the customer.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "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 custom field values of a customer

Update the custom field values of an existing customer using the provided identifier.

Authorizations:
OAuth2
path Parameters
customer-id
required
string <uuid>

The identifier of the customer.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
}

Connectors

Manage the connectors of your customers.

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
Enum Description
physical

A physical connector.

virtual

A virtual connector.

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 connectors

Retrieve a list of connectors.

Authorizations:
OAuth2
query Parameters
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
Items Enum Description
physical

A physical connector.

virtual

A virtual connector.

Example: type=virtual

Filter connectors by one or more type.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Connector) >= 0 items

List of connectors.

Array (>= 0 items)
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
Enum Description
physical

A physical connector.

virtual

A virtual connector.

The type of connector.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a single connector

Retrieve a single connector by its identifier.

Authorizations:
OAuth2
path Parameters
connector-id
required
string <uuid>

The identifier of the connector.

Responses

Response Schema: application/json
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
Enum Description
physical

A physical connector.

virtual

A virtual connector.

The type of connector.

Response samples

Content type
application/json
{
  • "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 a connector

Update connector settings.

Authorizations:
OAuth2
path Parameters
connector-id
required
string <uuid>

The identifier of the connector.

Request Body schema: application/json
required

The connector settings you want to update.

customer_id
string or null <uuid>

Reference to customer to which the connector is assigned.

Responses

Response Schema: application/json
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
Enum Description
physical

A physical connector.

virtual

A virtual connector.

The type of connector.

Request samples

Content type
application/json
{
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e"
}

Response samples

Content type
application/json
{
  • "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"
}

Contact points

Manage a customer's contact points.

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"
}

Retrieve contact points

Retrieve a list of customer contact points.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Contact point) >= 0 items

List of contact points.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add contact point

Add a new contact point.

Authorizations:
OAuth2
Request Body schema: application/json

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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 contact point

Retrieves a contact point by its identifier.

Authorizations:
OAuth2
path Parameters
contact-point-id
required
string <uuid>

The identifier of the contact point.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "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 contact point

Update a contact point by its identifier.

Authorizations:
OAuth2
path Parameters
contact-point-id
required
string <uuid>

The identifier of the contact point.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "email_address": "support@jifeline.com",
  • "label": "Customer support",
  • "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
  • "phone_number": "+31611111111"
}

Response samples

Content type
application/json
{
  • "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 contact point

Remove a contact point by its identifier.

Authorizations:
OAuth2
path Parameters
contact-point-id
required
string <uuid>

The identifier of the contact point.

Responses

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

Custom fields

Configure custom customer attributes.

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"
}

Retrieve all custom fields

Retrieve a list of custom fields.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Custom field) >= 0 items

List of custom fields.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a single custom field

Retrieve a single custom field by its identifier.

Authorizations:
OAuth2
path Parameters
custom-field-id
required
integer <int32>

The identifier of the custom field.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": 1,
  • "label": "ERP administration code"
}

Update a custom field

Update the settings for a custom field.

Authorizations:
OAuth2
path Parameters
custom-field-id
required
integer <int32>

The identifier of the custom field.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "label": "ERP administration code"
}

Response samples

Content type
application/json
{
  • "id": 1,
  • "label": "ERP administration code"
}

Employees

Manage a customer's employees.

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"
}

Retrieve employees

Retrieve a list of all employees.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

enabled
boolean
Default: true

The applied value of the enabled query parameter on the resources in result.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Employee) >= 0 items

List of all employees for all customers.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add employee

Add a new employee.

Authorizations:
OAuth2
Request Body schema: application/json

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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 an employee

Retrieves an employee by its identifier.

Authorizations:
OAuth2
path Parameters
employee-id
required
string <uuid>

The identifier of the employee.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "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 employee

Update an employee by its identifier.

Authorizations:
OAuth2
path Parameters
employee-id
required
string <uuid>

The identifier of the employee.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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 employee

Remove an employee by its identifier. You can only remove employees without a username.

Authorizations:
OAuth2
path Parameters
employee-id
required
string <uuid>

The identifier of the employee.

Responses

Response samples

Content type
application/problem+json
Example
{
  • "status": 403,
  • "type": "about:blank",
  • "title": "Forbidden",
  • "detail": "You are not authorized to access this resource."
}

Get employee OTP [BETA]

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.

BETA

Authorizations:
OAuth2
path Parameters
employee-id
required
string <uuid>

The identifier of the employee.

Responses

Response Schema: application/json
otp
string <uuid>

The one-time-password for the employee.

Response samples

Content type
application/json
{
  • "otp": "05448389-4014-49af-896e-15b60a07ae8b"
}

Locations

Manage a customer's locations.

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"
}

Retrieve locations

Retrieve a list of registered customer locations.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Location) >= 0 items

List of locations.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add location

Add a new customer location.

Authorizations:
OAuth2
Request Body schema: application/json

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "city": "Arnhem",
  • "country": "NL",
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  • "label": "Location Willemsplein",
  • "number": "3a",
  • "postal_code": "6811KA",
  • "street_name": "Willemsplein"
}

Response samples

Content type
application/json
{
  • "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 customer location

Retrieves a location by its identifier.

Authorizations:
OAuth2
path Parameters
location-id
required
string <uuid>

The identifier of the location.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "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 location

Update a location by its identifier.

Authorizations:
OAuth2
path Parameters
location-id
required
string <uuid>

The identifier of the location.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "city": "Arnhem",
  • "country": "NL",
  • "label": "Location Willemsplein",
  • "number": "3a",
  • "postal_code": "6811KA",
  • "street_name": "Willemsplein"
}

Response samples

Content type
application/json
{
  • "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 location

Remove a location by its identifier.

Authorizations:
OAuth2
path Parameters
location-id
required
string <uuid>

The identifier of the location.

Responses

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

Applications

The product catalog contains applications which are described here. Only enabled applications are available on a ticket.

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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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": {
    },
  • "insourceable": true,
  • "operator_only": true,
  • "original_equipment_service_fee": {
    },
  • "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Retrieve all applications

Returns a list of your product catalog applications. The applications are returned sorted by their product identifier, in descending order.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Application) >= 0 items

List of product applications.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add an application

Add a product catalog application.

Authorizations:
OAuth2
Request Body schema: application/json
required

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.

amount
required
number <float> >= 0

The monetary amount.

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.

amount
required
number <float> >= 0

The monetary amount.

outsource_provider_id
string or null <uuid>

Outsource provider identifier, if set and available.

Responses

Response Schema: application/json
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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

Request samples

Content type
application/json
{
  • "enabled": true,
  • "gross_price": {
    },
  • "insourceable": true,
  • "operator_only": true,
  • "original_equipment_service_fee": {
    },
  • "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93"
}

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "vehicle_model_id": 0,
  • "enabled": true,
  • "gross_price": {
    },
  • "insourceable": true,
  • "operator_only": true,
  • "original_equipment_service_fee": {
    },
  • "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Retrieve an application

Retrieve a single product catalog application by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Responses

Response Schema: application/json
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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "vehicle_model_id": 0,
  • "enabled": true,
  • "gross_price": {
    },
  • "insourceable": true,
  • "operator_only": true,
  • "original_equipment_service_fee": {
    },
  • "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Update an application

Update a single product catalog application by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Request Body schema: application/json
required

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.

amount
required
number <float> >= 0

The monetary amount.

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.

amount
required
number <float> >= 0

The monetary amount.

outsource_provider_id
string or null <uuid>

Outsource provider identifier, if set and available.

Responses

Response Schema: application/json
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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

Request samples

Content type
application/json
{
  • "enabled": true,
  • "gross_price": {
    },
  • "insourceable": true,
  • "operator_only": true,
  • "original_equipment_service_fee": {
    },
  • "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93"
}

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "vehicle_model_id": 0,
  • "enabled": true,
  • "gross_price": {
    },
  • "insourceable": true,
  • "operator_only": true,
  • "original_equipment_service_fee": {
    },
  • "outsource_provider_id": "bb1d5cca-3595-41db-afc4-9023f6904f93",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Outsource applications

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.

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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

object (Money)

The gross price to pay to the provider when outsourcing this product for this vehicle model to this provider.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

object (Money)

The original equipment service fee to pay to the provider when outsourcing this product for this vehicle model to this provider.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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": {
    },
  • "gross_price": {
    },
  • "original_equipment_service_fee": {
    },
  • "updated_at": "2019-08-24T14:15:22Z"
}

Retrieve all outsource applications

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.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Outsource application) >= 0 items

List of outsource applications.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve outsource application

Retrieve a single outsource application by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Responses

Response Schema: application/json
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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

object (Money)

The gross price to pay to the provider when outsourcing this product for this vehicle model to this provider.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

object (Money)

The original equipment service fee to pay to the provider when outsourcing this product for this vehicle model to this provider.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

updated_at
string or null <date-time>

Date and time of last update.

Response samples

Content type
application/json
{
  • "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "vehicle_model_id": 0,
  • "discount": {
    },
  • "gross_price": {
    },
  • "original_equipment_service_fee": {
    },
  • "updated_at": "2019-08-24T14:15:22Z"
}

Services

Services represent applicable products to specific vehicle models and contain pricing details for specified customer scenarios.

Service

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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

object (Money)

The gross price that a customer needs to pay for this application, based on the provided or default branding profile.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "vehicle_model_id": 0,
  • "discount": {
    },
  • "gross_price": {
    },
  • "operator_only": true,
  • "original_equipment_service_fee": {
    }
}

Retrieve all services

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.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Service) >= 0 items

List of services.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Price list codes

Price list codes describes the discount matrix use to calculate nett product prices for your customers.

Price list code

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 all price list codes

Retrieve a list of price list codes.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Price list code) >= 0 items

List of price list codes.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a price list code

Retrieve a single price list code by its identifier.

Authorizations:
OAuth2
path Parameters
price-list-code-id
required
string <uuid>

Price list code identifier.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "code": "VOG30",
  • "description": "30% discount for all product-groups"
}

Products

Products represent the services that you can configure within your product catalog.

Product

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
Enum Description
base

Base products are available to all service providers and can be used with in- and outsourcing

custom

Custom products are only available within your portal and cannot be using with in- or outsourcing

voucher

Product with this type is used to provide the discount of a voucher on a ticket

The type of product.

{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "enabled": true,
  • "name": "Remote Diagnostic Support",
  • "product_number": "0000001",
  • "type": "base"
}

Retrieve products

Retrieve a list of products.

Authorizations:
OAuth2
query Parameters
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"
Items Enum Description
base

Base products are available to all service providers and can be used with in- and outsourcing

custom

Custom products are only available within your portal and cannot be using with in- or outsourcing

voucher

Product with this type is used to provide the discount of a voucher on a ticket

Filter products by one or more types.

header Parameters
Accept-Language
string
Default: en
Examples:
  • fr-CH - French (Switzerland)
  • fr-CH,fr;q=0.9,en;q=0.8,de;q=0.7 - Multiple types, weighted with the quality value syntax

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

type
Array of strings (type) non-empty unique
Default: ["base","custom","voucher"]
Items Enum Description
base

Base products are available to all service providers and can be used with in- and outsourcing

custom

Custom products are only available within your portal and cannot be using with in- or outsourcing

voucher

Product with this type is used to provide the discount of a voucher on a ticket

The applied value of the type query parameter on the resources in result.

property name*
additional property
any
Array of objects (Product) >= 0 items

List of products.

Array (>= 0 items)
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
Enum Description
base

Base products are available to all service providers and can be used with in- and outsourcing

custom

Custom products are only available within your portal and cannot be using with in- or outsourcing

voucher

Product with this type is used to provide the discount of a voucher on a ticket

The type of product.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve single product

Retrieve a single product by its identifier.

Authorizations:
OAuth2
path Parameters
product-id
required
string <uuid>

The identifier of the product you want to operate on.

header Parameters
Accept-Language
string
Default: en
Examples:
  • fr-CH - French (Switzerland)
  • fr-CH,fr;q=0.9,en;q=0.8,de;q=0.7 - Multiple types, weighted with the quality value syntax

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.

Responses

Response Schema: application/json
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
Enum Description
base

Base products are available to all service providers and can be used with in- and outsourcing

custom

Custom products are only available within your portal and cannot be using with in- or outsourcing

voucher

Product with this type is used to provide the discount of a voucher on a ticket

The type of product.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "enabled": true,
  • "name": "Remote Diagnostic Support",
  • "product_number": "0000001",
  • "type": "base"
}

Product alternative names

Products can be named alternatively for different vehicles.

Product Alternative Name

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 product alternative names

Retrieve a list of alternative, vehicle specific, names for product.

Authorizations:
OAuth2
query Parameters
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.

header Parameters
Accept-Language
string
Default: en
Examples:
  • fr-CH - French (Switzerland)
  • fr-CH,fr;q=0.9,en;q=0.8,de;q=0.7 - Multiple types, weighted with the quality value syntax

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Product Alternative Name) >= 0 items

List of product alternative names.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Product prerequisites

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.

Product Prerequisite

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
Enum Description
boolean

The customer needs to answer with true or false.

checkbox

The customer needs to answer with true or false.

text

The customer can fill in text as the answer.

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 product prerequisites

Retrieve a list of prerequisites for one or more products. Prerequisites may vary depending on the vehicle.

Authorizations:
OAuth2
query Parameters
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.

header Parameters
Accept-Language
string
Default: en
Examples:
  • fr-CH - French (Switzerland)
  • fr-CH,fr;q=0.9,en;q=0.8,de;q=0.7 - Multiple types, weighted with the quality value syntax

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

product_id
Array of strings <uuid> non-empty [ items <uuid > ]

The applied value of the product_id query parameter on the resources in result.

vehicle_model_id
integer <int64>

The applied value of the vehicle_model_id query parameter on the resources in result.

property name*
additional property
any
Array of objects (Product Prerequisite) >= 0 items

List of product prerequisites.

Array (>= 0 items)
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
Enum Description
boolean

The customer needs to answer with true or false.

checkbox

The customer needs to answer with true or false.

text

The customer can fill in text as the answer.

Type of the prerequisite.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Providers

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.

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"
}

Retrieve all providers

Retrieve a list of providers.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Provider) >= 0 items

List of providers.

Array (>= 0 items)
id
string <uuid>

Provider identifier.

name
string [ 1 .. 255 ] characters

Name of the provider.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve provider

Retrieve a provider by its identifier.

Authorizations:
OAuth2
path Parameters
provider-id
required
string <uuid>

Provider identifier.

Responses

Response Schema: application/json
id
string <uuid>

Provider identifier.

name
string [ 1 .. 255 ] characters

Name of the provider.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Remote Diagnostics Provider"
}

Retrieve authenticated provider

Obtain the currently authenticated provider.

Authorizations:
OAuth2

Responses

Response Schema: application/json
id
string <uuid>

Provider identifier.

name
string [ 1 .. 255 ] characters

Name of the provider.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Remote Diagnostics Provider"
}

Diagnostic equipment

Diagnostic equipment represents a device that is used to diagnose or repair a vehicle.

Diagnostic equipment

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": [
    ],
  • "name": "iCarsoft CR Pro",
  • "version": "2.0"
}

Retrieve all diagnostic equipment

Retrieve a list of all diagnostic equipment.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Diagnostic equipment) >= 0 items

List of diagnostic equipment.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a diagnostic equipment.

Retrieve a single diagnostic equipment by its identifier.

Authorizations:
OAuth2
path Parameters
diagnostic-equipment-id
required
integer <int64>

Diagnostic equipment identifier.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": 121,
  • "available": true,
  • "local_connector_numbers": [
    ],
  • "name": "iCarsoft CR Pro",
  • "version": "2.0"
}

Update a diagnostic equipment

Update a single diagnostic equipment by its identifier.

Authorizations:
OAuth2
path Parameters
diagnostic-equipment-id
required
integer <int64>

Diagnostic equipment identifier.

Request Body schema: application/json
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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "available": true,
  • "local_connector_numbers": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 121,
  • "available": true,
  • "local_connector_numbers": [
    ],
  • "name": "iCarsoft CR Pro",
  • "version": "2.0"
}

Local connectors

Local connectors are used to connect diagnostic equipment to the Jifeline network.

Local Connector

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 all local connectors

Retrieve a list of local connectors.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Local Connector) >= 0 items

List of local connectors.

Array (>= 0 items)
id
string <uuid>

Local connector identifier.

label
string [ 1 .. 255 ] characters

Description of the local connector.

number
number <int32>

Human-readable connector identifier.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a local connector

Retrieve a local connector by its identifier.

Authorizations:
OAuth2
path Parameters
local-connector-id
required
string <uuid>

Local connector identifier.

Responses

Response Schema: application/json
id
string <uuid>

Local connector identifier.

label
string [ 1 .. 255 ] characters

Description of the local connector.

number
number <int32>

Human-readable connector identifier.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "label": "Marcel's local",
  • "number": 124
}

Employees

Employees are the people that have access to your Partner Portal.

Employee

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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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 all employees

Retrieve a list of employees.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Employee) >= 0 items

List of employees.

Array (>= 0 items)
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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add an employee

Add a new employee.

Authorizations:
OAuth2
Request Body schema: application/json
required

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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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.

Responses

Response Schema: application/json
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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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.

Request samples

Content type
application/json
{
  • "family_name": "Doe",
  • "given_name": "John",
  • "role": "admin",
  • "username": "john.doe@my-partner.com"
}

Response samples

Content type
application/json
{
  • "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

Retrieve an employee by its identifier.

Authorizations:
OAuth2
path Parameters
employee-id
required
string <uuid>

Employee identifier.

Responses

Response Schema: application/json
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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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.

Response samples

Content type
application/json
{
  • "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

Update an employee by its identifier.

Authorizations:
OAuth2
path Parameters
employee-id
required
string <uuid>

Employee identifier.

Request Body schema: application/json
required

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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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.

Responses

Response Schema: application/json
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
Enum Description
employee

An employee in this role can manage your Partner Portal, with the exception of adding or changing employees. They can also view tickets, but not participate in its workflow as operator.

operator

Employees in the operator role are able to view and join tickets as operators, but are not able to access any configuration in your Partner Portal.

senior_operator

Senior Operators are able to participate in the workflow of a ticket and have access to configuration-pages of your Partner Portal, with the exception of adding or changing employees.

admin

Admins have full access to your Partner Portal; they have access to all Partner Portal configuration and are able to view and join tickets as operators.

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.

Request samples

Content type
application/json
{
  • "enabled": true,
  • "family_name": "Doe",
  • "given_name": "John",
  • "role": "admin",
  • "username": "john.doe@my-partner.com"
}

Response samples

Content type
application/json
{
  • "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"
}

Branding profiles

Branding profiles describe corporate branding and grouping for your customers.

Branding profile

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",
  • "customer_portal_url": "https://my-remote-diagnostics.obd.help",
  • "name": "My Remote Diagnostics",
  • "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434"
}

Retrieve all branding profiles

Retrieve a list of branding profiles.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Branding profile) >= 0 items

List of branding profiles.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a branding profile

Retrieve a branding profile by its identifier.

Authorizations:
OAuth2
path Parameters
branding-profile-id
required
string <uuid>

Branding profile identifier.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "currency": "EUR",
  • "customer_portal_url": "https://my-remote-diagnostics.obd.help",
  • "name": "My Remote Diagnostics",
  • "price_list_code_id": "a29db1be-1640-4931-9c6f-2a65a84af434"
}

Countries

Countries provide geo-locality within the system, mainly to your customers.

Country

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 all countries

Retrieve a list of countries supported within the system.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Country) >= 0 items

List of countries.

Array (>= 0 items)
code
string <iso-3166-alpha-2>

A two-letter country code.

name
string [ 1 .. 255 ] characters

Name of country.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve country

Retrieve a single country by its code.

Authorizations:
OAuth2
path Parameters
country-code
required
string <iso-3166-alpha-2>
Example: NL

The code of the country you want to manage.

Responses

Response Schema: application/json
code
string <iso-3166-alpha-2>

A two-letter country code.

name
string [ 1 .. 255 ] characters

Name of country.

Response samples

Content type
application/json
{
  • "code": "NL",
  • "name": "The Netherlands"
}

Currencies

Currencies describe the available currencies within the system. Providers and customers provide their currency. All pricing details also describe the currency.

Currency

code
string <iso-4217>

A 3-letter currency code.

name
string [ 1 .. 255 ] characters

Name of currency.

{
  • "code": "EUR",
  • "name": "Euro"
}

Retrieve all currencies

Retrieve a list of supported currencies.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Currency) >= 0 items

List of currencies.

Array (>= 0 items)
code
string <iso-4217>

A 3-letter currency code.

name
string [ 1 .. 255 ] characters

Name of currency.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve currency

Retrieve a single currency by its code.

Authorizations:
OAuth2
path Parameters
currency-code
required
string <iso-4217>
Example: EUR

Code of the currency to manage.

Responses

Response Schema: application/json
code
string <iso-4217>

A 3-letter currency code.

name
string [ 1 .. 255 ] characters

Name of currency.

Response samples

Content type
application/json
{
  • "code": "EUR",
  • "name": "Euro"
}

Events

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.

Event

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 (PayloadTicket)
object or null (PayloadParentTicket)
object (PayloadCustomer)
object
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.

Array of objects
Array
product_id
string <uuid>

Product identifier.

quantity
integer <int64>

Quantity.

Example
{
  • "id": "01HWTCTT509VV8X9XYGPTR5N8Q",
  • "type": "tickets.ticket.created",
  • "occurred_at": "2019-08-24T14:15:22Z",
  • "payload": {
    },
  • "vehicle": {
    },
  • "product_lines": [
    ]
}

Retrieve all events

Retrieve a list of events that have happened in the system.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

property name*
additional property
any
Array of objects (Event) >= 0 items

List of events.

Array (>= 0 items)
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

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ]
}

Locales

Locales describe the possible localities available in the system. This is mainly used to provide additional details for your customers.

Locale

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 all locales

Retrieve a list of supported locales.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Locale) >= 0 items

List of locales.

Array (>= 0 items)
code
string <bcp47>

Code identifying this locale.

name
string [ 1 .. 255 ] characters

Human-readable name consisting of language and, if present, region or country.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a locale

Retrieve a single locale by its code.

Authorizations:
OAuth2
path Parameters
locale-code
required
string <bcp47>
Example: en-GB

Code of the locale to manage.

Responses

Response Schema: application/json
code
string <bcp47>

Code identifying this locale.

name
string [ 1 .. 255 ] characters

Human-readable name consisting of language and, if present, region or country.

Response samples

Content type
application/json
{
  • "code": "en-GB",
  • "name": "English (United Kingdom)"
}

Tickets

Tickets describe the requests to execute services on a vehicle for your customers.

Ticket

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 cancelled state.

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 12 or 24.

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 cancelled or closed states.

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 null when the ticket was created by a customer.

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)
Enum Description
prepared

The ticket is prepared and can be used by a customer.

pending

The ticket is waiting to be worked on.

in_progress

The ticket is being worked by an operator.

outsourced

The ticket is outsourced to another provider.

closed

The ticket is successfully finished.

cancelled

The ticket is cancelled, see cancel_reason_id as to why.

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 tickets

Retrieve a list of tickets.

Authorizations:
OAuth2
query Parameters
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 12 or 24 are available.

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"
Items Enum Description
created_at:asc

Sort by creation date-time, oldest tickets first.

created_at:desc

Sort by creation date-time, newest tickets first.

updated_at:asc

Sort by update date-time, earliest updated tickets first.

updated_at:desc

Sort by update date-time, last updated tickets first.

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
Items Enum Description
prepared

The ticket is prepared and can be used by a customer.

pending

The ticket is waiting to be worked on.

in_progress

The ticket is being worked by an operator.

outsourced

The ticket is outsourced to another provider.

closed

The ticket is successfully finished.

cancelled

The ticket is cancelled, see cancel_reason_id as to why.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

sort_by
Array of strings non-empty
Default: ["created_at:asc"]
Items Enum Description
created_at:asc

Sort by creation date-time, oldest tickets first.

created_at:desc

Sort by creation date-time, newest tickets first.

updated_at:asc

Sort by update date-time, earliest updated tickets first.

updated_at:desc

Sort by update date-time, last updated tickets first.

The applied value of the sort_by[] query parameter on the resources in result.

property name*
additional property
any
Array of objects (Ticket) >= 0 items

List of tickets.

Array (>= 0 items)
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 cancelled state.

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 12 or 24.

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 cancelled or closed states.

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 null when the ticket was created by a customer.

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)
Enum Description
prepared

The ticket is prepared and can be used by a customer.

pending

The ticket is waiting to be worked on.

in_progress

The ticket is being worked by an operator.

outsourced

The ticket is outsourced to another provider.

closed

The ticket is successfully finished.

cancelled

The ticket is cancelled, see cancel_reason_id as to why.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve ticket

Retrieve a single ticket by its identifier.

Authorizations:
OAuth2
path Parameters
ticket-id
required
string <uuid>

The identifier of the ticket you want to operate on.

Responses

Response Schema: application/json
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 cancelled state.

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 12 or 24.

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 cancelled or closed states.

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 null when the ticket was created by a customer.

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)
Enum Description
prepared

The ticket is prepared and can be used by a customer.

pending

The ticket is waiting to be worked on.

in_progress

The ticket is being worked by an operator.

outsourced

The ticket is outsourced to another provider.

closed

The ticket is successfully finished.

cancelled

The ticket is cancelled, see cancel_reason_id as to why.

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.

Response samples

Content type
application/json
{
  • "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 lines

Ticket product lines describe the services performed within a ticket.

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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

object (Customer Money)

The gross price of the product line. This is calculated using unit_gross_price x quantity.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Order debtor percentual discount: 20.5%
  • Order debtor monetary discount: €5.50

Then the order debtor discount becomes:

(20.5% of €105.50) +5.50 =21.63 +5.50 =27.13
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Invoice debtor percentual discount: 30.5%
  • Invoice debtor monetary discount: €10.50

Then the invoice debtor discount becomes:

(30.5% of €105.50) +10.50 =32.18 +10.50 =42.68
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "quantity": 1,
  • "unit_gross_price": {
    },
  • "gross_price": {
    },
  • "order_debtor_discount": {
    },
  • "order_debtor_monetary_discount": 5.5,
  • "order_debtor_percentual_discount": 20.5,
  • "invoice_debtor_discount": {
    },
  • "invoice_debtor_monetary_discount": 10.5,
  • "invoice_debtor_percentual_discount": 30.5,
  • "original_equipment_service_fee": {
    }
}

Retrieve ticket product lines

Retrieve a list of product lines belonging to a ticket.

Authorizations:
OAuth2
query Parameters
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
Items Enum Description
prepared

The ticket is prepared and can be used by a customer.

pending

The ticket is waiting to be worked on.

in_progress

The ticket is being worked by an operator.

outsourced

The ticket is outsourced to another provider.

closed

The ticket is successfully finished.

cancelled

The ticket is cancelled, see cancel_reason_id as to why.

Only return product lines that are associated with tickets that are in the provided state(s).

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Product line) >= 0 items

List of product lines.

Array (>= 0 items)
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 unit_gross_price x quantity.

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

  • Gross price: €105.50
  • Order debtor percentual discount: 20.5%
  • Order debtor monetary discount: €5.50

Then the order debtor discount becomes:

(20.5% of €105.50) +5.50 =21.63 +5.50 =27.13
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

  • Gross price: €105.50
  • Invoice debtor percentual discount: 30.5%
  • Invoice debtor monetary discount: €10.50

Then the invoice debtor discount becomes:

(30.5% of €105.50) +10.50 =32.18 +10.50 =42.68
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add ticket product line

Add a product line to a ticket.

Authorizations:
OAuth2
Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

object (Customer Money)

The gross price of the product line. This is calculated using unit_gross_price x quantity.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Order debtor percentual discount: 20.5%
  • Order debtor monetary discount: €5.50

Then the order debtor discount becomes:

(20.5% of €105.50) +5.50 =21.63 +5.50 =27.13
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Invoice debtor percentual discount: 30.5%
  • Invoice debtor monetary discount: €10.50

Then the invoice debtor discount becomes:

(30.5% of €105.50) +10.50 =32.18 +10.50 =42.68
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "quantity": 1,
  • "unit_gross_price": {
    },
  • "gross_price": {
    },
  • "order_debtor_discount": {
    },
  • "order_debtor_monetary_discount": 5.5,
  • "order_debtor_percentual_discount": 20.5,
  • "invoice_debtor_discount": {
    },
  • "invoice_debtor_monetary_discount": 10.5,
  • "invoice_debtor_percentual_discount": 30.5,
  • "original_equipment_service_fee": {
    }
}

Retrieve ticket product line

Retrieve a ticket product line by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Responses

Response Schema: application/json
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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

object (Customer Money)

The gross price of the product line. This is calculated using unit_gross_price x quantity.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Order debtor percentual discount: 20.5%
  • Order debtor monetary discount: €5.50

Then the order debtor discount becomes:

(20.5% of €105.50) +5.50 =21.63 +5.50 =27.13
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Invoice debtor percentual discount: 30.5%
  • Invoice debtor monetary discount: €10.50

Then the invoice debtor discount becomes:

(30.5% of €105.50) +10.50 =32.18 +10.50 =42.68
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "quantity": 1,
  • "unit_gross_price": {
    },
  • "gross_price": {
    },
  • "order_debtor_discount": {
    },
  • "order_debtor_monetary_discount": 5.5,
  • "order_debtor_percentual_discount": 20.5,
  • "invoice_debtor_discount": {
    },
  • "invoice_debtor_monetary_discount": 10.5,
  • "invoice_debtor_percentual_discount": 30.5,
  • "original_equipment_service_fee": {
    }
}

Update ticket product line

Update a ticket product line by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

object (Customer Money)

The gross price of the product line. This is calculated using unit_gross_price x quantity.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Order debtor percentual discount: 20.5%
  • Order debtor monetary discount: €5.50

Then the order debtor discount becomes:

(20.5% of €105.50) +5.50 =21.63 +5.50 =27.13
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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

  • Gross price: €105.50
  • Invoice debtor percentual discount: 30.5%
  • Invoice debtor monetary discount: €10.50

Then the invoice debtor discount becomes:

(30.5% of €105.50) +10.50 =32.18 +10.50 =42.68
amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

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.

amount
number <float>

The monetary amount in the currency of the provider.

currency
string <iso-4217>

The currency of the monetary amount of the provider.

customer_amount
number <float>

The monetary amount in the currency of the customer. The exchange rate that was available when the ticket was created is used which, under normal operating circumstances, is the determined at the beginning of each day. This is done to the best of our ability. Use at own risk.

customer_currency
string <iso-4217>

The currency of the monetary amount of the customer as available when the ticket was created.

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "quantity": 1,
  • "unit_gross_price": {
    },
  • "gross_price": {
    },
  • "order_debtor_discount": {
    },
  • "order_debtor_monetary_discount": 5.5,
  • "order_debtor_percentual_discount": 20.5,
  • "invoice_debtor_discount": {
    },
  • "invoice_debtor_monetary_discount": 10.5,
  • "invoice_debtor_percentual_discount": 30.5,
  • "original_equipment_service_fee": {
    }
}

Remove ticket product line

Remove a ticket product line by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Responses

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

Outsources

Outsources provide information about outsource actions.

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 cancelled state.

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 cancelled or closed states.

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)
Enum Description
pending

The outsource is waiting to be worked on at the partnered provider.

in_progress

The outsource is being worked by an operator.

closed

The outsource is successfully finished.

cancelled

The outsource is cancelled, see cancel_reason_id as to why.

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 all outsources

Retrieve a list of outsources.

Authorizations:
OAuth2
query Parameters
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"
Items Enum Description
created_at:asc

Sort by date-time of initiating outsource, oldest outsources first.

created_at:desc

Sort by date-time of initiating outsource, newest tickets first.

Example: sort_by[]=created_at:asc

Sort outsources.

ticket_id
string <uuid>

Filter outsources by ticket_id.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

sort_by
Array of strings non-empty
Default: ["created_at:asc"]
Items Enum Description
created_at:asc

Sort by date-time of initiating outsource, oldest outsources first.

created_at:desc

Sort by date-time of initiating outsource, newest tickets first.

The applied value of the sort_by[] query parameter on the resources in result.

property name*
additional property
any
Array of objects (Outsource) >= 0 items

List of outsources.

Array (>= 0 items)
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 cancelled state.

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 cancelled or closed states.

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)
Enum Description
pending

The outsource is waiting to be worked on at the partnered provider.

in_progress

The outsource is being worked by an operator.

closed

The outsource is successfully finished.

cancelled

The outsource is cancelled, see cancel_reason_id as to why.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve outsource

Retrieve an outsource by its identifier.

Authorizations:
OAuth2
path Parameters
outsource-id
required
string <uuid>

The identifier of outsource.

Responses

Response Schema: application/json
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 cancelled state.

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 cancelled or closed states.

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)
Enum Description
pending

The outsource is waiting to be worked on at the partnered provider.

in_progress

The outsource is being worked by an operator.

closed

The outsource is successfully finished.

cancelled

The outsource is cancelled, see cancel_reason_id as to why.

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.

Response samples

Content type
application/json
{
  • "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

Outsource product lines provide information about products that have been applied to outsourced tickets by a partnered provider.

Outsource product line

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.

amount
number <float>

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

object (Money)

The gross price of the product line. This is calculated using unit_gross_price x quantity.

amount
number <float>

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
number <float>

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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.

amount
number <float>

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

{
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "outsource_id": "880092d9-6aa9-4787-863b-6f1c3c58f8c2",
  • "discount": {
    },
  • "gross_price": {
    },
  • "original_equipment_service_fee": {
    },
  • "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": {
    }
}

Retrieve all outsource product lines

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.

Authorizations:
OAuth2
query Parameters
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
Items Enum Description
pending

The outsource is waiting to be worked on at the partnered provider.

in_progress

The outsource is being worked by an operator.

closed

The outsource is successfully finished.

cancelled

The outsource is cancelled, see cancel_reason_id as to why.

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.

header Parameters
Accept-Language
string
Default: en
Examples:
  • fr-CH - French (Switzerland)
  • fr-CH,fr;q=0.9,en;q=0.8,de;q=0.7 - Multiple types, weighted with the quality value syntax

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Outsource product line) >= 0 items

List of outsource product lines.

Array (>= 0 items)
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 unit_gross_price x quantity.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Cancel reasons

Ticket cancel reasons describe the reasoning behind cancelled tickets.

Cancel reason

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 cancel reasons

Retrieve a list of possible ticket cancel reasons.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Cancel reason) >= 0 items

List of ticket cancel reasons.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve cancel reason

Retrieve a single cancel reason by its identifier.

Authorizations:
OAuth2
path Parameters
cancel-reason-id
required
integer <int64>
Example: 3

The identifier of the cancel reason you want to retrieve.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": 0,
  • "allows_ticket_reopening": true,
  • "customer_fault": true,
  • "manually_applicable": true,
  • "name": "Operation too risky."
}

Notes

Ticket notes describe additional text and files connected to your tickets.

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
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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": [
    ],
  • "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"
}

Attachment

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:

  • The url is valid for 1 minute when using an upload url.
  • The url is valid for 8 hours when using a download url.
  • When using the url its important to set the header Content-Type to the correct mime type of the file.
  • For more information about the upload and download urls see the documentation.
{
  • "filename": "string",
  • "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
  • "signed_url": "http://example.com"
}

Retrieve notes

Retrieve a list of ticket notes.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

ticket_id
string <uuid>

The applied value of the ticket_id query parameter on the resources in result.

property name*
additional property
any
Array of objects (Note) >= 0 items

List of ticket notes.

Array (>= 0 items)
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
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add ticket note

Add a note to a ticket.

Authorizations:
OAuth2
Request Body schema: application/json

The note you wish to add.

categories
Array of any (NoteCategories)
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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.

Responses

Response Schema: application/json
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
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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.

Request samples

Content type
application/json
{
  • "categories": [
    ],
  • "is_public": false,
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
  • "author_name": "string",
  • "categories": [
    ],
  • "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 note

Retrieve a single note by its identifier.

Authorizations:
OAuth2
path Parameters
note-id
required
string <uuid>

The identifier of the note you want to edit.

Responses

Response Schema: application/json
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
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
  • "author_name": "string",
  • "categories": [
    ],
  • "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

Update note for a ticket.

Authorizations:
OAuth2
path Parameters
note-id
required
string <uuid>

The identifier of the note you want to edit.

Request Body schema: application/json
categories
Array of any (NoteCategories)
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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.

Responses

Response Schema: application/json
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
Items Enum Description
pre-scan

pre-scan of the vehicle.

post-scan

post-scan of the vehicle.

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.

Request samples

Content type
application/json
{
  • "categories": [
    ],
  • "is_public": false,
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "author_id": "78424c75-5c41-4b25-9735-3c9f7d05c59e",
  • "author_name": "string",
  • "categories": [
    ],
  • "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"
}

Delete ticket note

Delete a ticket note. This will also delete all attachments linked to the note.

Authorizations:
OAuth2
path Parameters
note-id
required
string <uuid>

The identifier of the note you want to edit.

Responses

Retrieve note attachments

Retrieve a list of note attachments.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

note_id
string <uuid>

The applied value of the note_id query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Attachment) >= 0 items

List of note attachments.

Array (>= 0 items)
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:

  • The url is valid for 1 minute when using an upload url.
  • The url is valid for 8 hours when using a download url.
  • When using the url its important to set the header Content-Type to the correct mime type of the file.
  • For more information about the upload and download urls see the documentation.
total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add note attachment

Generate signed url for note attachment.

Authorizations:
OAuth2
Request Body schema: application/json
filename
required
string

Name of the file plus extension.

note_id
required
string <uuid>

The identifier of the note.

Responses

Response Schema: application/json
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:

  • The url is valid for 1 minute when using an upload url.
  • The url is valid for 8 hours when using a download url.
  • When using the url its important to set the header Content-Type to the correct mime type of the file.
  • For more information about the upload and download urls see the documentation.

Request samples

Content type
application/json
{
  • "filename": "image.png",
  • "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc"
}

Response samples

Content type
application/json
{
  • "filename": "string",
  • "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
  • "signed_url": "http://example.com"
}

Retrieve note attachment

Retrieve a single note attachment by its identifier.

Authorizations:
OAuth2
path Parameters
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.

Responses

Response Schema: application/json
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:

  • The url is valid for 1 minute when using an upload url.
  • The url is valid for 8 hours when using a download url.
  • When using the url its important to set the header Content-Type to the correct mime type of the file.
  • For more information about the upload and download urls see the documentation.

Response samples

Content type
application/json
{
  • "filename": "string",
  • "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
  • "signed_url": "http://example.com"
}

Used diagnostic equipment

Diagnostic equipment used on a ticket.

Used 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,
  • "name": "iCarsoft CR Pro",
  • "version": "2.0"
}

Retrieve all used diagnostic equipment

Retrieve a list of diagnostic equipment that has been used by an operator on a ticket.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Used diagnostic equipment) >= 0 items

List of used diagnostic equipment.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add used diagnostic equipment

Add diagnostic equipment that has been used by an operator on a ticket. Diagnostic equipment can only be added on a 'In Progress' ticket.

Authorizations:
OAuth2
Request Body schema: application/json
required

The diagnostic equipment that has been used.

ticket_id
string <uuid>

Identifier of the ticket.

diagnostic_equipment_id
integer <int32>

Identifier of diagnostic equipment.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "diagnostic_equipment_id": 12
}

Response samples

Content type
application/json
{
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "diagnostic_equipment_id": 12,
  • "name": "iCarsoft CR Pro",
  • "version": "2.0"
}

Retrieve a used diagnostic equipment

Retrieve a used diagnostic equipment by its identifiers.

Authorizations:
OAuth2
path Parameters
ticket-id
required
string <uuid>

Ticket on which the diagnostic equipment was used.

diagnostic-equipment-id
required
integer <int32>

Used Diagnostic Equipment identifier.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
  • "diagnostic_equipment_id": 12,
  • "name": "iCarsoft CR Pro",
  • "version": "2.0"
}

Remove used diagnostic equipment

Remove diagnostic equipment that has been used by an operator on a ticket. Diagnostic equipment can only be removed from a 'In Progress' ticket.

Authorizations:
OAuth2
path Parameters
ticket-id
required
string <uuid>

Ticket on which the diagnostic equipment was used.

diagnostic-equipment-id
required
integer <int32>

Used Diagnostic Equipment identifier.

Responses

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

Service Center

Your service center.

Service center

schedule_ends_at
string or null <date-time>

The moment the schedule ends if state is scheduled, null otherwise. When this moment has past the state will change to open.

schedule_reason
string or null [ 1 .. 255 ] characters

The reason for the schedule shown to customers if state is scheduled, null otherwise.

state
string
Enum Description
opened

Customers are able to create tickets with all services supported by you.

closed

Customers are only able to create tickets with services that are automatically outsourced to an autonomous partner.

scheduled

Customers cannot create tickets until the schedule ends.

The state of your service-center.

{
  • "schedule_ends_at": "2019-08-24T14:15:22Z",
  • "schedule_reason": "string",
  • "state": "closed"
}

Retrieve service center

Retrieve service center information.

Authorizations:
OAuth2

Responses

Response Schema: application/json
schedule_ends_at
string or null <date-time>

The moment the schedule ends if state is scheduled, null otherwise. When this moment has past the state will change to open.

schedule_reason
string or null [ 1 .. 255 ] characters

The reason for the schedule shown to customers if state is scheduled, null otherwise.

state
string
Enum Description
opened

Customers are able to create tickets with all services supported by you.

closed

Customers are only able to create tickets with services that are automatically outsourced to an autonomous partner.

scheduled

Customers cannot create tickets until the schedule ends.

The state of your service-center.

Response samples

Content type
application/json
Example

Opened.

{
  • "schedule_ends_at": null,
  • "schedule_reason": null,
  • "state": "opened"
}

Update service center

Update the service center information.

Authorizations:
OAuth2
Request Body schema: application/json

The updated service center.

schedule_ends_at
required
string or null <date-time>

The moment the schedule ends if state is scheduled, null otherwise. When this moment has past the state will change to open.

schedule_reason
required
string or null [ 1 .. 255 ] characters

The reason for the schedule shown to customers if state is scheduled, null otherwise.

state
required
string
Enum Description
opened

Customers are able to create tickets with all services supported by you.

closed

Customers are only able to create tickets with services that are automatically outsourced to an autonomous partner.

scheduled

Customers cannot create tickets until the schedule ends.

The state of your service-center.

Responses

Response Schema: application/json
schedule_ends_at
string or null <date-time>

The moment the schedule ends if state is scheduled, null otherwise. When this moment has past the state will change to open.

schedule_reason
string or null [ 1 .. 255 ] characters

The reason for the schedule shown to customers if state is scheduled, null otherwise.

state
string
Enum Description
opened

Customers are able to create tickets with all services supported by you.

closed

Customers are only able to create tickets with services that are automatically outsourced to an autonomous partner.

scheduled

Customers cannot create tickets until the schedule ends.

The state of your service-center.

Request samples

Content type
application/json
{
  • "schedule_ends_at": null,
  • "schedule_reason": null,
  • "state": "closed"
}

Response samples

Content type
application/json
{
  • "schedule_ends_at": "2019-08-24T14:15:22Z",
  • "schedule_reason": "string",
  • "state": "closed"
}

Vouchers

Manage ticket vouchers.

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 null the discount can be received by using the unique code of an item.

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 20 represents a discount of "20%". Value is null if discount_money is not null.

object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

valid_from
string <date>

Date when the voucher becomes valid.

valid_until
string or null <date>

Date after which the voucher becomes invalid, use null for vouchers with no expiration date.

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 null the voucher is applicable to all customers.

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": {
    },
  • "valid_from": "2025-08-01",
  • "valid_until": "2025-12-31",
  • "is_active": true,
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  • "product_ids": [
    ]
}

VoucherItem

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 vouchers

Retrieve a list of vouchers.

Authorizations:
OAuth2
query Parameters
availability
boolean
Default: true

Filter vouchers by their availability. When true only returns vouchers with at least 1 unused item. Vouchers with only used items when false.

code
string [ 6 .. 20 ] characters

Filter voucher by code. Only returns voucher of which the generic_code or the code of one of its items matches.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

availability
boolean
Default: true

The applied value of the availability query parameter on the resources in result.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Voucher) >= 0 items

List of vouchers.

Array (>= 0 items)
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 null the discount can be received by using the unique code of an item.

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 20 represents a discount of "20%". Value is null if discount_money is not null.

object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

valid_from
string <date>

Date when the voucher becomes valid.

valid_until
string or null <date>

Date after which the voucher becomes invalid, use null for vouchers with no expiration date.

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 null the voucher is applicable to all customers.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add a voucher

Add a new voucher.

Authorizations:
OAuth2
Request Body schema: application/json

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 null the discount can be received by using the unique code of an item.

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 20 represents a discount of "20%". Value is null if discount_money is not null.

required
object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

amount
required
number <float> >= 0

The monetary amount.

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 null for vouchers with no expiration date.

customer_id
required
string or null <uuid>

Identifier of the customer this voucher is applicable to. If null the voucher is applicable to all customers.

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.

Responses

Response Schema: application/json
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 null the discount can be received by using the unique code of an item.

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 20 represents a discount of "20%". Value is null if discount_money is not null.

object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

valid_from
string <date>

Date when the voucher becomes valid.

valid_until
string or null <date>

Date after which the voucher becomes invalid, use null for vouchers with no expiration date.

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 null the voucher is applicable to all customers.

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.

Request samples

Content type
application/json
{
  • "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": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "label": "Summer 2025",
  • "generic_code": "SUMMER-2025",
  • "discount_percentage": 5,
  • "discount_money": {
    },
  • "valid_from": "2025-08-01",
  • "valid_until": "2025-12-31",
  • "is_active": true,
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  • "product_ids": [
    ]
}

Retrieve a voucher

Retrieves a voucher by its identifier.

Authorizations:
OAuth2
path Parameters
voucher-id
required
string <uuid>

The identifier of the voucher.

Responses

Response Schema: application/json
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 null the discount can be received by using the unique code of an item.

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 20 represents a discount of "20%". Value is null if discount_money is not null.

object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

valid_from
string <date>

Date when the voucher becomes valid.

valid_until
string or null <date>

Date after which the voucher becomes invalid, use null for vouchers with no expiration date.

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 null the voucher is applicable to all customers.

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.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "label": "Summer 2025",
  • "generic_code": "SUMMER-2025",
  • "discount_percentage": 5,
  • "discount_money": {
    },
  • "valid_from": "2025-08-01",
  • "valid_until": "2025-12-31",
  • "is_active": true,
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  • "product_ids": [
    ]
}

Update a voucher

Update a voucher by its identifier.

Authorizations:
OAuth2
path Parameters
voucher-id
required
string <uuid>

The identifier of the voucher.

Request Body schema: application/json
required

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 20 represents a discount of "20%". Value is null if discount_money is not null.

required
object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

amount
required
number <float> >= 0

The monetary amount.

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 null for vouchers with no expiration date.

is_active
required
boolean
Default: true

Indicates if the voucher is active.

Responses

Response Schema: application/json
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 null the discount can be received by using the unique code of an item.

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 20 represents a discount of "20%". Value is null if discount_money is not null.

object or null (Money)

The discount money received when a code from this voucher is used on a ticket. Value is null if discount_percentage is not null.

amount
required
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

valid_from
string <date>

Date when the voucher becomes valid.

valid_until
string or null <date>

Date after which the voucher becomes invalid, use null for vouchers with no expiration date.

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 null the voucher is applicable to all customers.

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.

Request samples

Content type
application/json
{
  • "label": "Summer 2025",
  • "discount_percentage": null,
  • "discount_money": null,
  • "valid_from": "2025-08-01",
  • "valid_until": "2025-12-31",
  • "is_active": true
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "label": "Summer 2025",
  • "generic_code": "SUMMER-2025",
  • "discount_percentage": 5,
  • "discount_money": {
    },
  • "valid_from": "2025-08-01",
  • "valid_until": "2025-12-31",
  • "is_active": true,
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  • "product_ids": [
    ]
}

Add voucher item generation request

Add voucher item generation request.

Authorizations:
OAuth2
Request Body schema: application/json

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..

Responses

Response Schema: application/json
num_items
integer <int32>

The number of voucher items generated.

voucher_id
string <uuid>

The identifier of the voucher the items were generated for.

Request samples

Content type
application/json
{
  • "num_items": 1,
  • "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}

Response samples

Content type
application/json
{
  • "num_items": 0,
  • "voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}

Retrieve voucher items

Retrieve a list of voucher items.

Authorizations:
OAuth2
query Parameters
code
string [ 6 .. 20 ] characters

Filter voucher items by code. Only returns voucher item of which the code matches.

customer_id
string <uuid>

Filter voucher items by the identifier of the customer that can or has used it. Combine with used to filter by usage status.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

is_enabled
boolean
Default: true

The applied value of the is_enabled query parameter on the resources in result.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

used
boolean
Default: true

The applied value of the used query parameter on the resources in result.

property name*
additional property
any
Array of objects (VoucherItem) >= 0 items

List of voucher items.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Messenger channel messages

Messages exchanged in a channel. Channels are used to communicate with customers or between providers during a ticket.

Retrieve messages

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.

Authorizations:
OAuth2
query Parameters
channel_id
required
string <uuid>

The identifier of the channel you want to retrieve messages for. A tickets/outsources resource always contains the reference to the channel with the operator of the partnered provided you outsourced to. The tickets/tickets resource contains the reference to the channel with the customer. It can also contain a channel with an operator of the provider that outsourced the ticket to you.

next_token
string

The token to retrieve the next page of results.

Responses

Response Schema: application/json
next_token
string or null

Token to get the next collection of results.

object >= 0 properties

Applied query parameters, including defaults.

channel_id
string <uuid>

The applied value of the channel_id query parameter on the resources in result.

property name*
additional property
any
Array of objects (ChannelMessage) >= 0 items

List of channel messages.

Array (>= 0 items)
id
string <uuid>

Unique identifier of the message.

object or null

Describes attachment for chat message or null when message is not for an attachment.

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
Enum Description
text

message is of type text.

attachment

message is of type attachment.

Describes if a channel message contains text or an attachment.

Response samples

Content type
application/json
{
  • "next_token": "AAIAA3uLtxqD5SlWx9VuBHb8ggpM5f4Dz6TbcOvSDKQlV892Z53z_nfGi0869ie6JNKucRIAAodtM5HLeXtK3khoWS8uhU1ldJenxC8PGi3q_pK_dVARvxVxnFW9grrY2Tl9BiEzFZVgJmkDzKAquBS8QBYSDlbG5m9IR3HpDgiz3wK57exl_2Ocez5KKybxz13bD6jvD4FStk9Ck2GfsDn1J6BYhLZX5PFVLc1_xa5FilM8y1KZN-1cO62ASJPbSrMxWCJfiMBC_X15F97pEfgA6zU0Bf5ZVvlodob8pqqZiSrD6jIjDdpUDPoisFXdJYt3zSwAbAK27OOQU4876t8f_1NrlXhZpioFkg6YwpK77ldOm5XuiD_UfkJbxZru7oIfgPn2afM7sJl2lKtAaXb9nLWhXmT6p55v74zFbsAQZmwoVIRr4IAAmVQK5OPTJ6JkYyizbdP2JokV2-NBKBiJm6e8wSIwXRma0I_sQSQfZyoc9dqwbr2vnfXlI97IvQRJ_LWutG64B2q1VA2vDAIaym7ToTC_iS3kBwKxyn3l5nEGvKRCj3v_eNrjU-uMxe_s-W31YZw=",
  • "query": { },
  • "result": [
    ]
}

Post message

Send a message to a channel.

Authorizations:
OAuth2
Request Body schema: application/json
channel_id
required
string <uuid>

Identifier of the channel.

content
required
string [ 1 .. 3000 ] characters

The text content of the message.

Responses

Response Schema: application/json
id
string <uuid>

Unique identifier of the message.

object or null

Describes attachment for chat message or null when message is not for an attachment.

file_name
string

File name for the attachment.

pre_signed_url
string <uri>

Url to download the file of the attachment, the url is valid for 8 hours.

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.

name
string

The name of the sender.

type
string or null
Enum Description
customer

Sender is one of your customers.

external_customer

Sender is a customer of the partner that outsourced to you.

operator

Sender is one of your operators.

external_operator

Sender is an operator from a different provider (either via in-, or outsource).

system

Sender is the system itself.

type
string
Enum Description
text

message is of type text.

attachment

message is of type attachment.

Describes if a channel message contains text or an attachment.

Request samples

Content type
application/json
{
  • "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459",
  • "content": "Hello, how can I help you?"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "attachment": {},
  • "content": "Hello, how can I help you?",
  • "created_at": "2019-08-24T14:15:22Z",
  • "redacted": true,
  • "sender": {
    },
  • "type": "attachment"
}

Prepared tickets

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.

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 12 or 24.

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 prepared tickets

Retrieve a list of prepared tickets.

Authorizations:
OAuth2
query Parameters
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 12 or 24 are available.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Prepared ticket) >= 0 items

List of prepared tickets.

Array (>= 0 items)
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 12 or 24.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Create a prepared ticket

Create a new prepared ticket.

Authorizations:
OAuth2
Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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 12 or 24.

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.

Request samples

Content type
application/json
{
  • "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
  • "vehicle_model_id": 0,
  • "vin": "string",
  • "voucher_code": "WQ4MM3",
  • "preparer_external_reference": "DYNAMICS_ERP_3454662"
}

Response samples

Content type
application/json
{
  • "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 prepared ticket

Retrieve a single prepared ticket by its identifier.

Authorizations:
OAuth2
path Parameters
prepared-ticket-id
required
string <uuid>

Identifier of the prepared ticket.

Responses

Response Schema: application/json
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 12 or 24.

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.

Response samples

Content type
application/json
{
  • "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 prepared ticket

Update a single prepared ticket by its identifier.

Authorizations:
OAuth2
path Parameters
prepared-ticket-id
required
string <uuid>

Identifier of the prepared ticket.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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 12 or 24.

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.

Request samples

Content type
application/json
{
  • "vehicle_model_id": 0,
  • "vin": "string",
  • "voucher_code": "WQ4MM3",
  • "preparer_external_reference": "DYNAMICS_ERP_3454662"
}

Response samples

Content type
application/json
{
  • "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 prepared ticket

Delete a single prepared ticket by its identifier.

Authorizations:
OAuth2
path Parameters
prepared-ticket-id
required
string <uuid>

Identifier of the prepared ticket.

Responses

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

Transition prepared ticket

Transition a single prepared ticket by its identifier.

Authorizations:
OAuth2
path Parameters
prepared-ticket-id
required
string <uuid>

Identifier of the prepared ticket.

Request Body schema: application/json

The changes you wish to make.

required
Queue for service (object)

Transition this ticket to a different state.

One of
type
required
string
Value Description
queue-for-service

Queue this ticket for service.

The type of transition to apply on this ticket.

confirmed_unattended_service
boolean
Default: false

Approve auto-outsourcing to unattended service.

connector_id
required
string <uuid>

Identifier of the connector.

customer_reference
string
Default: ""

Customer reference of the ticket.

required
object

Metadata for the ticket.

required
Array of objects

Answers to the product prerequisite of the products in the ticket.

Responses

Response Headers
Location
string <uri-reference>
Example: "/v2/tickets/pending-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0"

Path to resource the ticket has been transitioned to.

Request samples

Content type
application/json
{
  • "transition": {
    }
}

Response samples

Content type
application/problem+json
Example
{
  • "status": 400,
  • "type": "about:blank",
  • "title": "Some title for the error situation",
  • "detail": "Some description for the error situation"
}

Pending tickets

Manage pending tickets.

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 12 or 24.

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 pending tickets

Retrieve a list of pending tickets.

Authorizations:
OAuth2
query Parameters
expected_voltage
number <int32> >= 0

Filter tickets by expected vehicle voltage. Currently only tickets with 12 or 24 are available.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Pending ticket) >= 0 items

List of pending tickets.

Array (>= 0 items)
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 12 or 24.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a pending ticket

Retrieve a single pending ticket by its identifier.

Authorizations:
OAuth2
path Parameters
pending-ticket-id
required
string <uuid>

The identifier of the pending ticket.

Responses

Response Schema: application/json
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 12 or 24.

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.

Response samples

Content type
application/json
{
  • "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 an pending ticket

Update a single 'Pending' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
pending-ticket-id
required
string <uuid>

The identifier of the pending ticket.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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 12 or 24.

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.

Request samples

Content type
application/json
{
  • "scheduled_message": "Your ticket has been scheduled. Thank you for your patience.",
  • "scheduled_until": "2025-08-01T12:00:00Z"
}

Response samples

Content type
application/json
{
  • "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 pending ticket

Transition a single pending ticket by its identifier.

Authorizations:
OAuth2
path Parameters
pending-ticket-id
required
string <uuid>

The identifier of the pending ticket.

Request Body schema: application/json

The changes you wish to make.

required
Start service (object)

Transition this ticket to a different state.

One of
type
required
string
Value Description
start-service

Start service on this ticket.

The type of transition to apply on this ticket.

operator_id
required
string <uuid>

Identifier of a provider employee who is able to service a ticket (has 'true' for is_operator property).

Responses

Response Headers
Location
string <uri-reference>
Example: "/v2/tickets/in-progress-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0"

Path to resource the ticket has been transitioned to.

Request samples

Content type
application/json
{
  • "transition": {
    }
}

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

In progress tickets

Manage in progress tickets.

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 12 or 24.

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 'In Progress' tickets

Retrieve a list of 'In Progress' tickets.

Authorizations:
OAuth2
query Parameters
expected_voltage
number <int32> >= 0

Filter tickets by expected vehicle voltage. Currently only tickets with 12 or 24 are available.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (In progress ticket) >= 0 items

List of 'In Progress' tickets.

Array (>= 0 items)
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 12 or 24.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve an in progress ticket

Retrieve a single 'In Progress' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
in-progress-ticket-id
required
string <uuid>

The identifier of the 'In Progress' ticket.

Responses

Response Schema: application/json
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 12 or 24.

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.

Response samples

Content type
application/json
{
  • "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 an in progress ticket

Update a single 'In Progress' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
in-progress-ticket-id
required
string <uuid>

The identifier of the 'In Progress' ticket.

Request Body schema: application/json
required

The updated 'In Progress' ticket.

operator_id
required
string <uuid>

Identifier of the assigned operator.

Responses

Response Schema: application/json
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 12 or 24.

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.

Request samples

Content type
application/json
{
  • "operator_id": "fa9de6bb-1df8-4ba6-9e6d-1172fbf7e166"
}

Response samples

Content type
application/json
{
  • "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 in progress ticket

Transition a single 'In Progress' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
in-progress-ticket-id
required
string <uuid>

The identifier of the 'In Progress' ticket.

Request Body schema: application/json

The changes you wish to make.

required
Outsource (object) or Complete (object) or Cancel (object)

Transition this ticket to a different state.

One of
type
required
string
Value Description
outsource

Outsource this ticket.

The type of transition to apply on this ticket.

allow_customer_chat_write_access
boolean

Whether an operator of the outsource provider is allowed to send chat messages to your customer. If this property is omitted the outsource link settings for the outsource provider will be used.

product_ids
required
Array of strings <uuid> non-empty [ items <uuid > ]

Identifiers of the product(s) to outsource. Only products of type "base" can be outsourced. See Outsource applications for a way to determine which products can be outsourced to providers that are available to you.

provider_id
required
string <uuid>

Identifier of the provider to outsource to.

share_customer_information
boolean

Whether contact information of your customer is shared with the outsource provider. If this property is omitted the outsource link settings for the outsource provider will be used.

Responses

Response Headers
Location
string <uri-reference>
Example: "/v2/tickets/outsourced-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0"

Path to resource the ticket has been transitioned to.

Request samples

Content type
application/json
{
  • "transition": {
    }
}

Response samples

Content type
application/problem+json
Example
{
  • "status": 400,
  • "type": "about:blank",
  • "title": "Some title for the error situation",
  • "detail": "Some description for the error situation"
}

Outsourced tickets

Manage outsourced tickets.

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 12 or 24.

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 'Outsourced' tickets

Retrieve a list of 'Outsourced' tickets.

Authorizations:
OAuth2
query Parameters
expected_voltage
number <int32> >= 0

Filter tickets by expected vehicle voltage. Currently only tickets with 12 or 24 are available.

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Outsourced ticket) >= 0 items

List of 'Outsourced' tickets.

Array (>= 0 items)
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 12 or 24.

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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve an outsourced ticket

Retrieve a single 'Outsourced' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
outsourced-ticket-id
required
string <uuid>

The identifier of the 'Outsourced' ticket.

Responses

Response Schema: application/json
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 12 or 24.

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.

Response samples

Content type
application/json
{
  • "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 outsourced ticket

Transition a single 'Outsourced' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
outsourced-ticket-id
required
string <uuid>

The identifier of the 'Outsourced' ticket.

Request Body schema: application/json

The changes you wish to make.

required
Reclaim (object)

Transition this ticket to a different state.

One of
type
required
string
Value Description
reclaim

Reclaim this ticket.

The type of transition to apply on this ticket.

Responses

Response Headers
Location
string <uri-reference>
Example: "/v2/tickets/in-progress-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0"

Path to resource the ticket has been transitioned to.

Request samples

Content type
application/json
{
  • "transition": {
    }
}

Response samples

Content type
application/problem+json
Example
{
  • "status": 403,
  • "type": "about:blank",
  • "title": "Forbidden",
  • "detail": "You are not authorized to access this resource."
}

Cancelled tickets

Manage cancelled tickets.

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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

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 'Cancelled' tickets

Retrieve a list of 'Cancelled' tickets.

Authorizations:
OAuth2
query Parameters
expected_voltage
number <int32> >= 0

Filter tickets by expected vehicle voltage. Currently only tickets with 12 or 24 are available.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Filter tickets by vehicle battery voltage system.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Cancelled ticket) >= 0 items

List of 'Cancelled' tickets.

Array (>= 0 items)
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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Detected vehicle battery voltage system 12 volt or 24 volt.

connection_id
string or null <uuid>

Identifier of the connection.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a cancelled ticket

Retrieve a single 'Cancelled' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
cancelled-ticket-id
required
string <uuid>

The identifier of the 'Cancelled' ticket.

Responses

Response Schema: application/json
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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Detected vehicle battery voltage system 12 volt or 24 volt.

connection_id
string or null <uuid>

Identifier of the connection.

Response samples

Content type
application/json
{
  • "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 cancelled ticket

Update a single cancelled ticket by its identifier.

Authorizations:
OAuth2
path Parameters
cancelled-ticket-id
required
string <uuid>

The identifier of the 'Cancelled' ticket.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Detected vehicle battery voltage system 12 volt or 24 volt.

connection_id
string or null <uuid>

Identifier of the connection.

Request samples

Content type
application/json
{
  • "externally_processed": true,
  • "external_reference": "string"
}

Response samples

Content type
application/json
{
  • "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 cancelled ticket

Transition a single 'Cancelled' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
cancelled-ticket-id
required
string <uuid>

The identifier of the 'Cancelled' ticket.

Request Body schema: application/json

The changes you wish to make.

required
Complete (object)

Transition this ticket to a different state.

One of
type
required
string
Value Description
complete

Complete this ticket.

The type of transition to apply on this ticket.

Responses

Response Headers
Location
string <uri-reference>
Example: "/v2/tickets/closed-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0"

Path to resource the ticket has been transitioned to.

Request samples

Content type
application/json
{
  • "transition": {
    }
}

Response samples

Content type
application/problem+json
Example
{
  • "status": 400,
  • "type": "about:blank",
  • "title": "Some title for the error situation",
  • "detail": "Some description for the error situation"
}

Closed tickets

Manage closed tickets.

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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

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 'Closed' tickets

Retrieve a list of 'Closed' tickets.

Authorizations:
OAuth2
query Parameters
expected_voltage
number <int32> >= 0

Filter tickets by expected vehicle voltage. Currently only tickets with 12 or 24 are available.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Filter tickets by vehicle battery voltage system.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Closed ticket) >= 0 items

List of 'Closed' tickets.

Array (>= 0 items)
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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Detected vehicle battery voltage system 12 volt or 24 volt.

connection_id
string or null <uuid>

Identifier of the connection.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve a closed ticket

Retrieve a single 'Closed' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
closed-ticket-id
required
string <uuid>

The identifier of the 'Closed' ticket.

Responses

Response Schema: application/json
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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Detected vehicle battery voltage system 12 volt or 24 volt.

connection_id
string or null <uuid>

Identifier of the connection.

Response samples

Content type
application/json
{
  • "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 closed ticket

Update a single closed ticket by its identifier.

Authorizations:
OAuth2
path Parameters
closed-ticket-id
required
string <uuid>

The identifier of the 'Closed' ticket.

Request Body schema: application/json
required

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.

Responses

Response Schema: application/json
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 12 or 24.

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
Enum Description
12v

12V battery system.

24v

24V battery system.

Detected vehicle battery voltage system 12 volt or 24 volt.

connection_id
string or null <uuid>

Identifier of the connection.

Request samples

Content type
application/json
{
  • "externally_processed": true,
  • "external_reference": "string"
}

Response samples

Content type
application/json
{
  • "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 closed ticket

Transition a single 'Closed' ticket by its identifier.

Authorizations:
OAuth2
path Parameters
closed-ticket-id
required
string <uuid>

The identifier of the 'Closed' ticket.

Request Body schema: application/json

The changes you wish to make.

required
Cancel (object)

Transition this ticket to a different state.

One of
type
required
string
Value Description
cancel

Cancel this ticket.

The type of transition to apply on this ticket.

cancel_reason_id
required
integer <int64>

Identifier of cancel reason that best describes the reason this ticket was cancelled. Only cancel reasons that are manually applicable by an operator are allowed.

Responses

Response Headers
Location
string <uri-reference>
Example: "/v2/tickets/cancelled-tickets/f2c4cf2d-c633-466b-b161-c01ab5bf66f0"

Path to resource the ticket has been transitioned to.

Request samples

Content type
application/json
{
  • "transition": {
    }
}

Response samples

Content type
application/problem+json
Example
{
  • "status": 400,
  • "type": "about:blank",
  • "title": "Some title for the error situation",
  • "detail": "Some description for the error situation"
}

Sessions

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.

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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

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": {
    },
  • "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
  • "public": true,
  • "supported_products": [
    ],
  • "supported_vehicles": [
    ],
  • "version": "beta 1.12.3a (semi-production)",
  • "visibility": "hidden"
}

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
Enum Description
available

A new openOBD session has been started and is ready for authentication.

active

The openOBD session has been authenticated and can be used to make gRPC calls.

interrupted

The openOBD session has been forcibly stopped by an API call.

finished

The openOBD session has been gracefully ended by a gRPC call.

failed

The openOBD session has been stopped due to an internal error.

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",
  • "grpc_endpoint": "http://example.com",
  • "state": "available"
}

Get sessions

Get a list of openOBD sessions.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Session) >= 0 items

List of sessions.

Array (>= 0 items)
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
Enum Description
available

A new openOBD session has been started and is ready for authentication.

active

The openOBD session has been authenticated and can be used to make gRPC calls.

interrupted

The openOBD session has been forcibly stopped by an API call.

finished

The openOBD session has been gracefully ended by a gRPC call.

failed

The openOBD session has been stopped due to an internal error.

The current state of the openOBD session.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Get session

Get info on an openOBD session.

Authorizations:
OAuth2
path Parameters
session-id
required
string <uuid>

The identifier of the session.

Responses

Response Schema: application/json
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
Enum Description
available

A new openOBD session has been started and is ready for authentication.

active

The openOBD session has been authenticated and can be used to make gRPC calls.

interrupted

The openOBD session has been forcibly stopped by an API call.

finished

The openOBD session has been gracefully ended by a gRPC call.

failed

The openOBD session has been stopped due to an internal error.

The current state of the openOBD session.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "authentication_token": "string",
  • "created_at": "2019-08-24T14:15:22.651+0000",
  • "grpc_endpoint": "http://example.com",
  • "state": "available"
}

Interrupt a session

Interrupt an openOBD session.

Authorizations:
OAuth2
path Parameters
session-id
required
string <uuid>

The identifier of the session.

Responses

Response Schema: application/json
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
Enum Description
available

A new openOBD session has been started and is ready for authentication.

active

The openOBD session has been authenticated and can be used to make gRPC calls.

interrupted

The openOBD session has been forcibly stopped by an API call.

finished

The openOBD session has been gracefully ended by a gRPC call.

failed

The openOBD session has been stopped due to an internal error.

The current state of the openOBD session.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "authentication_token": "string",
  • "created_at": "2019-08-24T14:15:22.651+0000",
  • "grpc_endpoint": "http://example.com",
  • "state": "available"
}

Functions

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.

Retrieve openOBD functions

Get a list of openOBD functions to perform an automated service.

Authorizations:
OAuth2
query Parameters
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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

Filter functions by their visibility.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Function) >= 0 items

List of functions.

Array (>= 0 items)
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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

Determines where the function will be shown. Does not affect whether the function can be run or not.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Create an openOBD function

Create an openOBD function.

Authorizations:
OAuth2
Request Body schema: application/json
required

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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

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/

Responses

Response Schema: application/json
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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

Determines where the function will be shown. Does not affect whether the function can be run or not.

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "description": "string",
  • "name": "string",
  • "price": {
    },
  • "public": true,
  • "supported_products": [
    ],
  • "supported_vehicles": [
    ],
  • "version": "beta 1.12.3a (semi-production)",
  • "visibility": "hidden",
  • "signature": "string"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "description": "string",
  • "name": "string",
  • "online": true,
  • "price": {
    },
  • "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
  • "public": true,
  • "supported_products": [
    ],
  • "supported_vehicles": [
    ],
  • "version": "beta 1.12.3a (semi-production)",
  • "visibility": "hidden"
}

Retrieve an openOBD function

Retrieve info on a specific openOBD functions to perform an automated service.

Authorizations:
OAuth2
path Parameters
function-id
required
string <uuid>

The identifier of the openOBD function.

Responses

Response Schema: application/json
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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

Determines where the function will be shown. Does not affect whether the function can be run or not.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "description": "string",
  • "name": "string",
  • "online": true,
  • "price": {
    },
  • "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
  • "public": true,
  • "supported_products": [
    ],
  • "supported_vehicles": [
    ],
  • "version": "beta 1.12.3a (semi-production)",
  • "visibility": "hidden"
}

Update an openOBD function

Updates an existing function.

Authorizations:
OAuth2
path Parameters
function-id
required
string <uuid>

The identifier of the openOBD function.

Request Body schema: application/json
required

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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

Determines where the function will be shown. Does not affect whether the function can be run or not.

Responses

Response Schema: application/json
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.

amount
number <float> >= 0

The monetary amount.

currency
string <iso-4217>

The currency of the monetary amount.

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)
Enum Description
visible

The function will show up in UIs.

hidden

The function will not be shown in UIs.

Determines where the function will be shown. Does not affect whether the function can be run or not.

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "description": "string",
  • "name": "string",
  • "price": {
    },
  • "public": true,
  • "supported_products": [
    ],
  • "supported_vehicles": [
    ],
  • "version": "beta 1.12.3a (semi-production)",
  • "visibility": "hidden"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "description": "string",
  • "name": "string",
  • "online": true,
  • "price": {
    },
  • "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
  • "public": true,
  • "supported_products": [
    ],
  • "supported_vehicles": [
    ],
  • "version": "beta 1.12.3a (semi-production)",
  • "visibility": "hidden"
}

Delete an openOBD function

Deleted an existing function.

Authorizations:
OAuth2
path Parameters
function-id
required
string <uuid>

The identifier of the openOBD function.

Responses

Response samples

Content type
application/problem+json
Example

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": [
    ]
}

Odometer registrations

Odometer registrations on a vehicle.

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"
}

Retrieve odometer registrations

Retrieve a list of odometer registrations for a vehicle.

Authorizations:
OAuth2
query Parameters
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"
Items Enum Description
created_at:asc

Sort by creation date-time, oldest registrations first

created_at:desc

Sort by creation date-time, newest registrations first

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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

sort_by
Array of strings non-empty
Default: ["created_at:asc"]
Items Enum Description
created_at:asc

Sort by creation date-time, oldest registrations first

created_at:desc

Sort by creation date-time, newest registrations first

The applied value of the sort_by[] query parameter on the resources in result.

vin
string = 17 characters

The applied value of the vin query parameter on the resources in result.

property name*
additional property
any
Array of objects (Odometer registration) >= 0 items

List of odometer registrations for given vin sorted by created_at descending.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Add odometer registration

Add a new odometer registration for a vehicle.

Authorizations:
OAuth2
Request Body schema: application/json

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.

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
  • "value": 182432.42,
  • "vin": "JH4KA7630PC007649",
  • "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "created_at": "2023-03-15T08:12:28Z",
  • "is_breaking": true,
  • "value": 182432.42,
  • "vin": "JH4KA7630PC007649"
}

Retrieve odometer registration

Retrieve single odometer registration for a vehicle by identifier.

Authorizations:
OAuth2
path Parameters
odometer-registration-id
required
string <uuid>

Identifier of the odometer registration.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "created_at": "2023-03-15T08:12:28Z",
  • "is_breaking": true,
  • "value": 182432.42,
  • "vin": "JH4KA7630PC007649"
}

Makes

Vehicle makes describe brand or manufacturer of a vehicle.

Make

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 vehicle makes

Retrieve a list of vehicle makes.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Make) >= 0 items

List of makes.

Array (>= 0 items)
id
integer <int64>

Vehicle make identifier.

enabled
boolean

Whether the vehicle make is enabled.

name
string [ 1 .. 255 ] characters

Name of vehicle make.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve vehicle make

Retrieve a vehicle make by its identifier.

Authorizations:
OAuth2
path Parameters
make-id
required
integer <int64>

Vehicle make identifier.

Responses

Response Schema: application/json
id
integer <int64>

Vehicle make identifier.

enabled
boolean

Whether the vehicle make is enabled.

name
string [ 1 .. 255 ] characters

Name of vehicle make.

Response samples

Content type
application/json
{
  • "id": 49,
  • "enabled": true,
  • "name": "FORD"
}

Model groups

Vehicle model groups describe a group of a vehicle model.

Model group

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 vehicle model groups

Retrieve a list of vehicle model groups.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Model group) >= 0 items

List of model groups.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve vehicle model group

Retrieve a single vehicle model group by its identifier.

Authorizations:
OAuth2
path Parameters
model-group-id
required
integer <int64>

Vehicle model group identifier.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "id": 5796,
  • "enabled": true,
  • "make_id": 49,
  • "name": "FOCUS"
}

Models

Vehicle models describe the manufactured model of a vehicle.

Model

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 vehicle models

Retrieve a list of vehicle models.

Authorizations:
OAuth2
query Parameters
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.

Responses

Response Schema: application/json
object >= 0 properties

Applied query parameters, including defaults.

limit
integer <int32> [ 0 .. 1000 ]
Default: 25

The applied value of the limit query parameter on the resources in result.

offset
integer <int64> >= 0
Default: 0

The applied value of the offset query parameter on the resources in result.

property name*
additional property
any
Array of objects (Model) >= 0 items

List of models.

Array (>= 0 items)
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.

total
integer <int64>

Total number of resources matching provided query parameters.

Response samples

Content type
application/json
{
  • "query": {
    },
  • "result": [
    ],
  • "total": 4
}

Retrieve vehicle model

Retrieve a single vehicle model by its identifier.

Authorizations:
OAuth2
path Parameters
model-id
required
integer <int64>

Vehicle model identifier.

Responses

Response Schema: application/json
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.

Response samples

Content type
application/json
{
  • "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"
}