< All ways to integrate

API

In the "Integration" section of your personal cabinet you can specify url for online notification of events in your schedule.

Data is sent by POST request in JSON format, UTF-8 encoding, with the following fields:

  • ClientId - unique client number
  • ClientName - client name
  • ClientPhone - customer phone
  • ClientEmail - client's e-mail address
  • CabinetName - queue name

Example of a request to add a record by the client (self-recording):

{
        "ClientId" : 4313,
        "ClientName" : "Bob",
        "ClientPhone" : "79999999999",
        "ClientEmail" : "test@gmail.com",
        "TimetableId" : 2746133,
        "CabinetName" : "The name of the office, the queue",
        "CabinetSubdomain" : "84703c",
        "ServiceName" : "Service name",
        "ServiceId" : 2143,
        "Comment" : "Commentary to the recording",
        "BeginDateTimeLocal" : "2018-04-28T12:00:00",
        "CreatedOnDateTimeUtc" : "2018-04-21T09:35:48",
        "DurationMinutes" : 60,
        "EventType" : "add",
        "Source" : "themself"
}


Example request for a new time reservation:
{
        "ClientId" : 0,
        "TimetableId" : 2746132,
        "CabinetName" : "The name of the office, the queue",
        "CabinetSubdomain" : "84703c",
        "ServiceId" : 0,
        "Comment" : "Commentary to the recording",
        "BeginDateTimeLocal" : "2018-04-27T11:00:00",
        "CreatedOnDateTimeUtc" : "2018-04-21T09:22:02",
        "DurationMinutes" : 60,
        "EventType" : "add",
        "Source" : "admin"
}

You can use the service for preliminarily debugging https://beeceptor.com
The use of ssl is recommended.

The API is extended by requests from users.