Jifeline Customer API (1.0.0)

Download OpenAPI specification:

Jifeline Networks: info@jifeline.com

This API offers a way to interact with Customer resources like retrieving connectors, selecting vehicles and creating tickets.

Connectors

Connectors are remote diagnose devices that can be plugged into the OBD port of a vehicle.

Websockets

This service is used for status updates on connectors, connections and tickets. More information about the websockets can be found here.

Get the connectors

Get the connectors linked to the logged in user.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get a single connector

Get a single connector by providing a connector ID

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
connectorId
required
integer

ID of the connector

Responses

Response samples

Content type
application/json
{
  • "id": 910329423,
  • "uuid": "5f3d760d-ade2-4a19-aea4-36e097678ae3",
  • "is_online": true,
  • "has_wifi": true,
  • "software_version": 2,
  • "hardware_version": 0,
  • "supports_doip": true,
  • "vehicle_path_string": "AUDI#100#100 - (44, 44Q, C3)#1.8 Quattro 65KW SH",
  • "vin_number": "VF1CN04054456164",
  • "product_description": "Tow Bar Coding (Aftermarket Equipment)",
  • "hardware_type": "classic"
}

Get a single connector

Get a single connector by providing a connector UUID

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
connectorUUID
required
string <uuid>

UUID of the connector

Responses

Response samples

Content type
application/json
{
  • "id": 910329423,
  • "uuid": "5f3d760d-ade2-4a19-aea4-36e097678ae3",
  • "is_online": true,
  • "has_wifi": true,
  • "software_version": 2,
  • "hardware_version": 0,
  • "supports_doip": true,
  • "vehicle_path_string": "AUDI#100#100 - (44, 44Q, C3)#1.8 Quattro 65KW SH",
  • "vin_number": "VF1CN04054456164",
  • "product_description": "Tow Bar Coding (Aftermarket Equipment)",
  • "hardware_type": "classic"
}

Dismiss call for attention

Dismiss a call for attention on the connector

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
connectorUUID
required
string <uuid>

UUID of the connector

Responses

Response samples

Content type
application/json
{
  • "status": 0,
  • "type": "string",
  • "title": "string",
  • "detail": "string"
}

Get the active ticket on a connector

Get the active ticket on a connector

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
connectorId
required
string

ID of the connector.

Responses

Response samples

Content type
application/json
{
  • "id": "3",
  • "uuid": "abcb2f39-7620-401a-8dab-ec2f6075ed8a",
  • "vin": "JFL91010104591010",
  • "vinNumber": "JFL91010104591010",
  • "vehicle_model_id": 23423,
  • "vehicle_model_variant_id": 23423,
  • "product_ids": [
    ],
  • "chat_id": "2349283_416e4c77-4fc0-40ca-b5a5-95a12c4e84e8",
  • "connector_id": 990001234,
  • "state": 1
}

Products

Products and product grouping

Get the Product groups

Product groups are the first layer in the hiarchy of grouping products.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vehicle_model_id
required
integer
Example: vehicle_model_id=332423

ID of the vehicle model to get product groups for

vehicle_model_variant_id
required
integer
Example: vehicle_model_variant_id=332423

ID of the vehicle model variant to get product groups for

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get the Product bundles for a specific product group

Bundle of products that have a similar goal

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
product_group_id
number <int32>
Example: product_group_id=2691

The ID of the product group.

vehicle_model_id
required
integer
Example: vehicle_model_id=332423

ID of the vehicle model to get product bundles for

vehicle_model_variant_id
required
integer
Example: vehicle_model_variant_id=332423

ID of the vehicle model variant to get product bundles for

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get Products

Products are services offered by service providers to execute on a selected vehicle.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vehicle_model_id
required
integer
Example: vehicle_model_id=332423

ID of the vehicle model to get products for

vehicle_model_variant_id
required
integer
Example: vehicle_model_variant_id=332423

ID of the vehicle model variant to get products for

product_group_id
number <int32>
Example: product_group_id=2691

The ID of the product group. This parameter cannot be combined with product_bundle_id!

product_bundle_id
string <uuid>
Example: product_bundle_id=e51c66a6-096b-412c-bd94-8c04ded544d5

The ID of the product bundle. This parameter cannot be combined with product_group_id!

boolean or integer
Default: true

Return products with matching favorite flag

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Add a product to the list of favorite products

By adding a product to the list of favorite products it is flagged as favorite and becomes available under the Favorites section of the customer portal.

Authorizations:
OAuth2JifelineAuthorizer
Request Body schema: application/json
required

The product to add to the list of favorite products.

id
integer

A unique ID of the product

item_number
string

A product's item number (SKU)

name
string

The name of the product

internal_name
string

Universal (internal, English) product name

description
string

The description of the product

is_favorite
boolean

Is product marked as favorite.

is_unattended
boolean

Is product executed by an unattended process.

object

Gross price for this product

object

Nett price for this product

object

Total discount for this product

object or null

Original equipment service fee applicable for this product, null if none applies

object
Deprecated

Product Price

Responses

Request samples

Content type
application/json
{
  • "id": 52351,
  • "item_number": 100022,
  • "name": "Remote Diagnostic Support",
  • "internal_name": "Airbag Module Replacement",
  • "description": "Remote diagnostic support session. Have you met the conditions for submitting this diagnosis ticket? You can find more information on our website.",
  • "is_favorite": true,
  • "is_unattended": true,
  • "gross_price": {
    },
  • "net_price": {
    },
  • "total_discount": {
    },
  • "original_equipment_service_fee": {
    },
  • "price": {
    }
}

Response samples

Content type
application/json
null

Remove product from the list of favorite products

By removing the product from the list of favorite products it is no longer flagged as favorite or available under the Favorites section of the customer portal.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
id
required
string

Product ID

Responses

Get product prerequisites, the prerequisites are selected based on the products and vehicle type

Get product prerequisites

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vehicle_model_variant_id
required
number <int32>
Example: vehicle_model_variant_id=1480

Id of the vehicle model the product selected for.

vehicle_model_id
required
integer
Example: vehicle_model_id=332423

ID of the vehicle model to get products for

product_id
required
Array of integers non-empty
Example: product_id=100593,200593,300593

Product ID to get the prerequisites for.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Tickets

Tickets are the orders of products in the Customer portal.

Websockets

This service is used for status updates on connectors, connections and tickets. More information about the websockets can be found here.

Options

Enable CORS by returning correct headers

Authorizations:
None
path Parameters
ticketId
required
integer

Ticket identifier used to post CSAT score.

Responses

Add or update a Customer Satisfaction Score (CSAT) and optionally a comment for a ticket

Add or update a Customer Satisfaction Score (CSAT) and / or a comment for a ticket. The CSAT score should be between -1 and 1, where -1 is the lowest score and 1 is the highest score.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
ticketId
required
integer

Ticket identifier used to post CSAT score.

Request Body schema: application/json
required

The CSAT score

score
required
number

CSAT score

comment
string or null

Comment for the CSAT score

Responses

Request samples

Content type
application/json
{
  • "score": 1,
  • "comment": "Very friendly operator"
}

Response samples

Content type
application/json
null

Get available notes for a ticket.

Get available notes with attachments for a ticket.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
ticketId
required
integer

Ticket identifier used to retrieve notes.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get historical tickets for a given vehicle identification number

Get historical tickets for a given vehicle identification number

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vin
string
Example: vin=JFL91010104491010

Vehicle identification number

connector_id
integer
Example: connector_id=910101043

The ID of the used connector

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get historical ticket for a historical ticket id.

Get historical ticket for a given historical ticket id.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
historicalTicketId
required
integer

Historical ticket identifier used to retrieve notes.

Responses

Response samples

Content type
application/json
{
  • "id": 7014044,
  • "connector_id": 910101043,
  • "state": 7,
  • "vin": "JFL91010104591010",
  • "odometer_reading": 138853,
  • "reference": "Licence plate",
  • "voucher": "23MDU53",
  • "vehicle_model_id": 23423,
  • "vehicle_model_variant_id": 23423,
  • "sub_total": {
    },
  • "total": {
    },
  • "original_equipment_service_fee": {
    },
  • "product_lines": [
    ],
  • "created_at": "2021-09-08T10:03:29+00:00",
  • "finished_at": "2021-09-08T10:03:29+00:00"
}

Retrieve prepared tickets

Retrieve available prepared tickets for the authenticated customer and/or vehicle (via VIN).

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

vin
required
string
Example: vin=JFL91010104491010

Filter prepared tickets and return those available for a vehicle with provided VIN.

Responses

Response samples

Content type
application/json
{
  • "total": 234,
  • "offset": 200,
  • "limit": 20,
  • "result": [
    ]
}

Create a new ticket

Creates a new ticket containing one or more products for a specific vehicle with VIN It is not possible to create a ticket on a connector when there is a pending ticket on the connector.

Authorizations:
OAuth2JifelineAuthorizer
Request Body schema: application/json
required

Creates a ticket

vin
required
string

The Vehicle Identification number the ticket is created for

vehicle_model_id
required
integer

The ID of the vehicle model

vehicle_model_variant_id
required
integer

The ID of the vehicle model variant

connector_id
required
integer

The ID of the connected connector

voucher
string

Voucher code for discount

product_ids
required
Array of integers

Array of products ids that will be purchased in the ticket

Array of objects (Answer to a product prerequisite)

Ticket attributes are answers on the product prerequisite of the products in the ticket

required
object

Metadata for the ticket

prepared_ticket_id
string or null <uuid>

The identifier of the prepared ticket

reference
string
Default: ""

Reference of the ticket

confirmed_unattended_service
boolean
Default: false

true if confirmation for auto-outsourcing to an unattended service is given.

Responses

Request samples

Content type
application/json
{
  • "vin": "JFL91010104391010",
  • "vehicle_model_id": "284841",
  • "vehicle_model_variant_id": "284841",
  • "connector_id": 910101043,
  • "voucher": "234MD23",
  • "product_ids": [
    ],
  • "product_prerequisites": [
    ],
  • "metadata": {
    },
  • "prepared_ticket_id": "ca09a970-6519-4280-b6a6-65727e2894e3",
  • "reference": "aa-bb-12",
  • "confirmed_unattended_service": true
}

Response samples

Content type
application/json
{
  • "id": "3",
  • "uuid": "abcb2f39-7620-401a-8dab-ec2f6075ed8a",
  • "vin": "JFL91010104591010",
  • "vinNumber": "JFL91010104591010",
  • "vehicle_model_id": 23423,
  • "vehicle_model_variant_id": 23423,
  • "product_ids": [
    ],
  • "chat_id": "2349283_416e4c77-4fc0-40ca-b5a5-95a12c4e84e8",
  • "connector_id": 990001234,
  • "state": 1
}

Vehicles

Vehicle details

Retrieve recently serviced vehicles

Retrieve serviced vehicles, sorted by most recent to oldest.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get vehicle makes

A vehicle make is the brand of the vehicle

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get a single vehicle make

A vehicle make is the brand of the vehicle

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
makeId
required
integer

Vehicle make ID

Responses

Response samples

Content type
application/json
{
  • "id": 10,
  • "name": "Ford"
}

Get vehicle model groups

Get vehicle model group for a make

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vehicle_make_id
required
number <int32>
Example: vehicle_make_id=2691

The ID of the vehicle make.

offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get a single vehicle model-group

Get a single vehicle model-group (e.g. Laguna)

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
modelGroupId
required
integer

Vehicle model-group ID

Responses

Response samples

Content type
application/json
{
  • "id": 234,
  • "name": "Focus",
  • "vehicle_make_id": 0,
  • "vehicle_make_name": "string"
}

Get vehicle models

Get vehicle models for a model group

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vehicle_model_group_id
required
number <int32>
Example: vehicle_model_group_id=2691

The ID of the vehicle model group.

offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get a single vehicle model

Get a single vehicle model (e.g. Laguna III Grandtour)

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
modelId
required
integer

Vehicle model ID

Responses

Response samples

Content type
application/json
{
  • "id": 23423,
  • "name": "FOCUS - II (DA_, HCP, DP) (2004 - 2013)",
  • "manufactured_from": "2019-09-08",
  • "manufactured_to": "2020-09-08",
  • "vehicle_model_group_id": 0,
  • "vehicle_model_group_name": "string",
  • "vehicle_make_id": 0,
  • "vehicle_make_name": "string",
  • "requires_doip": true
}

Get vehicle model variants

Get vehicle model variants for a model

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
vehicle_model_id
required
number <int32>
Example: vehicle_model_id=2691

The ID of the vehicle model.

offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "result": [
    ],
  • "total": 234,
  • "offset": 200,
  • "limit": 20
}

Get a single vehicle model-variant

Get a single vehicle model-variant (e.g. Laguna III Grandtour 2.0 16V Turbo 125KW F4R 811)

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
modelVariantId
required
integer

Vehicle model-variant ID

Responses

Response samples

Content type
application/json
{
  • "id": 34234,
  • "name": "1.4 59KW ASDA, ASDB (2004 - 2012)",
  • "manufactured_from": "2019-09-08",
  • "manufactured_to": "2020-09-08",
  • "vehicle_model_id": 0,
  • "vehicle_model_name": "string",
  • "vehicle_model_group_id": 0,
  • "vehicle_model_group_name": "string",
  • "vehicle_make_id": 0,
  • "vehicle_make_name": "string",
  • "requires_doip": true
}

Cart

Shopping cart

Calculate prices for the given items

Authorizations:
OAuth2JifelineAuthorizer
Request Body schema: application/json
required

Products, vehicle and vouchercode to calculate totals for

voucher
string

Voucher code for discount

vehicle_model_id
required
integer

The vehicle model id

vehicle_model_variant_id
required
integer

The vehicle model variant id

vin
string or null = 17 characters ^[a-zA-Z0-9]{17}$

VIN of the vehicle

prepared_ticket_id
string or null <uuid>

The identifier of the prepared ticket

product_ids
required
Array of integers

products to calculate the prices for

Responses

Request samples

Content type
application/json
{
  • "voucher": "234MD23",
  • "vehicle_model_id": 23423,
  • "vehicle_model_variant_id": 23423,
  • "vin": "JFL91010104591010",
  • "prepared_ticket_id": "ca09a970-6519-4280-b6a6-65727e2894e3",
  • "product_ids": [
    ]
}

Response samples

Content type
application/json
{
  • "voucher": "23MDU53",
  • "voucher_discount": {
    },
  • "vehicle_model_id": 23423,
  • "vehicle_model_variant_id": 23423,
  • "needs_confirmation_for_unattended_service": true,
  • "sub_total": {
    },
  • "voucher_sub_total": {
    },
  • "original_equipment_service_fee": {
    },
  • "total": {
    },
  • "items": [
    ]
}

Users

User management

Get user information of the current logged-in user

Gets basic information of the users like, name, address, the user's company and the service provider the user is linked to.

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

Content type
application/json
{
  • "id": "0777bdfc-e9de-4a02-8958-46b3d36015ce",
  • "first_name": "John",
  • "middle_name": "Edeward",
  • "last_name": "Doe",
  • "client": {
    },
  • "service_provider": {
    }
}

Employees

Employee management

Get list of employees

Get a list of employees.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 0 .. 200 ]
Example: limit=20

The maximum number of items to return, the maximum numers of items to return is set to 200.

Responses

Response samples

Content type
application/json
{
  • "total": 234,
  • "offset": 200,
  • "limit": 20,
  • "result": [
    ]
}

Add employee

Add a new employee.

Authorizations:
OAuth2JifelineAuthorizer
Request Body schema: application/json
required

Employee to create

given_name
required
string <= 255 characters

Given name of employee.

family_name
required
string <= 255 characters

Family name of employee.

username
required
string or null <email> [ 1 .. 255 ] characters

Username of employee. Once set it cannot be unset, only updated.

correspondence_locale
string <bcp47>

Locale used when sending correspondence to this employee. Only supported system locales are allowed.

Responses

Request samples

Content type
application/json
{
  • "given_name": "John",
  • "family_name": "Smith",
  • "username": "john.smith@my-garage.com",
  • "correspondence_locale": "en-GB"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "given_name": "John",
  • "family_name": "Smith",
  • "username": "john.smith@my-garage.com",
  • "enabled": true,
  • "correspondence_locale": "en-GB"
}

Get employee

Gets basic information of the employee like first-, family- and username. Using "me" as the employeeId will return this information for the currently logged-in employee.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
required
string or string

Employee identifier.

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "given_name": "John",
  • "family_name": "Smith",
  • "username": "john.smith@my-garage.com",
  • "enabled": true,
  • "correspondence_locale": "en-GB"
}

Change employee

Change a new employee.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
required
string or string

Employee identifier.

Request Body schema: application/json
required

Properties to change.

given_name
required
string <= 255 characters

Given name of employee.

family_name
required
string <= 255 characters

Family name of employee.

username
required
string or null <email> [ 1 .. 255 ] characters

Username of employee. Once set it cannot be unset, only updated.

correspondence_locale
string <bcp47>

Locale used when sending correspondence to this employee. Only supported system locales are allowed.

Responses

Request samples

Content type
application/json
{
  • "given_name": "John",
  • "family_name": "Smith",
  • "username": "john.smith@my-garage.com",
  • "correspondence_locale": "en-GB",
  • "enabled": null
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "given_name": "John",
  • "family_name": "Smith",
  • "username": "john.smith@my-garage.com",
  • "enabled": true,
  • "correspondence_locale": "en-GB"
}

Chats

Chats

Authentication

Authentication

Send forgot password mail

This endpoint is required for the migration phase of the customer portal and is only intended to be used for the Jifeline Customer Portal.

Authorizations:
None
Request Body schema: application/json
required

Forgot password body containing e-mail address

email_address
required
string

email address used to reset password fore

Responses

Request samples

Content type
application/json
{
  • "email_address": "test@test.nl"
}

Response samples

Content type
application/json
{
  • "method": "SESSION"
}

Login using connector ID and connector pincode Deprecated

Login using connector ID and connector pincode, response includes the ID token, access token and refresh token. This API endpoint is deprecated. Please use the connector UUID to log in.

Authorizations:
None
Request Body schema: application/json
required

Login using connector ID and pincode

connector_id
string

ID of the connector to login for

pincode
string

Pincode of the connector

Responses

Request samples

Content type
application/json
{
  • "connector_id": 940201044,
  • "pincode": 1234
}

Response samples

Content type
application/json
{
  • "id_token": "eyJraW2In0.eyJhdF9....",
  • "access_token": "eyJraW2In0.eyJhdF9....",
  • "refresh_token": "eyJraW2In0.eyJhdF9...."
}

Login using connector UUID and connector pincode

Login using connector UUID and connector pincode, response includes the ID token, Access token and Refresh token

Authorizations:
None
Request Body schema: application/json
required

Login using connector UUID and pincode

connector_uuid
string

UUID of the connector to login for

pincode
string

Pincode of the connector

Responses

Request samples

Content type
application/json
{
  • "connector_uuid": "6ec2911c-a09a-11ee-8c90-0242ac120002",
  • "pincode": 1234
}

Response samples

Content type
application/json
{
  • "id_token": "eyJraW2In0.eyJhdF9....",
  • "access_token": "eyJraW2In0.eyJhdF9....",
  • "refresh_token": "eyJraW2In0.eyJhdF9...."
}

Login using an OTP

Login using an OTP, response includes the ID token, Access token and Refresh token

Authorizations:
None
Request Body schema: application/json
required

Login using connector UUID and pincode

otp
string

OTP

Responses

Request samples

Content type
application/json
{
  • "otp": "bafd50b7-7388-4eb1-8812-cbb5517faa2c"
}

Response samples

Content type
application/json
{
  • "id_token": "eyJraW2In0.eyJhdF9....",
  • "access_token": "eyJraW2In0.eyJhdF9....",
  • "refresh_token": "eyJraW2In0.eyJhdF9...."
}

Customer

Customer self management

Retrieve customer wallet

Retrieve the prepaid wallet for the customer. It provides the current balance and details on its state.

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

Content type
application/json
{
  • "balance": 150,
  • "balance_state": "healthy"
}

Get customer information of the currently logged-in user

Get customer details of a currently logged-in user

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

Content type
application/json
{
  • "name": "Autodiagnose Vogels",
  • "reference": 213432,
  • "street": "Zevensprong",
  • "number": "7",
  • "postal_code": "6511AA",
  • "city": "Amsterdam",
  • "country": "NL",
  • "email_address": "john@forbes.com",
  • "financial_email_address": "patricia@blackrock.com",
  • "phone": 31651226913,
  • "currency": "EUR"
}

Edit a authenticated user's customer details

Edit authenticated user's customer details

Authorizations:
OAuth2JifelineAuthorizer
Request Body schema: application/json
required

Company details

name
string

Company name

street
string

Company street name

number
string

Company street number

postal_code
string

Company postal code

city
string

Company city

country
string

Company country code

email_address
string

Company e-mail address

financial_email_address
string

Company financial dpt. e-mail address

phone
string

Company phone number

Responses

Request samples

Content type
application/json
{
  • "name": "Autodiagnose Vogels",
  • "street": "Zevensprong",
  • "number": "7",
  • "postal_code": "6511AA",
  • "city": "Amsterdam",
  • "country": "NL",
  • "email_address": "john@forbes.com",
  • "financial_email_address": "patricia@blackrock.com",
  • "phone": 31651226913
}

Response samples

Content type
application/json
{
  • "name": "Autodiagnose Vogels",
  • "reference": 213432,
  • "street": "Zevensprong",
  • "number": "7",
  • "postal_code": "6511AA",
  • "city": "Amsterdam",
  • "country": "NL",
  • "email_address": "john@forbes.com",
  • "financial_email_address": "patricia@blackrock.com",
  • "phone": 31651226913,
  • "currency": "EUR"
}

Get branding information of the currently logged-in user

Get branding details of a currently logged-in user

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

Content type
application/json
{
  • "branding_name": "Autodiagnose Vogels",
  • "customer_portal_url": "customer-portal.obd.help"
}

Service center

Service center

Get service center

Gets service center information for the current logged-in user.

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

Content type
application/json
{}

Retrieve service center status

Retrieve information regarding the state of the service-center. Mainly it's acceptance of new tickets and their possible scheduling.

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

Content type
application/json
{
  • "state": "opened",
  • "ends_at": "2023-05-22T12:44:36+0200",
  • "message": "We are experiencing high demand of our service, please wait."
}

System

Shared system resources.

Retrieve countries

Retrieve configureable countries for customers.

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

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

Retrieve currencies

Retrieve configureable currencies for customers.

Authorizations:
OAuth2JifelineAuthorizer

Responses

Response samples

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

CSAT

Options

Enable CORS by returning correct headers

Authorizations:
None
path Parameters
ticketId
required
integer

Ticket identifier used to post CSAT score.

Responses

Add or update a Customer Satisfaction Score (CSAT) and optionally a comment for a ticket

Add or update a Customer Satisfaction Score (CSAT) and / or a comment for a ticket. The CSAT score should be between -1 and 1, where -1 is the lowest score and 1 is the highest score.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
ticketId
required
integer

Ticket identifier used to post CSAT score.

Request Body schema: application/json
required

The CSAT score

score
required
number

CSAT score

comment
string or null

Comment for the CSAT score

Responses

Request samples

Content type
application/json
{
  • "score": 1,
  • "comment": "Very friendly operator"
}

Response samples

Content type
application/json
null

Messenger

Get channel

Get channel by channel id.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
channelId
required
string

Channel identifier used to retrieve channel.

Responses

Response samples

Content type
application/json
{
  • "arn": "string",
  • "state": "string"
}

Translate text

Translate text by providing text and target language.

Authorizations:
OAuth2JifelineAuthorizer
Request Body schema: application/json
required

Messages to translate

required
object

Message with the original text and the translated text.

target_language
required
string

Target language of the translation.

Responses

Request samples

Content type
application/json
{
  • "message": {
    },
  • "target_language": "de"
}

Response samples

Content type
application/json
{
  • "message": {
    },
  • "target_language": "de",
  • "source_language": "en"
}

Send control message

Sending a control message which will trigger a ping over the websockets.

Authorizations:
OAuth2JifelineAuthorizer
path Parameters
channelId
required
string

Channel identifier used to retrieve channel.

Responses

Response samples

Content type
application/json
{
  • "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459"
}

create channel attachment

Create channel attachment for a channel. Presigned url in response can be used to upload attachment.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
channel_id
required
string

Channel identifier used to retrieve attachments.

Request Body schema: application/json
required

Create channel attachment

file_name
string

Filename of the attachment.

Responses

Request samples

Content type
application/json
{
  • "file_name": "file.txt"
}

Response samples

Content type
application/json
{
  • "file_name": "file.txt",
  • "signed_url": "http://example.com",
  • "file_reference": "/channel/abcb2f39-7620-401a-8dab-ec2f6075ed8a/abcb2f39-7620-401a-8dab-ec2f6075ed8a/file.txt"
}

get channel attachments

Get attachments for a channel.

Authorizations:
OAuth2JifelineAuthorizer
query Parameters
channel_id
required
string

Channel identifier used to retrieve attachments.

file_reference
required
string

File refrence used to retrieve attachments. This is returned in response of create channel attachment. Or can be found in message in a chat.

Responses

Response samples

Content type
application/json
{
  • "file_name": "file.txt",
  • "signed_url": "http://example.com",
  • "file_reference": "/channel/abcb2f39-7620-401a-8dab-ec2f6075ed8a/abcb2f39-7620-401a-8dab-ec2f6075ed8a/file.txt"
}