The ForteLeasing API provides programmatic access to retrieve and submit data from 1C.
To use this API, you need an API key.
Initiate the authorisation process by sending BIN/IIN as a parameter to https://api.shakeshev.com/biin/{BIN/IIN}. This will initiate a process of creating OTP (one time password) which is sent to the BIN/IIN owner's email and is only valid for 10 minutes after which the process of creating OTP must be repeated.
API Endpoint:
https://api.shakeshev.com
TESTING BIN: 200940026146
TESTING IIN: 790920300817
ask Forte for other demo INFO if needed
POST| Field | Type | Description |
|---|---|---|
| role_id | integer | (required) 1 |
| uuid | string | (required) UUID of the device. |
| FCM | string | (required) FCM of the device. |
POST| Field | Type | Description |
|---|---|---|
| role_id | integer | (required) 2 |
| uuid | string | (required) UUID of the device. |
| FCM | string | (required) FCM of the device. |
| mobile | string | (required) user's mobile phone number |
| first_name | string | (required) user's name |
CHECK COMPANY'S EMAIL to get OTP
{
"status": "ok",
"data": {
"message": "OTP is sent to your email.",
"code": 200,
"email": "e****l@mail.ru"
}
}
Obtained OTP is required to go through authorisation process. Provide credentials to https://api.shakeshev.com/auth with Basic Authorisation method.
POSTexample of a header:
Login: 200940026146||123456789012349
Password: 0588
| Field | Type | Description |
|---|---|---|
| login | BIN/IIN-IMEI | (required) Either BIN or IIN along with IMEI separated by "-" sign must be provided in base64 encoding format. |
| password | OTP | (required) Previously obtained OTP must be provided in base64 encoding format. |
This is used to get both access and refresh tokens along with all the required information for the user:
BOTH: access_token, refresh_token, mobile, first_name, last_name, patronic_name, biin, user_type
ADMIN (additional info): employees, reports
EMPLOYEE (no additional info): -
# Result example for ADMIN:
{
"status": "ok",
"data": {
"message": "success",
"code": 200,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTU4MDUzMDYsInR5cGUiOiJhY2Nlc3MiLCJpYXQiOjE2NTU4MDUwMDYsImlzcyI6ImxvY2FsaG9zdCIsImJpaW4iOiIyMDA5NDAwMjYxNDYiLCJjb21wYW55X2lkIjo3MSwidXNlcl9pZCI6MTUzLCJ1dWlkIjoiMTIzNDU2Nzg5MDEyMzQ5In0.BX1ChASYZDEarNnGabtyJDjpsrfVX71ya41HdBcWUeo",
"refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTgzOTcwMDcsInR5cGUiOiJyZWZyZXNoIiwicnRpIjoiMjYwIiwicnRwIjoiMzJBNEVCNThDNTEzQkVCRSIsImlhdCI6MTY1NTgwNTAwNiwiaXNzIjoibG9jYWxob3N0IiwiYmlpbiI6IjIwMDk0MDAyNjE0NiIsImNvbXBhbnlfaWQiOjcxLCJ1c2VyX2lkIjoxNTMsInV1aWQiOiIxMjM0NTY3ODkwMTIzNDkifQ.Q5FX3df6GYTd-yswk2xs21yoOHARfYkK0nO2cpE0KFU",
"mobile": "+77021234567",
"email": "email@mail.ru",
"first_name": "Нурмуханов",
"last_name": "Руслан",
"patronic_name": "Серикович",
"biin": "200940026146",
"company_name": "Alpha AJI Gruppe ТОО",
"user_type": "Директор",
"reports": {
"important": [],
"general": [
{
"ref_key": "646ba713-d1d7-11ec-9405-005056aaa4ae",
"report_number": "000000001",
"contract_number": "№36/20 (ДЛ)",
"date_start_render": "03 марта 2022",
"date_start_datetime": "2022-03-03T00:00:00",
"date_finish_render": "10 марта 2022",
"date_finish_datetime": "2022-03-10T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vin_code": "XWW212140K2365328",
"plate_number": "123456789",
"vehicle_guid": "4cac2fb0-3cc2-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "81578c98-d282-11ec-9405-005056aaa4ae",
"report_number": "000000002",
"contract_number": "№36/20 (ДЛ)",
"date_start_render": "13 мая 2022",
"date_start_datetime": "2022-05-13T00:00:00",
"date_finish_render": "15 мая 2022",
"date_finish_datetime": "2022-05-15T00:00:00",
"status_title": "Одобрено",
"status_code": 3,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vin_code": "XUS23278DL0001749",
"plate_number": "",
"vehicle_guid": "63fdb8c8-3d06-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71ea040-1664-11ea-8dad-1831bf7dd029"
}
]
},
"info": {
"by_vehicle_type_code": {
"b71e9ff8-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Легковой автомобиль",
"instructions": {
"1": "Сфотографировать лобовое стекло",
"2": "Обойти автомобиль справа, сфотографировать правое колесо",
"3": "Сфотографировать государтсвенный номер",
"4": "Сфотографировать ВИН код",
"5": "Сфотографировать пробег",
"6": "Сфотографировать салон",
"7": "Сфотографировать шины",
"8": "Сфотографировать уровень масла в двигателе",
"9": "Сфотографировать уровень охлаждающей жидкости",
"10": "Сфотографировать аккумулятор"
}
},
"b71ea040-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Пассажирский транспорт",
"instructions": {
"1": "Сфотографировать лобовое стекло",
"2": "Обойти автомобиль справа, сфотографировать правое колесо",
"3": "Сфотографировать государтсвенный номер"
}
}
}
},
"filter": {
"status": {
"1": "Сдать Отчет",
"2": "Отправлено",
"3": "Одобрено",
"4": "Отказано"
},
"vehicle_type": [
{
"ref_key": "b71e9ff8-1664-11ea-8dad-1831bf7dd029",
"vehicles": [
{
"vehicle_guid": "4cac2fb0-3cc2-11ea-8db2-1831bf7dd028",
"plate_number": "123456789"
}
]
},
{
"ref_key": "b71ea040-1664-11ea-8dad-1831bf7dd029",
"vehicles": [
{
"vehicle_guid": "63fdb8c8-3d06-11ea-8db2-1831bf7dd028",
"plate_number": ""
}
]
}
],
"date_range": {
"1w": "Неделя",
"1m": "Месяц",
"6m": "Полгода",
"1y": "Год"
}
}
}
}
# Result example for EMPLOYEE:
{
"status": "ok",
"data": {
"message": "success",
"code": 200,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTQ3Mzc5NDYsInR5cGUiOiJhY2Nlc3MiLCJpYXQiOjE2NTQ3MzQzNDYsImlzcyI6ImxvY2FsaG9zdCIsImJpaW4iOiIyMDA5NDAwMjYxNDYiLCJjb21wYW55X2lkIjo3MSwidXNlcl9pZCI6MTUzLCJ1dWlkIjoiMTIzNDU2Nzg5MDEyMzQ5In0.BlwRs7o0naTeDb38HlKCmwrERKqYARALlR_7VQkiO94",
"refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTczMjYzNDYsInR5cGUiOiJyZWZyZXNoIiwicnRpIjoiMjQ3IiwicnRwIjoiREJERDA1NUM3OTQzNUMyNyIsImlhdCI6MTY1NDczNDM0NiwiaXNzIjoibG9jYWxob3N0IiwiYmlpbiI6IjIwMDk0MDAyNjE0NiIsImNvbXBhbnlfaWQiOjcxLCJ1c2VyX2lkIjoxNTMsInV1aWQiOiIxMjM0NTY3ODkwMTIzNDkifQ.DfTIeQCuql-t2FWuMutz4qiNIrQZugz0xjHpXxmgMUY",
"mobile": "87781578800",
"first_name": "Иван",
"last_name": "",
"patronic_name": "",
"biin": "200940026146",
"company_name": "Alpha AJI Gruppe ТОО",
"user_type": "Сотрудник",
"reports": {
"important": [],
"general": [
{
"ref_key": "646ba713-d1d7-11ec-9405-005056aaa4ae",
"report_number": "000000001",
"contract_number": "№36/20 (ДЛ)",
"date_start_render": "03 марта 2022",
"date_start_datetime": "2022-03-03T00:00:00",
"date_finish_render": "10 марта 2022",
"date_finish_datetime": "2022-03-10T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vin_code": "XWW212140K2365328",
"plate_number": "123456789",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
}
]
},
"info": {
"by_vehicle_type_code": {
"b71e9ff8-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Легковой автомобиль",
"instructions": {
"1": "Сфотографировать лобовое стекло",
"2": "Обойти автомобиль справа, сфотографировать правое колесо",
"3": "Сфотографировать государтсвенный номер"
}
}
}
},
"filter": {
"status": {
"1": "Сдать Отчет",
"2": "Отправлено",
"3": "Одобрено",
"4": "Отказано"
},
"vehicle_type": [
{
"ref_key": "b71e9ff8-1664-11ea-8dad-1831bf7dd029",
"plate_numbers": [
"123456789"
]
}
],
"date_range": {
"1w": "Неделя",
"1m": "Месяц",
"6m": "Полгода",
"1y": "Год"
}
}
}
}
}
example of a header:
Login: admin_1C
Password: pass_1C
Must be used in all requests highlighted with "1C DEVELOPERS"
POST
Access token must be provided along with each request to get access to main functions of the ForteLeasing API. The lifetime of the access token is 5 minutes
Refresh token is used to obtain a new pair of both access and refresh tokens. The lifetime of the refresh token is 30 days and is perpetual.
A new pair of tokens can be obtained by providing refresh token tohttps://api.shakeshev.com/refresh_token
Example of a header:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTIxMjg1MjIsInR5cGUiOiJyZWZyZXNoIiwicnRpIjoiMzciLCJydHAiOiI3QTlDOTc1QzVCMzk4MDQ0IiwiaWF0IjoxNjQ5NTM2NTIxLCJpc3MiOiJsb2NhbGhvc3QiLCJiaWluIjoiMjAwOTQwMDI2MTQ2IiwiY29tcGFueV9pZCI6NzEsInVzZXJfaWQiOjEwLCJpbWVpIjoiMTIzNDU2Nzg5MDEyMzQ5In0.b7NyBRptEmPHLnsWNGeWbfxSfiCmIRyVbUA7AQm_IYc
Result example for ADMIN:
# Same response as at the Basic Authorisation step
Result example for EMPLOYEE:
# Same response as at the Basic Authorisation step
Ways to get, delete employees:
GET
Can be obtained by accessing the link https://api.shakeshev.com/employee/list
# Example:
{
"status": "ok",
"data": {
"message": "success",
"code": 200,
"employees": [
{
"id": 153,
"first_name": "Иван",
"mobile": "87781578800"
},
{
"id": 8,
"first_name": "Валихан",
"mobile": "87781231233"
},
{
"id": 7,
"first_name": "Марат",
"mobile": "87781578800"
},
{
"id": 4,
"first_name": "Ерлан",
"mobile": "87021578800"
}
]
}
}
}
DEL
To delete make a request to https://api.shakeshev.com/employee/delete/{id}
Where {id} is a dynamic parameter. The data is obtained by the GET request (list of employees)
# Example:
{
"status": "ok",
"data": {
"message": "User successfully deleted.",
"code": 200
}
}
GET
Can be submitted by accessing the link https://api.shakeshev.com/reports/general/filter/{status_code}/{date_range_code}/{vehicle_guid}
If all parameters are NULL then all reports are returned.
Reports: list of all filtered reports. Important is for those reports that have "Submit" and "Rejected" statuses. Additional information regarding missing deadline are provided too. General is for those reports that have "Submitted" and "Accepted" statuses.
Info: all the neccessary additional information regarding reports
Filter: Filtering data.
# Example:
{
"status": "ok",
"data": {
"message": "success",
"code": 200,
"reports": {
"important": [],
"general": [
{
"ref_key": "d60ea4cb-e710-11ec-9405-005056aaa4ae",
"report_number": "6",
"contract_number": "№27/19 (ДФЛ)",
"date_start_render": "08 июня 2022",
"date_start_datetime": "2022-06-08T00:00:00",
"date_finish_render": "13 июня 2022",
"date_finish_datetime": "2022-06-13T00:00:00",
"status_title": "Одобрено",
"status_code": 3,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "89898989898989\nihghghghh",
"vin_code": "X2FXXXESGXKM42757",
"plate_number": "264LE02",
"vehicle_guid": "6b5c250a-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71ea01f-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "ea3fa43e-f088-11ec-9405-005056aaa4ae",
"report_number": "26",
"contract_number": "№27-5/19 (ДФЛ)",
"date_start_render": "20 июня 2022",
"date_start_datetime": "2022-06-20T00:00:00",
"date_finish_render": "30 июня 2022",
"date_finish_datetime": "2022-06-30T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vin_code": "MXC1PABD0KK018831",
"plate_number": "286YE02",
"vehicle_guid": "6b5c24ef-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "4cd3be46-f089-11ec-9405-005056aaa4ae",
"report_number": "27",
"contract_number": "№27-5/19 (ДФЛ)",
"date_start_render": "20 июня 2022",
"date_start_datetime": "2022-06-20T00:00:00",
"date_finish_render": "30 июня 2022",
"date_finish_datetime": "2022-06-30T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vin_code": "MXC1PABD0KK018832",
"plate_number": "284YE02",
"vehicle_guid": "6b5c24f1-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "733bee3b-f089-11ec-9405-005056aaa4ae",
"report_number": "28",
"contract_number": "№27-5/19 (ДФЛ)",
"date_start_render": "20 июня 2022",
"date_start_datetime": "2022-06-20T00:00:00",
"date_finish_render": "30 июня 2022",
"date_finish_datetime": "2022-06-30T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vin_code": "MXC1PABD0KK018833",
"plate_number": "283YE02",
"vehicle_guid": "6b5c24f3-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "b1791e66-f089-11ec-9405-005056aaa4ae",
"report_number": "29",
"contract_number": "№27-5/19 (ДФЛ)",
"date_start_render": "20 июня 2022",
"date_start_datetime": "2022-06-20T00:00:00",
"date_finish_render": "30 июня 2022",
"date_finish_datetime": "2022-06-30T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "Плохое качество видеоматериала",
"vin_code": "MXC1PABD0KK018834",
"plate_number": "285YE02",
"vehicle_guid": "6b5c24f5-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
}
]
},
"info": {
"by_vehicle_type_code": {
"b71ea01f-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Грузовой автомобиль",
"instructions": []
},
"b71e9ff8-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Легковой автомобиль",
"instructions": {
"1": "Сфотографировать лобовое стекло",
"2": "Обойти автомобиль справа, сфотографировать правое колесо",
"3": "Сфотографировать государтсвенный номер",
"4": "Сфотографировать ВИН код",
"5": "Сфотографировать пробег",
"6": "Сфотографировать салон",
"7": "Сфотографировать шины",
"8": "Сфотографировать уровень масла в двигателе",
"9": "Сфотографировать уровень охлаждающей жидкости",
"10": "Сфотографировать аккумулятор"
}
}
}
},
"filter": {
"status": {
"1": "Сдать Отчет",
"2": "Отправлено",
"3": "Одобрено",
"4": "Отказано"
},
"vehicle_type": [
{
"ref_key": "b71ea01f-1664-11ea-8dad-1831bf7dd029",
"vehicles": [
{
"vehicle_guid": "6b5c250a-3d2d-11ea-8db2-1831bf7dd028",
"plate_number": "264LE02"
}
]
},
{
"ref_key": "b71e9ff8-1664-11ea-8dad-1831bf7dd029",
"vehicles": [
{
"vehicle_guid": "6b5c24f5-3d2d-11ea-8db2-1831bf7dd028",
"plate_number": "285YE02"
}
]
}
],
"date_range": {
"1w": "Неделя",
"1m": "Месяц",
"6m": "Полгода",
"1y": "Год"
}
}
}
}
GET
Can be submitted by accessing the link https://api.shakeshev.com/reports/vehicle/filter/{status_code}/{date_range_code}
The parameters for filtering: {status_code} and {date_range_code}. If none provided then all vehicles with last or more important status of the report returned.
# Example:
{
"status": "ok",
"data": {
"message": "success",
"code": 200,
"reports": {
"important": [],
"general": [
{
"ref_key": "d60ea4cb-e710-11ec-9405-005056aaa4ae",
"report_status_priority_title": "Одобрено",
"report_status_priority_code": 3,
"status_expired_title": "",
"status_expired_bool": false,
"vin_code": "X2FXXXESGXKM42757",
"plate_number": "264LE02",
"vehicle_guid": "6b5c250a-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71ea01f-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "ea3fa43e-f088-11ec-9405-005056aaa4ae",
"report_status_priority_title": "Отправлено",
"report_status_priority_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"vin_code": "MXC1PABD0KK018831",
"plate_number": "286YE02",
"vehicle_guid": "6b5c24ef-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "4cd3be46-f089-11ec-9405-005056aaa4ae",
"report_status_priority_title": "Отправлено",
"report_status_priority_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"vin_code": "MXC1PABD0KK018832",
"plate_number": "284YE02",
"vehicle_guid": "6b5c24f1-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "733bee3b-f089-11ec-9405-005056aaa4ae",
"report_status_priority_title": "Отправлено",
"report_status_priority_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"vin_code": "MXC1PABD0KK018833",
"plate_number": "283YE02",
"vehicle_guid": "6b5c24f3-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
},
{
"ref_key": "b1791e66-f089-11ec-9405-005056aaa4ae",
"report_status_priority_title": "Отправлено",
"report_status_priority_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"vin_code": "MXC1PABD0KK018834",
"plate_number": "285YE02",
"vehicle_guid": "6b5c24f5-3d2d-11ea-8db2-1831bf7dd028",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
}
]
},
"info": {
"by_vehicle_type_code": {
"b71ea01f-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Грузовой автомобиль"
},
"b71e9ff8-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Легковой автомобиль"
}
}
},
"filter": {
"status": {
"1": "Сдать Отчет",
"2": "Отправлено",
"3": "Одобрено",
"4": "Отказано"
},
"date_range": {
"1w": "Неделя",
"1m": "Месяц",
"6m": "Полгода",
"1y": "Год"
}
}
}
}
GET
Can be submitted by accessing the link https://api.shakeshev.com/reports/vehicle/select/{vehicle_guid}
The parameters for filtering: {vehicle_type_code} and {vehicle_plate_number}.
Reports: list of all filtered reports. Important is for those reports that have "Submit" and "Rejected" statuses. Additional information regarding missing deadline are provided too. General is for those reports that have "Submitted" and "Accepted" statuses.
Info: all the neccessary additional information regarding reports. There is additional field "this" which stores information about selected vehicle. Image data is provided in base64 format.
# Example:
{
"status": "ok",
"data": {
"message": "success",
"code": 200,
"reports": {
"important": [],
"general": [
{
"ref_key": "646ba713-d1d7-11ec-9405-005056aaa4ae",
"report_number": "000000001",
"date_start_render": "03 марта 2022",
"date_start_datetime": "2022-03-03T00:00:00",
"date_finish_render": "10 марта 2022",
"date_finish_datetime": "2022-03-10T00:00:00",
"status_title": "Отправлено",
"status_code": 2,
"status_expired_title": "",
"status_expired_bool": false,
"reject_reason": "",
"vehicle_type_code": "b71e9ff8-1664-11ea-8dad-1831bf7dd029"
}
]
},
"info": {
"by_vehicle_type_code": {
"b71e9ff8-1664-11ea-8dad-1831bf7dd029": {
"vehicle_type_title": "Легковой автомобиль",
"instructions": {
"1": "Сфотографировать лобовое стекло",
"2": "Обойти автомобиль справа, сфотографировать правое колесо",
"3": "Сфотографировать государтсвенный номер",
"4": "Сфотографировать ВИН код",
"5": "Сфотографировать пробег",
"6": "Сфотографировать салон",
"7": "Сфотографировать шины",
"8": "Сфотографировать уровень масла в двигателе",
"9": "Сфотографировать уровень охлаждающей жидкости",
"10": "Сфотографировать аккумулятор"
}
}
},
"this": {
"contract_number": "№36/20 (ДЛ)",
"contract_date_end": "2023-11-16T00:00:00",
"plate_number": "123456789",
"vin_code": "XWW212140K2365328",
"image_path": "https://api.shakeshev.com/images/b71e9ff8-1664-11ea-8dad-1831bf7dd029/image.png"
}
}
}
}
POST
Can be submitted by accessing the link https://api.shakeshev.com/reports/upload
| Field | Type | Description |
|---|---|---|
| file | video/mp4 | (required) Video must be submitted in "video/mp4" mime type. Max file size is 64MB. |
| ref_key | string | (required) A reference key of the contract. Each report has its own value. |
| time_sent | datetime | (required) Information about the date and time (format: yyyy-mm-dd hh:mm:ss) when the report was sent. |
| lat | decimal(10,8) | (required) Latitude data. |
| long | decimal(11,8) | (required) Longitude data. |
# Example:
{
"status": "ok",
"data": {
"message": "Report has been successfully saved.",
"code": 201
}
}
GET
QR code can be obtained by accessing https://api.shakeshev.com/vehicle/qr/{vehicle_guid} in the browser.
Where {vehicle_guid} is a dynamic parameter. The QR code is generated only if an existing {vehicle_guid} provided otherwise the response will show