For Developers
Select Category
API & SDK
Introduction
Movitronic is providing facility for it’s user to handle errors in managed way to control flow by handling errors. For this we have set different errors and list of possible errors that can be thrown by the movitronic server upon your api request.
https://dev.movitronic.com/v1
Authentication
When you purchase your device you can add your vehicle here. You have to register first here. and then have to add your vehicles. You have to request for api key by submitting your request.
This api token is a random string for a user to prove their identity in a login process. It is typically used as a form of identification for physical access or as a method of computer system access. The token can be an item or a card that displays or contains security information about a user and can be verified by the system. Token is based on the use of a device that generates a random number, encrypts it and sends it to a server with user authentication information. The server then sends back an encrypted response that can only be decrypted by the device. The device is reused for every authentication, so the server does not have to store any username or password information, with the intent of making the system less vulnerable to hacking.
Error Handling
Movitronic is providing facility for it’s user to handle errors in managed way to control flow by handling errors. For this we have set different errors and list of possible errors that can be thrown by the movitronic server upon your api request. All codes that you receive from movitronic server that start from 2.xx are success. 5.xx errors are those which due to any error in our server. 4.xx errors are those which you can managed easily.
Attributes
code integer
For some errors that could be handled programmatically, a short string indicating the error code reported.
message string
A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
status boolean
Status also represent request is executed successfully or not.
200 OK
Everything worked as expected.
400 Bad Request
The request was unacceptable, often due to missing a required parameter.
401 Unauthorized
No valid API key provided.
402 Request Faile
The parameters were valid but the request failed.
403 Forbidden
The API key doesn't have permissions to perform the request.
404 Not Found
The requested resource doesn't exist.
409 Conflict
The request conflicts with another request (perhaps due to using the same idempotent key).
408 Device Error
This error comes when device throw any error so we are managing it and displaying error. It usually happens when your device is not powered on and you are trying to create share.
429 Too Many Requests
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
500, 502, 503, 504 Server Errors
Errors on movitronic server, which is mostly already controlled by our team.
Shares
Movitronic provide you facility to view all your shares vehicles listing that you shared your vehicle. You can use this api to view listing. You can view two type of listing by sending api_key in request.
1: Available
2: Expire
Get all shares shows you Listings of all the vehicles that you have shared. Each Listing is associated with a User, and with a Vehicle (Users own Vehicles.) Shares Listings have a start date, and are valid till specified end date. By default, it returns all active Shares with pagination. If you want to see active shares then you have to write available in share_type field and if you want to see expired shares then you write expired in share_type field.
POST /shares/create
POST /share/update
GET /shares/get/{token}
GET /shares/list
Create a Share
The Shares Create API allows users to insert records into the system. The HTTP request URI you use to insert a new recording contains a vehicle_id, share_type and a token that let you create a share on the system. This API uses a different authentication model than the other SaaS APIs. For those APIs, you make a request with a username and password that belong to a normal user of the Movitronic environment who also exists in Configuration Server. To use this Share Create API, the HTTP request must send a Basic Authentication header with the Username and UserPassword. As with any POST request to Movitronic, you must add the Cross Site Request Forgery Protection (CSRF) headers to the requests.
Parameters
start_date (UTC) required
Start date must be a date and it’s should be in UTC and it’s formate should be this ( Y-m-d H:i:s )
end_date (UTC) required
End date must be a date and it’s should be in UTC and it’s formate should be this ( Y-m-d H:i:s )
api_key required
This key must be provided that will used to authenticate user and if not provide it will return un-authorization error.
vehicles_id required
This is the vehicle id that we are using to create share against vehicle. While creating share your device must be active else it throw eror.
access_type required
It is permission that what permission you want to grant against this device, and security will be implemented according to your selected option. There are three option to choose.
1 — Full access2 — Driver access3 — Only can access doors and trunk
token optional
This token is optional and is a unique random token that if you send we will store else we will create a unique random string which will be stored against this share.
via optional
This text is optional which you can send any text which represent any company title or anything that you want.
status optional
You can provide status either you want to make active share while creating or not. Possible statuses are 0 Active 1 In active
Code 401
Description Unauthorized user, api key must be valid.
Code 400
Description Share id is mandatory and provide valid share id.
Code 400
Description This vehicle id must be valid. You may enter wrong vehicle id that doesn't exist in our system.
Code 400
Description Share dates expired. Please provide valid date ranges.
Code 402
Description Share is already exist in the system against unique token and vehicle_id. Token must be unique for each share.
Code 408
Description This error comes when device throw any error so we are managing it and displaying error. It usually happens when your device is not powered on and you are trying to create share.
POST /shares/create
{
"code": 200,
"message": "Data Updated Successfully",
"data": {
"id": 216,
"start_date": "2022-03-01 11:38:58",
"end_date": "2022-03-01 19:38:58",
"token": "1198784618",
"status": "0",
"vehicle_id": {
"id": 128,
"name": "Carolla",
"tags": "sports",
"year": "2015",
"vehicle_company_id": 12,
"vehicle_company_name": "abceP",
"vehicle_model_id": 9,
"vehicle_model_name": "Daimler Moto8",
"key_id": 11,
"key_name": "bc-001",
"license": "500",
"can_update": false,
"colour": "white",
"doors": 2,
"ignition": "1",
"door_button": 1,
"trunk_button": 1,
"detail": {
"id": 130,
"device_code": "share-1",
"fuel": 80,
"latitude": 74.001,
"longitude": 34.0001,
"doors": "true",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2022-02-23-025207-b34pgr3zuM.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2022-02-23-025210-T92TeQDIar.png",
"user": {
"id": 428,
"code": null,
"name": "Shahid",
"email": "shahid.backup.professional@gmail.com",
"contact": null,
"type": "operator",
"image": "https://mldel97moa9p.i.optimole.com/cb:iRPe.62548/w:auto/h:auto/q:82/http://www.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 2,
"share_code": "426131",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 136,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 128
},
"usages": {
"previos_usage": {
"id": 142,
"from": "CG6P2222+92",
"to": null
},
"current_usage": {
"id": 143,
"from": null,
"to": null
},
"current_user": {
"id": 425,
"name": "Hello test",
"image": null
}
},
"share": true,
"deleted_at": false
}
},
"status": "true"
}
List Share
Movitronic provide you facility to view all your shares vehicles listing that you shared your vehicle. You can use this api to view listing. You can view two type of listing by sending api_key in request.
availableexpire
Get all shares shows you Listings of all the vehicles that you have shared. Each Listing is associated with a User, and with a Vehicle (Users own Vehicles.) Shares Listings have a start date, and are valid till specified end date. By default, it returns all active Shares with pagination. If you want to see active shares then you have to write available in share_type field and if you want to see expired shares then you write expired in share_type field.
Parameters
api_key required
This key must be provided that will used to authenticate user and if not provide it will return un-authorization error.
share_type required
It will filter according to your need and you can view available shares or expire shares. Two options are there for this.
availableexpire
Code 401
Description Unauthorized user, api key must be valid.
Code 400
Description The share type field is required and it must be valid.
GET /shares/get/{token}
{
"code": 200,
"message": "Success",
"status": "true",
"data": [
{
"id": 1,
"start_date": "2021-03-25 17:22:52",
"end_date": "2021-03-29 17:54:10",
"token": null,
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB1641719844",
"bluetooth_slot": null
}
},
{
"id": 2,
"start_date": "2021-03-25 17:22:52",
"end_date": "2021-03-29 17:54:10",
"token": "987654321",
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB1651665504",
"bluetooth_slot": null
}
},
{
"id": 3,
"start_date": "2021-03-25 17:22:52",
"end_date": "2021-03-29 17:54:10",
"token": "987654321",
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB2100594159",
"bluetooth_slot": null
}
},
{
"id": 4,
"start_date": "2021-03-25 17:22:52",
"end_date": "2021-03-29 17:54:10",
"token": "987654321",
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB1097716689",
"bluetooth_slot": null
}
},
{
"id": 5,
"start_date": "2021-09-13 17:22:52",
"end_date": "2021-09-29 17:54:10",
"token": "eyJpdiI6IjFiZlk5RWwrVnZvd0hGdkhOZEFLcGc9PSIsInZhbHVlIjoiK1BSOUhKcVRCUDlacHI1ZVpWZGVWQT09IiwibWFjIjoiMzhkM2ZkYzJkNWMzM2JkMzVhNDRhZDI4YjczZDYxN2M2NmI2YzFiMTFhMzIzOTg2ZTBkODM0MzYxMzM4OTQyNCJ9",
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB945353222",
"bluetooth_slot": null
}
},
{
"id": 6,
"start_date": "2021-09-13 17:22:52",
"end_date": "2021-09-29 17:54:10",
"token": "eyJpdiI6IjFiZlk5RWwrVnZvd0hGdkhOZEFLcGc9PSIsInZhbHVlIjoiK1BSOUhKcVRCUDlacHI1ZVpWZGVWQT09IiwibWFjIjoiMzhkM2ZkYzJkNWMzM2JkMzVhNDRhZDI4YjczZDYxN2M2NmI2YzFiMTFhMzIzOTg2ZTBkODM0MzYxMzM4OTQyNCJ9",
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB601178002",
"bluetooth_slot": null
}
},
{
"id": 7,
"start_date": "2021-09-13 17:22:52",
"end_date": "2021-09-29 17:54:10",
"token": "eyJpdiI6IjgwOHFEejduTGZGeTZHcWRDMEFKd2c9PSIsInZhbHVlIjoiT0l3aW11RmYyK1lYUEhsdmtpRjRBQT09IiwibWFjIjoiMjc2ZDQ3MDUxYmExY2RlZDBiOGVmZDQ3ODM2YzM4ZWZhMDQ3YzdjNDg3MWEzN2UxNWNjY2EyNzkwOWUzNTQyYyJ9",
"status": "1",
"vehicle_id": {
"id": 1,
"name": "Toyota",
"tags": "sports",
"year": "2050",
"vehicle_company_id": 1,
"vehicle_company_name": "Honda",
"vehicle_model_id": 4,
"vehicle_model_name": "500CC",
"key_id": 6,
"key_name": "B2c-0921",
"license": "500",
"can_update": true,
"colour": "White",
"doors": 2,
"ignition": null,
"door_button": 0,
"trunk_button": 0,
"detail": {
"id": 1,
"device_code": "DA1235",
"fuel": 30,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "false",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-07-27-121640-wcJ8NX0lZP.png",
"thumbnail": "https://dev.movitronic.com/assets/images/default_vehicle.png",
"user": {
"id": 1,
"code": null,
"name": "Super Admin",
"email": "superadmin@rentalmoose.com",
"contact": "+923113233028",
"type": "superadmin",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-165311-ZB1KK1Wi9A.png"
},
"active_shares": 1,
"share_code": "266558",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 2,
"hprice": "150",
"dprice": "250",
"label_id": "11",
"vehicle_id": 1
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 8,
"from": "357, Block N Shah Jamal Gulberg III, Lahore, Punjab 53700, Pakistan",
"to": "2, Napier Quarter, Karachi, Karachi City, Sindh, Pakistan"
},
"current_user": {
"id": 297,
"name": null,
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB1147411495",
"bluetooth_slot": null
}
},
{
"id": 17,
"start_date": "2021-11-16 17:22:52",
"end_date": "2021-11-29 17:54:10",
"token": "asad",
"status": "1",
"vehicle_id": {
"id": 107,
"name": "BMW",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 19,
"vehicle_company_name": "New Test Company 2",
"vehicle_model_id": 21,
"vehicle_model_name": "New Test Model 2",
"key_id": 22,
"key_name": "New Test Key 2",
"license": "PK 333",
"can_update": false,
"colour": "white",
"doors": 4,
"ignition": "1",
"door_button": 1,
"trunk_button": 1,
"detail": {
"id": 109,
"device_code": "mv-app-new",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "true",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-09-16-083823-hBVFSOZmw2.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-09-16-083823-W4RBZZ9xOk.png",
"user": {
"id": 348,
"code": null,
"name": "BMW",
"email": "testoperator@operator.com",
"contact": "+923171490009",
"type": "operator",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-08-26-083642-lPiAPULi5K.png"
},
"active_shares": 0,
"share_code": "698594",
"label": {},
"label_share": {},
"usages": {
"previos_usage": {},
"current_usage": {},
"current_user": {}
},
"share": false,
"deleted_at": false
},
"encryption": {
"bluetooth_key": "AB273498940",
"bluetooth_slot": null
}
},
{
"id": 33,
"start_date": "2021-11-26 07:22:52",
"end_date": "2021-11-29 17:54:10",
"token": "63269766",
"status": "0",
"vehicle_id": {
"id": 119,
"name": "usman's vehicle",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 16,
"vehicle_company_name": "BMW",
"vehicle_model_id": 18,
"vehicle_model_name": "M3",
"key_id": 15,
"key_name": "Good key",
"license": "ks302",
"can_update": false,
"colour": "black",
"doors": 4,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 121,
"device_code": "usmandevice1",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-6Qeb82pzde.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-1FcR16OmGt.png",
"user": {
"id": 415,
"code": null,
"name": "usman saeed",
"email": "usman@user.com",
"contact": null,
"type": "operator",
"image": "https://dev.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 1,
"share_code": "115231",
"label": {
"id": 44,
"name": "Asad",
"email": "asad@whitelabel.com",
"contact_no": "+923171440000",
"color": "white",
"api_key": "Nr5j3AZ7lxF8wUEzIpBeVk1TwydZp7vk",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-23-120727-8390D5J0Z8.png",
"is_used": true,
"vehicle_id": 119,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 125,
"hprice": "200",
"dprice": "1000",
"label_id": "44",
"vehicle_id": 119
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 63,
"from": null,
"to": null
},
"current_user": {
"id": 416,
"name": "fahad",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-093446-yRqdUCwtAK.png"
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
},
{
"id": 34,
"start_date": "2021-11-26 07:22:52",
"end_date": "2021-11-29 17:54:10",
"token": "1026175849",
"status": "0",
"vehicle_id": {
"id": 119,
"name": "usman's vehicle",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 16,
"vehicle_company_name": "BMW",
"vehicle_model_id": 18,
"vehicle_model_name": "M3",
"key_id": 15,
"key_name": "Good key",
"license": "ks302",
"can_update": false,
"colour": "black",
"doors": 4,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 121,
"device_code": "usmandevice1",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-6Qeb82pzde.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-1FcR16OmGt.png",
"user": {
"id": 415,
"code": null,
"name": "usman saeed",
"email": "usman@user.com",
"contact": null,
"type": "operator",
"image": "https://dev.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 1,
"share_code": "115231",
"label": {
"id": 44,
"name": "Asad",
"email": "asad@whitelabel.com",
"contact_no": "+923171440000",
"color": "white",
"api_key": "Nr5j3AZ7lxF8wUEzIpBeVk1TwydZp7vk",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-23-120727-8390D5J0Z8.png",
"is_used": true,
"vehicle_id": 119,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 125,
"hprice": "200",
"dprice": "1000",
"label_id": "44",
"vehicle_id": 119
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 63,
"from": null,
"to": null
},
"current_user": {
"id": 416,
"name": "fahad",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-093446-yRqdUCwtAK.png"
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
},
{
"id": 35,
"start_date": "2021-11-26 07:22:52",
"end_date": "2021-11-29 17:54:10",
"token": "1036273994",
"status": "0",
"vehicle_id": {
"id": 119,
"name": "usman's vehicle",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 16,
"vehicle_company_name": "BMW",
"vehicle_model_id": 18,
"vehicle_model_name": "M3",
"key_id": 15,
"key_name": "Good key",
"license": "ks302",
"can_update": false,
"colour": "black",
"doors": 4,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 121,
"device_code": "usmandevice1",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-6Qeb82pzde.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-1FcR16OmGt.png",
"user": {
"id": 415,
"code": null,
"name": "usman saeed",
"email": "usman@user.com",
"contact": null,
"type": "operator",
"image": "https://dev.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 1,
"share_code": "115231",
"label": {
"id": 44,
"name": "Asad",
"email": "asad@whitelabel.com",
"contact_no": "+923171440000",
"color": "white",
"api_key": "Nr5j3AZ7lxF8wUEzIpBeVk1TwydZp7vk",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-23-120727-8390D5J0Z8.png",
"is_used": true,
"vehicle_id": 119,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 125,
"hprice": "200",
"dprice": "1000",
"label_id": "44",
"vehicle_id": 119
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 63,
"from": null,
"to": null
},
"current_user": {
"id": 416,
"name": "fahad",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-093446-yRqdUCwtAK.png"
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
},
{
"id": 36,
"start_date": "2021-11-26 07:22:52",
"end_date": "2021-11-29 17:54:10",
"token": "245676768",
"status": "0",
"vehicle_id": {
"id": 119,
"name": "usman's vehicle",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 16,
"vehicle_company_name": "BMW",
"vehicle_model_id": 18,
"vehicle_model_name": "M3",
"key_id": 15,
"key_name": "Good key",
"license": "ks302",
"can_update": false,
"colour": "black",
"doors": 4,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 121,
"device_code": "usmandevice1",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-6Qeb82pzde.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-1FcR16OmGt.png",
"user": {
"id": 415,
"code": null,
"name": "usman saeed",
"email": "usman@user.com",
"contact": null,
"type": "operator",
"image": "https://dev.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 1,
"share_code": "115231",
"label": {
"id": 44,
"name": "Asad",
"email": "asad@whitelabel.com",
"contact_no": "+923171440000",
"color": "white",
"api_key": "Nr5j3AZ7lxF8wUEzIpBeVk1TwydZp7vk",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-23-120727-8390D5J0Z8.png",
"is_used": true,
"vehicle_id": 119,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 125,
"hprice": "200",
"dprice": "1000",
"label_id": "44",
"vehicle_id": 119
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 63,
"from": null,
"to": null
},
"current_user": {
"id": 416,
"name": "fahad",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-093446-yRqdUCwtAK.png"
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
},
{
"id": 37,
"start_date": "2021-11-26 07:00:52",
"end_date": "2021-11-29 07:00:52",
"token": "9195595",
"status": "0",
"vehicle_id": {
"id": 119,
"name": "usman's vehicle",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 16,
"vehicle_company_name": "BMW",
"vehicle_model_id": 18,
"vehicle_model_name": "M3",
"key_id": 15,
"key_name": "Good key",
"license": "ks302",
"can_update": false,
"colour": "black",
"doors": 4,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 121,
"device_code": "usmandevice1",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-6Qeb82pzde.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-1FcR16OmGt.png",
"user": {
"id": 415,
"code": null,
"name": "usman saeed",
"email": "usman@user.com",
"contact": null,
"type": "operator",
"image": "https://dev.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 1,
"share_code": "115231",
"label": {
"id": 44,
"name": "Asad",
"email": "asad@whitelabel.com",
"contact_no": "+923171440000",
"color": "white",
"api_key": "Nr5j3AZ7lxF8wUEzIpBeVk1TwydZp7vk",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-23-120727-8390D5J0Z8.png",
"is_used": true,
"vehicle_id": 119,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 125,
"hprice": "200",
"dprice": "1000",
"label_id": "44",
"vehicle_id": 119
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 63,
"from": null,
"to": null
},
"current_user": {
"id": 416,
"name": "fahad",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-093446-yRqdUCwtAK.png"
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
},
{
"id": 38,
"start_date": "2021-11-26 07:00:52",
"end_date": "2021-11-29 07:00:52",
"token": "909829132",
"status": "0",
"vehicle_id": {
"id": 119,
"name": "usman's vehicle",
"tags": "sports, speed",
"year": "2020",
"vehicle_company_id": 16,
"vehicle_company_name": "BMW",
"vehicle_model_id": 18,
"vehicle_model_name": "M3",
"key_id": 15,
"key_name": "Good key",
"license": "ks302",
"can_update": false,
"colour": "black",
"doors": 4,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 121,
"device_code": "usmandevice1",
"fuel": 0,
"latitude": 0,
"longitude": 0,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-6Qeb82pzde.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-094132-1FcR16OmGt.png",
"user": {
"id": 415,
"code": null,
"name": "usman saeed",
"email": "usman@user.com",
"contact": null,
"type": "operator",
"image": "https://dev.movitronic.com/assets/images/default_vehicle.png"
},
"active_shares": 1,
"share_code": "115231",
"label": {
"id": 44,
"name": "Asad",
"email": "asad@whitelabel.com",
"contact_no": "+923171440000",
"color": "white",
"api_key": "Nr5j3AZ7lxF8wUEzIpBeVk1TwydZp7vk",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-23-120727-8390D5J0Z8.png",
"is_used": true,
"vehicle_id": 119,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 125,
"hprice": "200",
"dprice": "1000",
"label_id": "44",
"vehicle_id": 119
},
"usages": {
"previos_usage": {},
"current_usage": {
"id": 63,
"from": null,
"to": null
},
"current_user": {
"id": 416,
"name": "fahad",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-11-18-093446-yRqdUCwtAK.png"
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
},
{
"id": 42,
"start_date": "2021-11-26 10:22:39",
"end_date": "2021-11-26 18:21:39",
"token": "253589229",
"status": "0",
"vehicle_id": {
"id": 55,
"name": "Testing Vehicle",
"tags": "sports",
"year": "2030",
"vehicle_company_id": 12,
"vehicle_company_name": "abceP",
"vehicle_model_id": 9,
"vehicle_model_name": "Daimler Moto8",
"key_id": 11,
"key_name": "bc-001",
"license": "500",
"can_update": true,
"colour": "white",
"doors": 2,
"ignition": "1",
"door_button": 0,
"trunk_button": 1,
"detail": {
"id": 55,
"device_code": "0003e44b",
"fuel": 5,
"latitude": 15,
"longitude": 20,
"doors": "false",
"trunk": "true",
"tank_size": "0"
},
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-06-25-051526-wGl5C9choX.png",
"thumbnail": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-06-25-051526-xXrijtSIXv.png",
"user": {
"id": 84,
"code": null,
"name": "Hello World 1",
"email": "hello@world.com",
"contact": "+923413396669",
"type": "operator",
"image": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-09-01-174351-kUkD46qtoS.png"
},
"active_shares": 3,
"share_code": "341653",
"label": {
"id": 11,
"name": "movitronic",
"email": "test@whitelabel.com",
"contact_no": "+92333",
"color": "black",
"api_key": "thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"file": "https://movitronicbucket2.s3.eu-north-1.amazonaws.com/2021-10-12-065000-JWpq9tABac.png",
"is_used": true,
"vehicle_id": 1,
"strip_key": "pk_test_51GzLtKLbPf34pHVYeJqkB7vSfnFMAO0uKmcI2sTPfJ9RjgqCqaScXYFp5C9WfanyaM14Y7ebAXhwMXtMvBAT1IO400h8hJYwAq",
"strip_secret": "sk_test_51GzLtKLbPf34pHVY6cPVWHIejcFWwc2yicFWx4nLe06waWsa0o7L1h2A2h0U6xeUIqiBoe8ab58EuNs6OGsFliWf00PyDrPGLK"
},
"label_share": {
"id": 3,
"hprice": "250",
"dprice": "500",
"label_id": "11",
"vehicle_id": 55
},
"usages": {
"previos_usage": {
"id": 159,
"from": "8MQ72222+22",
"to": null
},
"current_usage": {
"id": 160,
"from": "8MQ72222+22",
"to": null
},
"current_user": {
"id": 426,
"name": "shahid",
"image": null
}
},
"share": true,
"deleted_at": false
},
"encryption": {
"bluetooth_key": null,
"bluetooth_slot": null
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 8,
"to": 15,
"total": 110,
"path": "https://dev.movitronic.com/v1/shares/list",
"next_page_url": "https://dev.movitronic.com/v1/shares/list?page=2&share_type=expire&api_key=thEMN571FqkX24bi1aI0ylS9Kdf598dM",
"prev_page_url": null
}
}
Command API
This api will provide you control on your device. You can use command door and trunk to control them either to open or close them.
Parameters
api_key required
This key must be provided that will used to authenticate user and if not provide it will return un-authorization error.
unique_id required
This token is required and should be same token that you have send while creating share. If you have not given this token then you can get this token by using get share api.
"token": "123"
command required
Customer can send command and we have set restriction which is only allowing to send these commands. doors, doors, trunk
data required
It’s a json value which movitronic will receive and will decode the data and utilize values. Possible json that system will receive is [ 'value' => '1' ] or [ 'value' => '0' ] for door command only and for trunk we doesn’t need any data value.
extra_param optional
It’s a json value which movitronic will receive and will decode the data and store value.
No share against this unique_id found.
his share is not started yet.
No share against this unique_id found.
No share against this unique_id found.
Shares Date Expires.
Access Denied! You does not has permission to proceed with this command.
Code 408
Description This error comes when device throw any error so we are managing it and displaying error. It usually happens when your device is not powered on and you are trying to create share.
POST /command
{
"code": 200,
"data": {
"door": 0,
"car_id": 128
},
"status": "true",
"message": "Success"
}
Webhook EndPoints
Movitronic will use these webhook endpoints to trigger events like door, trunk and key holder etc. You have to provide this end point on your website where you hosted your website.
Event Parameters (Doors, Trunk)
unique_id
This key will be your sass unique key that you got by movitronic admin after registration.
command
Movitronic will inform you about which event is this. It can be
1: doors
2: trunk
status
For doors it can be open, closed and for trunk it will be open always
vehicle_id
Movitronic will also send you vehicle id so you can easily handle events at your side.
Event Parameters (Heartbeat)
unique_id
This key will be your sass unique key that you got by movitronic admin after registration.
command
Movitronic will inform you about which event is this. It can be
1: doors
2: trunk
vehicle_id
Movitronic will also send you vehicle id so you can easily handle events at your side.
data
Movitronic will also send some extra data about heartbeat.
1: lat2: long3: battery_voltage4: supply_voltage5: engine_rpm6: user_id7: fuel
Event Parameters (Keyholder)
api_key
This key will be your sass unique key that you got by movitronic admin after registration.
command
Movitronic will inform you about which event is this. The command will be key-holder
label_id
Movitronic will send you id of your sass registration that exist in our system.
value
Movitronic will you value attribute that shows that key is placed in key holder or not. value grater than 4 show not placed yet and less than 4 show key is placed in key holder.
user_id
Movitronic will send you user id who actually triggering this event.
Version History
Our team is working day and night and putting full effort to provide our customer a well maintained software and resolved all our customer issues so we are maintaining version history to give you update about any new feature or bug fixing.
Version 1.0 – March 1st, 2022
Copyright & License
Code released under the Movitronic License.
For more information about copyright and license check choosealicense.com.
- Kenneth Pohl
- Ph. +372 5674 8884
- kenneth.pohl@movitronic.com
- Alison Lee
- +44 0 33 3303 1086
- Send Email
- Kenneth Pohl
- +372 5674 8884
- Send Email