Welcome to the official documentation of the Softruck Public API. This API has been designed to provide seamless integration with Softruck’s tracking and management services, offering a comprehensive suite of endpoints for interacting with vehicles, devices, users, chips, service orders, and enterprises. Additionally, it supports webhooks for real-time, event-driven updates. Below, you’ll find essential information to get started using our API effectively.
Currently, the latest version of the API is v2. Make sure to regularly check our documentation for updates and new features.
All requests should be sent to the following base endpoint:
Production
https://api.softruck.com/v2 
Development
https://api.apiary.softruck.com/v2 
To ensure the stability and performance of the API, we apply the following consumption limits:
50 requests per minute.The API uses the standard Bearer Token authentication . Refer to the authentication section for details on how to obtain your API credentials.
When making a GET request, use the following format:
const obj = {
  attributes: [],
  includes: {
    key1: [],
    key2: []
  },
  filters: { },
  sort: null,
  count: true,
  limit: 15,
  page: 1,
  search: null
}
Event Subscriptions:
Configure webhooks to receive real-time notifications of system events, enabling automated and synchronized responses to updates within Softruck’s services.
This documentation provides a complete overview of available endpoints in the Softruck API, ensuring integrators have the resources to manage vehicles, tracking, devices, and more effectively.
Returns the user basic data and a valid authentication token
| public-key | string   Example:  {{public-key}}  | 
| username required  | string  <= 255 characters    | 
| password required  | string  <= 255 characters    | 
{- "username": "username123",
 - "password": "password123"
 
}{- "data": {
- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJ4MTU3OVZSb3kwVzRPYTYiLCJjaWQiOiJsRzFLeERXbjNxMHdhbzgiLCJleHAiOjE3MzE2ODA2NzAsImFpZCI6IjhMSnp5VkQxME1XWDQxMyIsImVpZCI6IjN4TjJacUVSOXY4REc1UCIsImlhdCI6MTcyOTA4ODY3MH0.mmbohdkvukvF9dTAjhHxzwM7hMWzi-gn724UkZbsLHo",
 - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJ4MTU3OVZSb3kwVzRPYTYiLCJlaWQiOiIzeE4yWnFFUjl2OERHNVAiLCJjaWQiOiJsRzFLeERXbjNxMHdhbzgiLCJ1dHAiOiJBRE1JTiIsImFpZCI6IjhMSnp5VkQxME1XWDQxMyIsImV4cCI6MTcyOTY5MzQ3MCwiaWF0IjoxNzI5MDg4NjcwfQ._9H_GtXDbtrEcG8qU_dnvRAp81ZXSgtBVhpY4UrOewI"
 
} 
}Refresh a valid auth token using the refresh token
| public-key | string   Example:  {{public-key}}  | 
| auth_token required  | string  <= 500 characters    | 
| refresh_token required  | string  <= 500 characters    | 
{- "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJuYU9aVk0yN01SV2s5QksiLCJlaWQiOiIzeE4yWnFFUjl2OERHNVAiLCJjaWQiOiJsRzFLeERXbjNxMHdhbzgiLCJ1dHAiOiJBRE1JTiIsImFpZCI6IkcxS3hEV25KT0RXMHdhbyIsImV4cCI6MTcxMDUwOTY4OCwiaWF0IjoxNzA5OTA0ODg4fQ.Pb3wg2KFPYbm8MHCXBtWuzfl8xwr_WrVZAXtov2XIlI",
 - "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJuYU9aVk0yN01SV2s5QksiLCJjaWQiOiJsRzFLeERXbjNxMHdhbzgiLCJleHAiOjE3MjA0NDU2ODgsImFpZCI6IkcxS3hEV25KT0RXMHdhbyIsImVpZCI6IjN4TjJacUVSOXY4REc1UCIsImlhdCI6MTcwOTkwNDg4OH0.1fofVeE2Cxcs14ledaquQzj1BRNzicajgu-9A1D7sSs"
 
}{- "data": {
- "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJ4MTU3OVZSb3kwVzRPYTYiLCJjaWQiOiJsRzFLeERXbjNxMHdhbzgiLCJleHAiOjE3MzI5MDA3MjAsImFpZCI6IjhMSnp5VkQxME1XWDQxMyIsImVpZCI6IjN4TjJacUVSOXY4REc1UCIsImlhdCI6MTczMDMwODcyMH0.8Ih5vp13Svn5aLxHKbqHbjuBIqmRYKe6_nEbQlvdiTw",
 - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJ4MTU3OVZSb3kwVzRPYTYiLCJlaWQiOiIzeE4yWnFFUjl2OERHNVAiLCJjaWQiOiJsRzFLeERXbjNxMHdhbzgiLCJ1dHAiOiJBRE1JTiIsImFpZCI6IjhMSnp5VkQxME1XWDQxMyIsImV4cCI6MTczMDkxMzUyMCwiaWF0IjoxNzMwMzA4NzIwfQ.weCV9Oh7ATqo0P8Grk9doXCjf7Cr8AWzXkelwbL0hxw"
 
} 
}Activates or deactivates user with id provided. Return none if success
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| situation | string  Enum: "activation" "deactivation"    | 
| public-key | string   Example:  {{public-key}}  | 
Fetches detailed information about a specific user, including attributes and related entities, based on the provided user id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "username" "email" "name" "phone1" "phone2" "emergency_contact" "emergency_phone" "document_number" "cpf" "birthdate" "created_at" "updated_at" "deactivated_at" "locale"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "birthdate": null,
 - "cpf": "12369876544",
 - "created_at": "2024-10-25T14:54:13.890Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": "testeresponse@gmail.com",
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Api Teste response",
 - "phone1": null,
 - "phone2": null,
 - "updated_at": "2024-10-25T14:54:13.890Z",
 - "username": "teste.testeteste"
 
}, - "id": "2wxzWL89QdWKEDX",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "7920ed83-0f85-4768-b337-34d0bab162de"
 
} 
}Removes a user. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
{ }Updates specific attributes of a user based on the user id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "username": "username012",
 - "email": "email012@softruck.com",
 - "name": "name 012",
 - "phone1": "+5511999999999",
 - "phone2": "+5511999999998",
 - "emergency_contact": "+5511999999997",
 - "emergency_phone": "+5511999999996",
 - "document_number": "123456789",
 - "cpf": "123.456.789-00",
 - "birthdate": "1990-01-01",
 - "locale": "pt_BR"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "roles": {
- "type": "roles",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "birthdate": null,
 - "cpf": "12369876544",
 - "created_at": "2024-10-25T14:54:13.890Z",
 - "deactivated_at": "2024-10-25T15:07:30.247Z",
 - "document_number": null,
 - "email": "user.name@gmail.com",
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Api Teste response",
 - "phone1": null,
 - "phone2": null,
 - "updated_at": "2024-10-25T15:08:53.265Z",
 - "username": "umnovo.username"
 
}, - "id": "2wxzWL89QdWKEDX",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "7920ed83-0f85-4768-b337-34d0bab162de"
 
} 
}Retrieves a list of users with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "username" "email" "name" "phone1" "phone2" "emergency_contact" "emergency_phone" "document_number" "cpf" "birthdate" "created_at" "updated_at" "deactivated_at" "locale"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657890",
 - "created_at": "2024-08-23T11:57:15.954Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Calber Pereira De Resende",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:57:16.104Z",
 - "username": "9887657890"
 
}, - "id": "kQJNWkLzdMqgPMp",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "fd65f814-e9a7-4ba3-86c7-cf47ebdad00b"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657892",
 - "created_at": "2024-08-23T11:57:23.261Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Fernando Salome Jorge",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:57:23.383Z",
 - "username": "9887657892"
 
}, - "id": "8zgbW6JMgMW7J49",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "0ef61a5c-7869-4bcf-aa78-cd36b855ef9a"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657894",
 - "created_at": "2024-08-23T11:57:33.891Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Flavia Aparecida Santos Costa",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:57:33.988Z",
 - "username": "9887657894"
 
}, - "id": "Ynr2qyQYX0qleR8",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "bb3c154e-1536-4c2e-8e14-44e9259e62a7"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "5678987",
 - "created_at": "2024-08-21T17:58:41.446Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": "fernanda.doehler@softruck.com",
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "prestador850",
 - "phone1": "567897777",
 - "phone2": null,
 - "updated_at": "2024-08-23T12:23:09.731Z",
 - "username": "prestador850"
 
}, - "id": "kyx2q5EGMYqdDzB",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "2be0ebb4-c966-48d8-93eb-596d9f2a8ee5"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657897",
 - "created_at": "2024-08-23T11:57:49.389Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Flavimar Marra Melo",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:57:49.489Z",
 - "username": "9887657897"
 
}, - "id": "kEoeqN7PQrvOPDJ",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "58ee3010-1b5d-4607-b907-f1b00e1ab397"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657903",
 - "created_at": "2024-08-23T11:58:48.898Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Forte Edificações Ltda",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:49.018Z",
 - "username": "9887657903"
 
}, - "id": "kQJNWkLzdEqgPMp",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "91f6be38-31f9-4aa6-a3fa-02f8368b4fbe"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657904",
 - "created_at": "2024-08-23T11:58:53.969Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Franciele Danubia Queiroz Ferreira",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:54.089Z",
 - "username": "9887657904"
 
}, - "id": "8zgbW6JMgKW7J49",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "eafb65f3-e181-4e99-a99f-fd410d4d186d"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657905",
 - "created_at": "2024-08-23T11:58:59.078Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Franciele Nogueira Silva Ferreira",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:59.214Z",
 - "username": "9887657905"
 
}, - "id": "m5Ljv3XG5PV6RD1",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "75862e08-5aa7-4bb7-bc23-b90b3c556584"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657898",
 - "created_at": "2024-08-23T11:58:23.061Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Flavio Fernandes Goncalves",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:23.192Z",
 - "username": "9887657898"
 
}, - "id": "09G5q9rGnAvjEN7",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "8edb282f-a2d4-47c8-9a4f-476ae1c7c0bc"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657899",
 - "created_at": "2024-08-23T11:58:28.293Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Flavio Henrique Ferreira Dos Santos",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:28.410Z",
 - "username": "9887657899"
 
}, - "id": "k8KNVJXmNJqrwY7",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "a30ee8fb-d520-4271-be19-be362268c0a8"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657900",
 - "created_at": "2024-08-23T11:58:33.519Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Flavio Jose Da Cunha Souza",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:33.649Z",
 - "username": "9887657900"
 
}, - "id": "rY0OvPyrmXVlDn5",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "8ba73cc3-e3bb-4946-ad72-426846783b55"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657901",
 - "created_at": "2024-08-23T11:58:38.593Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Flavio Wendel Vieira",
 - "phone1": "(37)9985-92663",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:38.693Z",
 - "username": "9887657901"
 
}, - "id": "9AkdWYeA9YWBmn1",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "3dd08781-37ae-4734-8443-0c13e33386a5"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657902",
 - "created_at": "2024-08-23T11:58:43.636Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Florecena De Melo Oliveira Nogueira",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:58:43.749Z",
 - "username": "9887657902"
 
}, - "id": "xaD2vr9yJrq49b5",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "110e966c-0c6f-40b8-a0dc-7a9cb5afff08"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657907",
 - "created_at": "2024-08-23T11:59:09.738Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Francisco Alessandro De Assis Vieira",
 - "phone1": "(37)9998-13033",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:59:09.851Z",
 - "username": "9887657907"
 
}, - "id": "1579VRQw90v4Oa6",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "95d48d9a-5662-430d-a131-c32dcfb8246f"
 
}, - {
- "attributes": {
- "birthdate": null,
 - "cpf": "9887657908",
 - "created_at": "2024-08-23T11:59:14.863Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": null,
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Francisco Antonio Da Silva Junior",
 - "phone1": "(00)0000-0000",
 - "phone2": null,
 - "updated_at": "2024-08-23T11:59:14.980Z",
 - "username": "9887657908"
 
}, - "id": "4jPlVmgzo2q36mk",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "290a4d69-f981-435e-9bf4-e0ec0892c05a"
 
} 
] 
}Creates one or more users entries with attributes and related information. Returns the newly created users.
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "username": "user123",
 - "password": "password123",
 - "email": "email@softruck.com",
 - "name": "name 01",
 - "phone1": "+5511999999999",
 - "phone2": "+5511999999998",
 - "emergency_contact": "+5511999999997",
 - "emergency_phone": "+5511999999996",
 - "document_number": "123456789",
 - "cpf": "123.456.789-00",
 - "birthdate": "1990-01-01",
 - "locale": "pt_BR"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "roles": {
- "type": "roles",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": [
- {
- "attributes": {
- "birthdate": null,
 - "cpf": "12369876544",
 - "created_at": "2024-10-25T14:54:13.890Z",
 - "deactivated_at": null,
 - "document_number": null,
 - "email": "testeresponse@gmail.com",
 - "emergency_contact": null,
 - "emergency_phone": null,
 - "locale": "pt_BR",
 - "name": "Api Teste response",
 - "phone1": null,
 - "phone2": null,
 - "updated_at": "2024-10-25T14:54:13.890Z",
 - "username": "teste.testeteste"
 
}, - "id": "2wxzWL89QdWKEDX",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "users",
 - "uuid": "7920ed83-0f85-4768-b337-34d0bab162de"
 
} 
] 
}Fetches detailed information about a specific user role, including attributes and related entities, based on the provided user role id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Value: "name"    | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "name": "ADMIN"
 
}, - "id": "EGm5Ljv3XV6RD1X",
 - "relationships": { },
 - "type": "roles"
 
} 
}Retrieves a list of user roles with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Value: "name"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "name": "ADMIN"
 
}, - "id": "EGm5Ljv3XV6RD1X",
 - "relationships": { },
 - "type": "roles"
 
}, - {
- "attributes": {
- "name": "CALLCENTER"
 
}, - "id": "nyXaoNWKQvGQkMP",
 - "relationships": { },
 - "type": "roles"
 
}, - {
- "attributes": {
- "name": "ENTERPRISE"
 
}, - "id": "yx1579VRev4Oa62",
 - "relationships": { },
 - "type": "roles"
 
}, - {
- "attributes": {
- "name": "OWNER"
 
}, - "id": "XO4jPlVmXv36mkD",
 - "relationships": { },
 - "type": "roles"
 
}, - {
- "attributes": {
- "name": "REGULAR"
 
}, - "id": "GmkEoeqNxVOPDJd",
 - "relationships": { },
 - "type": "roles"
 
}, - {
- "attributes": {
- "name": "VISITOR"
 
}, - "id": "E8xaD2vrQq49b5o",
 - "relationships": { },
 - "type": "roles"
 
}, - {
- "attributes": {
- "name": "PROVIDER"
 
}, - "id": "zrw60BV8EWaeZbd",
 - "relationships": { },
 - "type": "roles"
 
} 
] 
}Fetches detailed information about a specific vehicle, including attributes and related entities, based on the provided vehicle id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "batch" "plate" "code" "vin" "type" "brand" "model" "year" "description" "registration_number" "color" "user_names" "deactivated_at"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "batch": null,
 - "brand_name": null,
 - "code": null,
 - "color": "#FF5722",
 - "created_at": "2024-08-21T17:56:46.868Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": null,
 - "plate": "LLP0909",
 - "trim_name": null,
 - "type_name": "car",
 - "updated_at": "2024-08-21T17:56:46.868Z",
 - "vin": null,
 - "year": "2000"
 
}, - "id": "XaoNWKkx3pWGQkM",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "a6b8e135-b969-4326-bc5d-3ffdc046b4ad"
 
} 
}Updates specific attributes of a vehicle based on the vehicle id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "plate": "ABC123",
 - "vin": "string",
 - "type": "car",
 - "code": "code",
 - "brand": "fiat",
 - "model": "argo",
 - "year": "2021",
 - "description": "description of the car",
 - "color": "grey",
 - "batch": "22",
 - "registration_number": "REG446"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "plate": "ABC123",
 - "vin": "string"
 
}, - "id": "XaoNWKkx3pWGQkM",
 - "relationships": { },
 - "type": "vehicles",
 - "uuid": "a6b8e135-b969-4326-bc5d-3ffdc046b4ad"
 
} 
}Retrieves a list of vehicles with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "batch" "plate" "code" "vin" "type" "brand" "model" "year" "description" "registration_number" "color" "user_names" "deactivated_at"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "batch": null,
 - "brand_name": "GM",
 - "code": null,
 - "color": "#FFFFFF",
 - "created_at": "2023-03-28T19:15:54.922Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "ONIX",
 - "plate": "OPQ0987",
 - "trim_name": "ONIX 1.4MT LT",
 - "type_name": "car",
 - "updated_at": "2023-03-28T19:15:54.922Z",
 - "vin": "9BGKS48L0DG226592",
 - "year": "2013"
 
}, - "id": "19gYZAD00bQx7l2",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "b05709e1-eb20-4d33-97ed-a5b122977f01"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "FIAT",
 - "code": null,
 - "color": "#9E9E9E",
 - "created_at": "2023-09-04T12:28:19.070Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "SIENA",
 - "plate": "PUG1212",
 - "trim_name": "SIENA EL 1.4 FLEX",
 - "type_name": "car",
 - "updated_at": "2024-03-27T16:39:29.651Z",
 - "vin": "9BD372171F4056462",
 - "year": "2014"
 
}, - "id": "5dbVZ6NRzAZ9q1k",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "6f725210-fe46-4f9f-9ce4-b8d56e794ac3"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "HONDA",
 - "code": null,
 - "color": "#FF5722",
 - "created_at": "2023-06-27T13:06:23.667Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "POP 100",
 - "plate": "PGR4533",
 - "trim_name": null,
 - "type_name": "motorcycle",
 - "updated_at": "2023-09-29T18:29:35.983Z",
 - "vin": "9C2HB0210ER404406",
 - "year": "2013"
 
}, - "id": "VBq6ZP4xK5ZNp5g",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "o4OVa2wKVZe6d3k",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "0e26fbbd-aad4-442d-b2bf-84219e80ca65"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "VW",
 - "code": null,
 - "color": "#FFFFFF",
 - "created_at": "2023-06-27T13:06:23.667Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "GOL",
 - "plate": "PGR4566",
 - "trim_name": null,
 - "type_name": "car",
 - "updated_at": "2023-09-29T18:30:13.543Z",
 - "vin": "9BWAA45U8ET086626",
 - "year": "2013"
 
}, - "id": "YDM3wz4x8bQB5Rx",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "bc5839af-63f1-4481-972b-233d71ded3cd"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "HONDA",
 - "code": null,
 - "color": "#FF5722",
 - "created_at": "2023-06-27T13:06:23.667Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "POP 100",
 - "plate": "PGR4577",
 - "trim_name": null,
 - "type_name": "motorcycle",
 - "updated_at": "2023-09-29T18:30:23.566Z",
 - "vin": "9C2HB0210ER427576",
 - "year": "2013"
 
}, - "id": "YlzjwMx1j2Z9xR3",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "o4OVa2wKVZe6d3k",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "76713fa3-570a-4a8f-9c54-d917fb8b44c3"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "MITSUBISHI",
 - "code": null,
 - "color": "#FFFFFF",
 - "created_at": "2023-06-27T13:06:23.667Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "PAJERO",
 - "plate": "PGR4500",
 - "trim_name": "PAJERO HPE 3.2 D",
 - "type_name": "utility",
 - "updated_at": "2023-09-29T18:31:17.359Z",
 - "vin": "JMYLYV98WEJA00549",
 - "year": "2013"
 
}, - "id": "0mDYQXPkRxQ5oxj",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "71Ndzlwjbwagyvr",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "f83586e4-67e3-4bac-9604-046c57fec7dd"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "HYUNDAI",
 - "code": null,
 - "color": "#9E9E9E",
 - "created_at": "2023-06-27T13:06:23.667Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "HB20",
 - "plate": "PGR4511",
 - "trim_name": "HB20 1.0M 1.0 M",
 - "type_name": "car",
 - "updated_at": "2023-09-29T18:33:51.999Z",
 - "vin": "9BHBG51CAEP150573",
 - "year": "2013"
 
}, - "id": "ydMqwm87bpZJ1kB",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "d189d5e1-c13f-4ade-bb5e-6014b7630e55"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "HONDA",
 - "code": null,
 - "color": "#212121",
 - "created_at": "2023-09-04T12:37:31.780Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "NXR150",
 - "plate": "PEO1212",
 - "trim_name": null,
 - "type_name": "motorcycle",
 - "updated_at": "2023-09-04T12:37:31.780Z",
 - "vin": "9C2KD0540BR516619",
 - "year": "ANO"
 
}, - "id": "5dbVZ6NRbrZ9q1k",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "o4OVa2wKVZe6d3k",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "9ec2a83a-d40c-4d2c-bb89-4bfb822c594c"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "Fusca",
 - "code": null,
 - "color": "#F8BBD0",
 - "created_at": "2023-07-18T14:02:39.314Z",
 - "deleted_at": null,
 - "description": "Penelope charmosa",
 - "model_name": "Herbie",
 - "plate": "OPG5643",
 - "trim_name": null,
 - "type_name": "car",
 - "updated_at": "2023-07-18T14:02:39.314Z",
 - "vin": null,
 - "year": "1987"
 
}, - "id": "z9klZ7JnpmQ4onE",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "d4ab5586-24da-4c35-9229-a989cd8f4c72"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "FORD",
 - "code": null,
 - "color": "#FF5722",
 - "created_at": "2023-01-30T13:43:20.659Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "FOCUS",
 - "plate": "FOR3333",
 - "trim_name": "FOCUS 1.6 S/SE/SE PLUS FLEX 8V/16V  5P",
 - "type_name": "car",
 - "updated_at": "2023-01-30T13:43:20.659Z",
 - "vin": null,
 - "year": "2010"
 
}, - "id": "PR97L1yXDGLnlrm",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "16f29e57-c0a1-4d3a-9f9b-0f7dbccf54f9"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "FORD",
 - "code": null,
 - "color": "#FFFFFF",
 - "created_at": "2023-02-09T13:32:19.298Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "KA+",
 - "plate": "PHS0740",
 - "trim_name": "KA+ SEDAN 1.5 ADVANCED 16V FLEX 4P",
 - "type_name": "car",
 - "updated_at": "2023-02-09T13:32:19.298Z",
 - "vin": "9bfzh54j4j8055317",
 - "year": "2018"
 
}, - "id": "7yN6L8zyW4ZKgM5",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "01ce63cd-2002-49ad-9bbb-e6ff2c42721e"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "VW",
 - "code": null,
 - "color": "#E1C699",
 - "created_at": "2023-08-22T17:49:40.529Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "LOGUS",
 - "plate": "GPP1001",
 - "trim_name": "LOGUS CL",
 - "type_name": "car",
 - "updated_at": "2023-08-22T18:11:02.186Z",
 - "vin": "9BWZZZ55ZPB404973",
 - "year": "1993"
 
}, - "id": "PR97L1P9Nqwnlrm",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "ac171574-cf69-4544-b6b9-1f9443d58417"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "CHERY",
 - "code": null,
 - "color": "#9E9E9E",
 - "created_at": "2023-02-09T18:36:15.474Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "TIGGO 5X",
 - "plate": "PQG1234",
 - "trim_name": "TIGGO 5X TXS",
 - "type_name": "utility",
 - "updated_at": "2023-02-09T18:36:15.474Z",
 - "vin": "95PBCK51DLB000848",
 - "year": "2019"
 
}, - "id": "jr2qZvnMYgZkDoB",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "71Ndzlwjbwagyvr",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "3805067c-9cc3-4da5-ab5b-03df9e36ae92"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "RENAULT",
 - "code": null,
 - "color": "#FFFFFF",
 - "created_at": "2023-03-21T18:32:41.340Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "SANDERO",
 - "plate": "FGCR0987",
 - "trim_name": "SANDERO ST16 SCE",
 - "type_name": "car",
 - "updated_at": "2023-03-21T18:32:41.340Z",
 - "vin": "93Y5SRFHGLJ915063",
 - "year": "2019"
 
}, - "id": "ov8pZ5XvKaQ93Kg",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "6057b2d6-35ce-4ac6-9d80-15fe444455ce"
 
}, - {
- "attributes": {
- "batch": null,
 - "brand_name": "HONDA",
 - "code": null,
 - "color": "#212121",
 - "created_at": "2022-03-23T17:32:56.835Z",
 - "deleted_at": null,
 - "description": null,
 - "model_name": "CG150",
 - "plate": "OAS8595",
 - "trim_name": "HONDA/CG150 FAN ESDI",
 - "type_name": "car",
 - "updated_at": "2022-03-23T17:32:56.876Z",
 - "vin": "9C2KC1680CR402057",
 - "year": "2011"
 
}, - "id": "5dbVZ6kWGew9q1k",
 - "relationships": {
- "asset_vehicle_type": {
- "attributes": { },
 - "id": "2mgrADZVpLyqOkG",
 - "type": "type"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "DVBq6ZPpjZNp5ge",
 - "type": "enterprise"
 
} 
}, - "type": "vehicles",
 - "uuid": "bdbe8451-1c52-4c61-acf1-e68e031a8336"
 
} 
] 
}Creates one or more vehicles entries with attributes and related information. Returns the newly created vehicles.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "attributes": {
- "plate": "ABC1234",
 - "vin": "1HGCM82633A123456",
 - "type": "car",
 - "code": "123",
 - "brand": "Toyota",
 - "model": "Corolla",
 - "year": "2020",
 - "description": "some more info about the car",
 - "color": "#FF9800",
 - "batch": "42",
 - "registration_number": "REG20230415"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
] 
}{- "data": [
- {
- "attributes": {
- "plate": "ABC1234",
 - "vin": "1HGCM82633A123456"
 
}, - "id": "5Py4qXAoBpvYadn",
 - "relationships": { },
 - "type": "vehicles",
 - "uuid": "64659302-c6dc-444a-b6f9-7037957b522c"
 
} 
] 
}Removes a list of vehicles. This action is permanent and cannot be undone.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "type": "vehicles",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Updates specific attributes of a association device based on the association device id
| vehicle_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| association_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||
  | |||||||
{- "data": {
- "attributes": {
- "is_main_device": true
 
} 
} 
}Retrieves a list of association devices with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| vehicle_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
object   | |
object   | |
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "created_at": "2024-08-29T16:54:59.096Z",
 - "deleted_at": null,
 - "is_main_device": true,
 - "updated_at": "2024-11-01T13:20:17.776Z"
 
}, - "id": "mkEoeqNEGnWOPDJ",
 - "relationships": {
- "devices": {
- "attributes": { },
 - "id": "k8KNVJn1bGVrwY7",
 - "type": "devices"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprises"
 
}, - "vehicles": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "vehicles"
 
} 
}, - "type": "device_associations",
 - "uuid": "f015573a-67a5-4414-8754-991b8d5d3afd"
 
}, - {
- "attributes": {
- "created_at": "2024-10-31T14:09:49.896Z",
 - "deleted_at": null,
 - "is_main_device": false,
 - "updated_at": "2024-10-31T14:09:49.896Z"
 
}, - "id": "6pnDqZ4lXpVJemx",
 - "relationships": {
- "devices": {
- "attributes": { },
 - "id": "09G5q9glKdVjEN7",
 - "type": "devices"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprises"
 
}, - "vehicles": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "vehicles"
 
} 
}, - "type": "device_associations",
 - "uuid": "fd405bd0-0ac2-44b9-9684-78eb19d801d1"
 
}, - {
- "attributes": {
- "created_at": "2024-10-31T17:39:49.993Z",
 - "deleted_at": null,
 - "is_main_device": false,
 - "updated_at": "2024-10-31T17:39:49.993Z"
 
}, - "id": "8532V4E042WXrdQ",
 - "relationships": {
- "devices": {
- "attributes": { },
 - "id": "2wxzWLnDODvKEDX",
 - "type": "devices"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprises"
 
}, - "vehicles": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "vehicles"
 
} 
}, - "type": "device_associations",
 - "uuid": "6207b447-c1d5-4664-babb-6b027434c99f"
 
}, - {
- "attributes": {
- "created_at": "2024-11-01T13:19:10.128Z",
 - "deleted_at": "2024-11-01T13:30:20.905Z",
 - "is_main_device": false,
 - "updated_at": "2024-11-01T13:19:10.128Z"
 
}, - "id": "naOZVMQD3JVk9BK",
 - "relationships": {
- "devices": {
- "attributes": { },
 - "id": "8532V4gal9vXrdQ",
 - "type": "devices"
 
}, - "enterprises": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprises"
 
}, - "vehicles": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "vehicles"
 
} 
}, - "type": "device_associations",
 - "uuid": "ff268c19-c877-472c-a00e-81578722bbd1"
 
} 
] 
}Creates one or more association devices entries with attributes and related information. Returns the newly created association devices.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||||
 Array  
  | |||||||
{- "data": [
- {
- "device_id": "mkEoeqNKBvOPDJd",
 - "vehicle_id": "mkEoeqNKBvOPDJd",
 - "is_main_device": true
 
} 
] 
}Removes a list of association devices. This action is permanent and cannot be undone.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "type": "device_association",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Retrieves a list of association users with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| vehicle_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "created_at" "deleted_at" "nature"    | 
object   | |
object   | |
| searchables | Array of any   | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
| sort | object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": { },
 - "id": "2wxzWLx8rOWKEDX",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "asset"
 
}, - "user": {
- "attributes": { },
 - "id": "kQJNWkLzdMqgPMp",
 - "type": "user"
 
} 
}, - "type": "user_associations",
 - "uuid": "8d095d1a-ea5e-4428-8abc-521d1e2b9c56"
 
}, - {
- "attributes": { },
 - "id": "G6D7Wz517DVNKyb",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "asset"
 
}, - "user": {
- "attributes": { },
 - "id": "8zgbW6JMgMW7J49",
 - "type": "user"
 
} 
}, - "type": "user_associations",
 - "uuid": "ad13ace8-8df0-4edc-87d4-d2cacc052cc5"
 
} 
] 
}Creates one or more association users entries with attributes and related information. Returns the newly created association users.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "vehicle_id": "mkEoeqNKBvOPDJd",
 - "user_id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Removes a list of association users. This action is permanent and cannot be undone.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "type": "user_permission",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Fetches detailed information about a specific tracking, including attributes and related entities, based on the provided tracking id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| device_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
object   | |
| format | string  Value: "JSON"    | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "act": 1730387256,
 - "bl": 100,
 - "dir": 200,
 - "geometry": {
- "coordinates": [
- -49.493347,
 - -20.846567
 
], - "type": "Point"
 
}, - "ign": true,
 - "o1": "0",
 - "spd": 72
 
}, - "type": "Feature"
 
} 
}Fetches detailed information about a specific trajectories data, including attributes and related entities, based on the provided trajectories data id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "SEGMENT" "DETAILED" "ALARM" "STOP"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{ }Fetches detailed information about a specific trajectory, including attributes and related entities, based on the provided trajectory id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
object   | |
object   | |
object   | |
| searchables | Array of any   | 
| limit | number <float>    | 
| page | number <float>    | 
| public-key | string   Example:  {{public-key}}  | 
Retrieves a list of trajectories with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| id | string   | 
object   | |
object   | |
| searchables | Array of any   | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| public-key | string   Example:  {{public-key}}  | 
Activates or deactivates device with id provided. Return none if success
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| situation | string  Enum: "activation" "deactivation"    | 
| public-key | string   Example:  {{public-key}}  | 
Fetches detailed information about a specific device, including attributes and related entities, based on the provided device id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "name" "imei" "batch" "created_at" "updated_at" "code"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "batch": "primeiro",
 - "code": null,
 - "created_at": "2024-08-22T11:24:13.039Z",
 - "imei": "451297310138994",
 - "name": "451297310138994",
 - "updated_at": "2024-10-25T15:21:08.159Z"
 
}, - "id": "1KxDWnJeEYW0wao",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "XO4jPlVmXv36mkD",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "f01ff5b1-680f-46bf-92ab-6400c8c5b149"
 
} 
}Updates specific attributes of a device based on the device id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||||||||||||||
  | |||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "name": "device2333",
 - "imei": "536335867067475",
 - "batch": "20",
 - "code": "1A010"
 
}, - "relationships": {
- "chip": {
- "type": "chip",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "vehicle": {
- "type": "vehicle",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "type": {
- "type": "type",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "batch": "segundo",
 - "code": "1A010",
 - "created_at": "2024-08-22T11:26:06.310Z",
 - "imei": "451297310140141",
 - "name": "451297310140141",
 - "updated_at": "2024-10-31T17:44:53.193Z"
 
}, - "id": "n0RkvA7pwnWlxdP",
 - "relationships": { },
 - "type": "devices",
 - "uuid": "af8ab83c-324c-4025-b632-40e34912bc6a"
 
} 
}Retrieves a list of devices with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "name" "imei" "batch" "created_at" "updated_at" "code"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "batch": "primeiro",
 - "code": null,
 - "created_at": "2024-08-22T11:24:13.039Z",
 - "imei": "451297310138994",
 - "name": "451297310138994",
 - "updated_at": "2024-08-22T11:24:13.039Z"
 
}, - "id": "1KxDWnJeEYW0wao",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "XO4jPlVmXv36mkD",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "f01ff5b1-680f-46bf-92ab-6400c8c5b149"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-09-03T12:38:08.260Z",
 - "imei": "5789876543234567",
 - "name": "34567654323456789",
 - "updated_at": "2024-09-03T12:38:08.260Z"
 
}, - "id": "6pnDqZLer9VJemx",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "gA35DWjb3WE768J",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "LnaOZVMO8qk9BK0",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "69bfc981-72d0-4618-82ca-ff47e3dd1265"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-09-09T18:13:04.237Z",
 - "imei": "361846639788641",
 - "name": "361846639788641",
 - "updated_at": "2024-10-02T16:46:57.931Z"
 
}, - "id": "09G5q9glKdVjEN7",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "1c107307-c9bc-4278-a584-fe690412c28a"
 
}, - {
- "attributes": {
- "batch": "segundo",
 - "code": "Gerador",
 - "created_at": "2024-08-22T11:26:06.310Z",
 - "imei": "451297310140141",
 - "name": "451297310140141",
 - "updated_at": "2024-09-18T18:36:34.958Z"
 
}, - "id": "n0RkvA7pwnWlxdP",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "LnaOZVMO8qk9BK0",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "af8ab83c-324c-4025-b632-40e34912bc6a"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-10-02T16:48:05.852Z",
 - "imei": "99090999",
 - "name": "9909099999090999",
 - "updated_at": "2024-10-02T16:48:05.852Z"
 
}, - "id": "n0RkvA7gGjWlxdP",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "LnaOZVMO8qk9BK0",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "6b9f6f14-a28f-4cb2-a827-854dd9f071f4"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-10-02T16:48:37.885Z",
 - "imei": "99090999987656",
 - "name": "99090999987656",
 - "updated_at": "2024-10-02T16:48:37.907Z"
 
}, - "id": "0DX8vdDG53vpYGK",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "LnaOZVMO8qk9BK0",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "1d0c4f40-95df-4881-a496-0c68dd52a704"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": "Teste Automatizado",
 - "created_at": "2024-09-03T18:36:30.204Z",
 - "imei": "104845146008320",
 - "name": "104845146008320",
 - "updated_at": "2024-09-03T18:38:14.764Z"
 
}, - "id": "naOZVMk6mQqk9BK",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "f8d36a48-7111-4107-9c1d-4f0389b9665a"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": "Teste Automatizado",
 - "created_at": "2024-09-18T14:37:54.044Z",
 - "imei": "377941874118115",
 - "name": "377941874118115",
 - "updated_at": "2024-09-18T14:38:51.753Z"
 
}, - "id": "w60BV8gelmvaeZb",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "ef105e46-b7d5-4f3e-ae54-eaba58ea3b0d"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": "Gerador",
 - "created_at": "2024-08-29T14:35:47.384Z",
 - "imei": "456789012346671",
 - "name": "456789012346671",
 - "updated_at": "2024-08-29T14:35:47.384Z"
 
}, - "id": "2rmjWGzMaKVKPD5",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "1cbb1ea7-5a59-4298-ae09-2d9b0c75e2dd"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": "Teste Automatizado",
 - "created_at": "2024-09-18T14:42:58.717Z",
 - "imei": "303353863285642",
 - "name": "303353863285642",
 - "updated_at": "2024-09-18T14:43:57.109Z"
 
}, - "id": "9nR7v2gJPkVkjDa",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "167870e2-2984-45bc-aa92-c5ee8978aa1c"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-09-09T11:12:35.099Z",
 - "imei": "535923789297555",
 - "name": "535923789297555",
 - "updated_at": "2024-09-09T11:12:35.099Z"
 
}, - "id": "Ynr2qy2r8AvleR8",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "d50de7bf-8ab9-4027-95f5-48daebd19f17"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-09-09T11:15:55.099Z",
 - "imei": "719030995538309",
 - "name": "719030995538309",
 - "updated_at": "2024-09-09T11:15:55.099Z"
 
}, - "id": "1579VRmNYRv4Oa6",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "31c68d80-e681-420d-8162-73f328d29f7c"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-09-09T11:45:23.651Z",
 - "imei": "907467989677639",
 - "name": "907467989677639",
 - "updated_at": "2024-09-09T11:45:23.651Z"
 
}, - "id": "4jPlVmBaNjW36mk",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "30584438-7ff0-44a9-ba50-7f58b7a30ae3"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": null,
 - "created_at": "2024-09-09T11:49:25.271Z",
 - "imei": "974871835195688",
 - "name": "974871835195688",
 - "updated_at": "2024-09-09T11:49:25.271Z"
 
}, - "id": "kEoeqN63NpqOPDJ",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "y06pnDqZeWJemxP",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "8fe5ca68-fecf-4099-ab7f-85099ce102cf"
 
}, - {
- "attributes": {
- "batch": null,
 - "code": "Gerador",
 - "created_at": "2024-08-22T16:57:20.603Z",
 - "imei": "451297310146900",
 - "name": "451297310146900",
 - "updated_at": "2024-08-22T16:57:20.603Z"
 
}, - "id": "LJzyVDX3mBVX413",
 - "relationships": {
- "chip": {
- "attributes": { },
 - "id": "0xzgWegYJBvbR3o",
 - "type": "chip"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "7LnaOZVMNWk9BK0",
 - "type": "type"
 
} 
}, - "type": "devices",
 - "uuid": "40bbc485-6b09-40b5-8289-40ccdbb82bd8"
 
} 
] 
}Creates one or more devices with its attributes and related information. Returns the newly created devices.
| public-key | string   Example:  {{public-key}}  | 
required  | Array of objects   | ||||
 Array  
  | |||||
{- "data": [
- {
- "attributes": {
- "name": "819320021790",
 - "imei": "535958525",
 - "batch": "00",
 - "code": "579320321790"
 
}, - "relationships": {
- "chip": {
- "type": "chip",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "vehicle": {
- "type": "vehicle",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "type": {
- "type": "type",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
] 
}{- "data": [
- {
- "attributes": {
- "imei": "535958525",
 - "name": "819320021790"
 
}, - "id": "6pnDqZLe89VJemx",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "devices"
 
} 
] 
}Removes a list of devices. This action is permanent and cannot be undone.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "type": "devices",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Fetches detailed information about a specific chip, including attributes and related entities, based on the provided chip id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "serial" "number" "carrier" "service_provider" "batch"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": null,
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:40:16.460Z",
 - "number": "5531950441025",
 - "serial": "89724018639504414025",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:40:16.460Z"
 
}, - "id": "z9OjVgj9jkvZ1Gl",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "4666a7ca-3dd6-4d83-96f5-37b2d542fec9"
 
} 
}Updates specific attributes of a chip based on the chip id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||||||||||
  | |||||||||||||||||||||
{- "data": {
- "attributes": {
- "serial": "89724018639504414009",
 - "number": "5531950441009",
 - "batch": "20",
 - "carrier": "softruck",
 - "service_provider": "vivo"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": null,
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:40:16.460Z",
 - "number": "5531950441025",
 - "serial": "5678909876543456789",
 - "service_provider": "Vivo",
 - "updated_at": "2024-10-25T14:49:27.690Z"
 
}, - "id": "z9OjVgj9jkvZ1Gl",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "4666a7ca-3dd6-4d83-96f5-37b2d542fec9"
 
} 
}Retrieves a list of chips with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "serial" "number" "carrier" "service_provider" "batch"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": null,
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:40:16.460Z",
 - "number": "5531950441025",
 - "serial": "89724018639504414025",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:40:16.460Z"
 
}, - "id": "z9OjVgj9jkvZ1Gl",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "4666a7ca-3dd6-4d83-96f5-37b2d542fec9"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": null,
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:40:16.460Z",
 - "number": "5531950441026",
 - "serial": "89724018639504414026",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:40:16.460Z"
 
}, - "id": "2rmjWG1j1gvKPD5",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "887770fa-2fd8-46fe-9a8c-2e2912f43efa"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": null,
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:40:16.460Z",
 - "number": "5531950441027",
 - "serial": "89724018639504414027",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:40:16.460Z"
 
}, - "id": "A35DWj4Y43vE768",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "e38c08e7-6306-4208-9284-9c918fdf6146"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440000",
 - "serial": "89724018639504413000",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "9AkdWY9EBoWBmn1",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "a8fff593-fb11-4cc8-84f4-b5773d9ee47d"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440001",
 - "serial": "89724018639504413001",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "xaD2vrJz2bv49b5",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "61ebb41d-93c5-4a43-ba94-ea87062c1340"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440002",
 - "serial": "89724018639504413002",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "kQJNWkd4OMqgPMp",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "cce62dd0-20fe-4519-a699-9b571b2ede55"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440003",
 - "serial": "89724018639504413003",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "8zgbW6gRyMq7J49",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "d0fdcb13-e93a-41dc-a992-dace43a9a7a6"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440004",
 - "serial": "89724018639504413004",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "m5Ljv356kkW6RD1",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "5310ce19-d2df-4582-af36-3968ad6d3a38"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440005",
 - "serial": "89724018639504413005",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "Ynr2qyX0R0WleR8",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "aed57eef-ce1c-4079-baef-175d909f4316"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440006",
 - "serial": "89724018639504413006",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "1579VR9jg1v4Oa6",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "688bcdc0-9007-4d66-99aa-2c7e253ec47b"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440007",
 - "serial": "89724018639504413007",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "4jPlVmoGerq36mk",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "5bc9913f-a85b-434b-8ccc-566720d9f0f4"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440009",
 - "serial": "89724018639504413009",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "09G5q9n9NAvjEN7",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "cbe01a12-08ea-4d89-b486-77ba858683c5"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440010",
 - "serial": "89724018639504413010",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "k8KNVJNogJVrwY7",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "4bbd3b46-8cbd-424b-881a-d1cabb396bab"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440011",
 - "serial": "89724018639504413011",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "rY0OvPmjgXVlDn5",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "848ed9e2-1076-4b52-999a-966bb8ca82c5"
 
}, - {
- "attributes": {
- "apn": "softruck.com",
 - "apn_password": "softruck",
 - "apn_username": "softruck",
 - "archived_at": null,
 - "batch": "primeiro",
 - "carrier": "softruck",
 - "created_at": "2024-08-22T11:37:36.307Z",
 - "number": "5531950440012",
 - "serial": "89724018639504413012",
 - "service_provider": "Vivo",
 - "updated_at": "2024-08-22T11:37:36.307Z"
 
}, - "id": "9AkdWY9EBYWBmn1",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "26836b32-866f-447f-b7a8-d252bc74794f"
 
} 
] 
}Creates one or more chips with its attributes and related information. Returns the newly created chips.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "attributes": {
- "serial": "89724018639504414009",
 - "number": "5531950441009",
 - "batch": "20",
 - "carrier": "softruck",
 - "service_provider": "vivo"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
] 
}{- "data": [
- {
- "attributes": {
- "apn": null,
 - "apn_password": null,
 - "apn_username": null,
 - "archived_at": null,
 - "batch": "20",
 - "carrier": "softruck",
 - "created_at": "2024-10-25T14:44:48.391Z",
 - "number": "5531950441009",
 - "serial": "89724018639504414009",
 - "service_provider": "Vivo",
 - "updated_at": "2024-10-25T14:44:48.391Z"
 
}, - "id": "kQJNWkdwBEqgPMp",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "chips",
 - "uuid": "c44fcdad-2896-40c0-8d58-ed1761f05ee1"
 
} 
] 
}Removes a list of chips. This action is permanent and cannot be undone.
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "type": "chips",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Activates or deactivates enterprise with id provided. Return none if success
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| situation | string  Enum: "activation" "deactivation"    | 
| public-key | string   Example:  {{public-key}}  | 
Fetches detailed information about a specific enterprise, including attributes and related entities, based on the provided enterprise id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "name" "phone1" "phone2" "email" "contact_name" "created_at" "updated_at" "deactivated_at" "cnpj" "webpage" "timezone" "assistance_emergency_tel" "theft_emergency_tel" "fantasy_name"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "24515414000111",
 - "contact_name": null,
 - "created_at": "2024-08-20T11:51:30.179Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "alice.baatista@softruck.br",
 - "fantasy_name": "empresa 850",
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": true,
 - "name": "Alinamites",
 - "phone1": null,
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-10-25T18:55:14.414Z",
 - "webpage": null
 
}, - "id": "mkEoeqNKBvOPDJd",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "a1c7f3bd-2189-49b8-be11-487a649152f9"
 
} 
}Removes an enterprise. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
{ }Updates specific attributes of an enterprise based on the enterprise id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "name": "enterpise 10",
 - "cnpj": "55927582000152",
 - "timezone": "America/Caracas",
 - "phone1": "31999999994",
 - "phone2": "31999999995",
 - "email": "email@softruck.com",
 - "contact_name": "contact 10",
 - "webpage": "www.softruck.com",
 - "assistance_emergency_tel": "31999999996",
 - "theft_emergency_tel": "31999999997",
 - "fantasy_name": "string"
 
}, - "relationships": {
- "country": {
- "type": "country",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "24515414000111",
 - "contact_name": null,
 - "created_at": "2024-08-20T11:51:30.179Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "alice.baatista@softruck.br",
 - "fantasy_name": "empresa 850",
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": true,
 - "name": "Alinamites",
 - "phone1": null,
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-10-25T18:55:14.414Z",
 - "webpage": null
 
}, - "id": "mkEoeqNKBvOPDJd",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "a1c7f3bd-2189-49b8-be11-487a649152f9"
 
} 
}Retrieves a list of enterprises with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "name" "phone1" "phone2" "email" "contact_name" "created_at" "updated_at" "deactivated_at" "cnpj" "webpage" "timezone" "assistance_emergency_tel" "theft_emergency_tel" "fantasy_name"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "39692032056798",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:49:17.530Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "denisbastosbatista1119.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Denis Bastos Batista",
 - "phone1": null,
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:49:17.530Z",
 - "webpage": null
 
}, - "id": "rw60BV8w1vaeZbd",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "322d35db-56c0-4a8b-ab3b-7a6723a4df88"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "24515414000111",
 - "contact_name": null,
 - "created_at": "2024-08-20T11:51:30.179Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "empresa850@lkl.com",
 - "fantasy_name": "empresa 850",
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": true,
 - "name": "Alinamites",
 - "phone1": null,
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-08-28T19:39:12.044Z",
 - "webpage": null
 
}, - "id": "mkEoeqNKBvOPDJd",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "a1c7f3bd-2189-49b8-be11-487a649152f9"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": "345678",
 - "cnpj": "0909090",
 - "contact_name": "98765432",
 - "created_at": "2024-08-28T14:51:09.091Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "a@a.com",
 - "fantasy_name": "855",
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Uno +4",
 - "phone1": "0987654334567",
 - "phone2": "234567890",
 - "state_registration_no": null,
 - "theft_emergency_tel": "098754",
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T12:57:41.336Z",
 - "webpage": null
 
}, - "id": "8xaD2vrbbv49b5o",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "288eebc8-2a1a-4408-8ee9-32a293c13c45"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "63902835034139",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:50:42.870Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "andreiamatheusmarques1579.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Andreia Matheus Marques",
 - "phone1": "7926015555794",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:50:42.870Z",
 - "webpage": null
 
}, - "id": "5n0RkvAyavlxdPE",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "07d65e3e-9e90-46c0-8c20-706142faaf5b"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "61414894632034",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:44:14.836Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "analimabarros6644.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Ana Lima Barros",
 - "phone1": "1790482627407",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:44:14.836Z",
 - "webpage": null
 
}, - "id": "XyOrxqwGJqG7NnP",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "0c5ce9c4-d6e8-4dfc-91c7-9046252c42a3"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "59448839022719",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:46:37.461Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "vilmabastosfilho5594.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Vilma Bastos Filho",
 - "phone1": "1689888122608",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:46:37.461Z",
 - "webpage": null
 
}, - "id": "4e1g5WloGVaYXjk",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "d33ab1ba-9693-406f-91d8-f049b239c636"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "66641539179759",
 - "contact_name": null,
 - "created_at": "2024-09-03T13:28:43.199Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "manoelvieirabarros1527.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Manoel Vieira Barros",
 - "phone1": "6308724854957",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-03T13:28:43.199Z",
 - "webpage": null
 
}, - "id": "g0KJQWbnJW5owaA",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "829d021b-8589-4e19-a8bd-4533a3b58080"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "78266384363850",
 - "contact_name": null,
 - "created_at": "2024-09-03T13:42:47.091Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "luisamatheusfreitas7543.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Luisa Matheus Freitas",
 - "phone1": "2389635770686",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-03T13:42:47.091Z",
 - "webpage": null
 
}, - "id": "Z7ABRvobBqzlGDP",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "f9cba5fc-7c35-4b38-a744-bbadba76942f"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "55385758256524",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:44:54.438Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "luispintodonascimento7948.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Luis Pinto do Nascimento",
 - "phone1": "8823325617753",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:44:54.438Z",
 - "webpage": null
 
}, - "id": "70xzgWe1NWbR3oK",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "a9a9f343-d1b9-4231-b736-fe8bd90ca761"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "56637107370784",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:47:25.847Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "sileidemoreirabarbosa2577.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Sileide Moreira Barbosa",
 - "phone1": null,
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Rio_Branco",
 - "updated_at": "2024-09-02T13:47:25.847Z",
 - "webpage": null
 
}, - "id": "yXaoNWKw1WGQkMP",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "8b60f673-8626-4c9d-b10a-7aee25d3983a"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "32237657668450",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:48:07.013Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "karinaalvesvasconcelos7729.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Karina Alves Vasconcelos",
 - "phone1": "4029552421421",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:48:07.013Z",
 - "webpage": null
 
}, - "id": "G1KxDWnbOW0wao8",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "5c62f6a6-9bf1-4a96-bab1-dc5b96d72299"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "52613729975276",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:49:55.534Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "pamelabragadacruz4739.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Pamela Braga da Cruz",
 - "phone1": "8501002024062",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:49:55.534Z",
 - "webpage": null
 
}, - "id": "P9nR7v29wqkjDao",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "6860d752-5120-48ba-8a42-201cb36412cf"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "53714825662384",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:51:25.581Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "pamelanunesdonascimento4389.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Pamela Nunes do Nascimento",
 - "phone1": "1262551982767",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:51:25.581Z",
 - "webpage": null
 
}, - "id": "Z0DX8vdakVpYGKk",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "5c83865f-5f8e-45ed-82db-b7022ee6d9d1"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "79212272535383",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:52:23.204Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "angelavieirabarbosa8671.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Angela Vieira Barbosa",
 - "phone1": "6975360936173",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:52:23.204Z",
 - "webpage": null
 
}, - "id": "8LJzyVDN2qX413K",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "81e1db03-58ba-4bd6-b1b2-23567863e175"
 
}, - {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "81616536362079",
 - "contact_name": null,
 - "created_at": "2024-09-02T13:53:04.088Z",
 - "deactivated_at": null,
 - "description": "Teste automatizado",
 - "email": "vilmavieiragomes4712.softruck@gmail.com",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Vilma Vieira Gomes",
 - "phone1": "9110444300862",
 - "phone2": null,
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-09-02T13:53:04.088Z",
 - "webpage": null
 
}, - "id": "5z9OjVgbkvZ1Glx",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "e7967a31-184d-4cfa-a791-b0e26135ad06"
 
} 
] 
}Creates an enterprise with its attributes and related information. Returns the newly created enterprise.
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "name": "enterprise 01",
 - "cnpj": "69927582000152",
 - "timezone": "America/Caracas",
 - "phone1": "31999999990",
 - "phone2": "31999999991",
 - "email": "example@softruck.com",
 - "contact_name": "name 01",
 - "webpage": "www.softruck.com",
 - "assistance_emergency_tel": "31999999992",
 - "theft_emergency_tel": "31999999993",
 - "fantasy_name": "name 02"
 
}, - "relationships": {
- "country": {
- "type": "country",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "assistance_emergency_tel": null,
 - "cnpj": "69927582000152",
 - "contact_name": null,
 - "created_at": "2024-10-25T18:51:40.112Z",
 - "deactivated_at": null,
 - "description": null,
 - "email": "heitor.santos@softruck.br",
 - "fantasy_name": null,
 - "last_integration_source": null,
 - "last_integration_time": null,
 - "main_client": false,
 - "name": "Heitor Teste",
 - "phone1": "231231313",
 - "phone2": "132131231",
 - "state_registration_no": null,
 - "theft_emergency_tel": null,
 - "timezone": "America/Sao_Paulo",
 - "updated_at": "2024-10-25T18:51:40.112Z",
 - "webpage": null
 
}, - "id": "mkEoeqNLrVOPDJd",
 - "relationships": {
- "country": {
- "attributes": { },
 - "id": "y58zgbW6gq7J49G",
 - "type": "country"
 
} 
}, - "type": "enterprises",
 - "uuid": "512fc80c-5061-4644-9fac-710095e45e2d"
 
} 
}Fetches detailed information about a specific country, including attributes and related entities, based on the provided country id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "name" "code" "timezone"    | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "code": "PRY",
 - "name": "Paraguay",
 - "timezone": "America/Asuncion"
 
}, - "id": "GmkEoeqNxVOPDJd",
 - "relationships": { },
 - "type": "countries"
 
} 
}Retrieves a list of countries with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "name" "code" "timezone"    | 
| search | string  <= 100 characters    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "code": "PRY",
 - "name": "Paraguay",
 - "timezone": "America/Asuncion"
 
}, - "id": "GmkEoeqNxVOPDJd",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "BRA",
 - "name": "Brazil",
 - "timezone": "America/Sao_Paulo"
 
}, - "id": "y58zgbW6gq7J49G",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "URY",
 - "name": "Uruguay",
 - "timezone": "America/Montevideo"
 
}, - "id": "EGm5Ljv3XV6RD1X",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "ARG",
 - "name": "Argentina",
 - "timezone": "America/Buenos_Aires"
 
}, - "id": "NJYnr2qy2vleR8g",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "CHL",
 - "name": "Chile",
 - "timezone": "America/Santiago"
 
}, - "id": "yx1579VRev4Oa62",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "MEX",
 - "name": "Mexico",
 - "timezone": "America/Mexico_City"
 
}, - "id": "XO4jPlVmXv36mkD",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "VEN",
 - "name": "Venezuela",
 - "timezone": "America/Caracas"
 
}, - "id": "ZO09G5q9XWjEN7g",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "COL",
 - "name": "Colombia",
 - "timezone": "America/Bogota"
 
}, - "id": "AXk8KNVJxqrwY71",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "PER",
 - "name": "Peru",
 - "timezone": "America/Lima"
 
}, - "id": "Q3rY0OvPzWlDn5P",
 - "relationships": { },
 - "type": "countries"
 
}, - {
- "attributes": {
- "code": "ECU",
 - "name": "Ecuador",
 - "timezone": "America/Guayaquil"
 
}, - "id": "7J9AkdWYrqBmn1r",
 - "relationships": { },
 - "type": "countries"
 
} 
] 
}Completes or Uncompletes service order with id provided. Return none if success
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| action | string  Enum: "complete" "uncomplete"    | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "completed_at": "2023-01-02"
 
} 
} 
}{- "data": {
- "attributes": {
- "completed_at": "2024-08-22T18:31:49.831Z"
 
}, - "id": "8LJzyVDaBWX413K",
 - "relationships": {
- "completedBy": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
} 
}Fetches detailed information about a specific service order, including attributes and related entities, based on the provided service order id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | string  Enum: "id" "token" "name" "notes" "description" "order" "due_date" "created_at" "updated_at" "deleted_at" "priority" "completed_at" "config" "completed"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
null{- "data": {
- "attributes": {
- "config": null,
 - "description": "{\"ops\":[{\"insert\":\"O Senhor pedro augusto, comprou 4 maçãs, se o jorge vendeu 7 maçãs, quantas maçãs tem o papa francisco?\\n\"}]}",
 - "due_date": "2024-08-27T17:05:24.503Z",
 - "name": null,
 - "notes": null,
 - "order": null,
 - "priority": "medium",
 - "token": "SO_GH9GMP"
 
}, - "id": "rw60BV8xXVaeZbd",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "completion": {
- "attributes": {
- "completed_by_id": "gKGpVxRPemqL6Bz"
 
}, - "id": "Q5Py4qXbJVYadng",
 - "type": "task_completion_history"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
} 
}Removes a service order. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
nullUpdates specific attributes of a service order based on the service order id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "name": "service order name",
 - "order": 1,
 - "notes": "service order notes",
 - "priority": "low",
 - "description": "some more info about the service order",
 - "due_date": "2024-12-12"
 
}, - "relationships": {
- "assignee": {
- "type": "user",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "task_parent": {
- "type": "task",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "section": {
- "type": "section",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "type": {
- "type": "type",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "expenses": [
- {
- "type": "expenses",
 - "id": "string",
 - "attributes": {
- "category": "marketing",
 - "description": "marketing expense description",
 - "amount": 20,
 - "unit_price": 100,
 - "currency": "BRL",
 - "total_price": 2000
 
} 
} 
], - "addresses": [
- {
- "type": "address",
 - "attributes": {
- "formatted_address": "Avenida Paulista, 1000, São Paulo, SP, Brasil",
 - "street": "Avenida Paulista",
 - "city": "São Paulo",
 - "region": "São Paulo",
 - "country": "Brasil",
 - "zip_code": "01310100",
 - "street_number": 1000,
 - "complement": "apt 4",
 - "region_short": "SP",
 - "country_code": "BR",
 - "description": "main address",
 - "continent_code": "SA",
 - "order": 0.1,
 - "coords": [
- null
 
] 
} 
} 
] 
} 
} 
}{- "data": {
- "attributes": {
- "config": null,
 - "description": "some more info about the service order",
 - "due_date": "2024-12-12T00:00:00.000Z",
 - "name": "service order name",
 - "notes": "service order notes",
 - "order": 1,
 - "priority": "low",
 - "token": "SO_GH9GMP"
 
}, - "id": "rw60BV8xXVaeZbd",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
} 
}Retrieves a list of service orders with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "name" "token" "section_name" "notes" "description" "priority" "order" "enterprise_id" "enterprise_name" "cnpj" "asset_id" "plate" "brand" "model" "trim" "year" "asset_type" "type_id" "type_name" "resource" "assignee_id" "assignee_name" "assignee_username" "assignee_phone" "completed_by_id" "completed_by_name" "completed_by_username" "completed_by_phone" "completed" "completed_at" "created_at" "updated_at" "due_date"    | 
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "completed": true,
 - "completed_at": "2024-08-29T12:38:44.215Z",
 - "due_date": "2024-08-27T17:05:24.503Z",
 - "name": null,
 - "order": null,
 - "priority": "medium",
 - "token": "SO_GH9GMP"
 
}, - "id": "rw60BV8xXVaeZbd",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "assignee": {
- "attributes": { },
 - "id": "Ynr2qyQYXpqleR8",
 - "type": "user"
 
}, - "completedBy": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": "2024-07-23T00:11:00.000Z",
 - "name": "name",
 - "order": null,
 - "priority": "medium",
 - "token": "SO_0YTX55"
 
}, - "id": "O09G5q9xyWjEN7g",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "assignee": {
- "attributes": { },
 - "id": "Ynr2qyQYXpqleR8",
 - "type": "user"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": null,
 - "order": null,
 - "priority": "medium",
 - "token": "SO_5KUW5Z"
 
}, - "id": "Xk8KNVJe8vrwY71",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "w60BV84opDVaeZb",
 - "type": "asset"
 
}, - "assignee": {
- "attributes": { },
 - "id": "z9OjVgDzLoWZ1Gl",
 - "type": "user"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": "name",
 - "order": null,
 - "priority": null,
 - "token": "SO_7MLEAD"
 
}, - "id": "2gKGpVxa6WL6Bz9",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": "name",
 - "order": null,
 - "priority": null,
 - "token": "SO_MW57F8"
 
}, - "id": "akQJNWkAwvgPMpn",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": "name",
 - "order": null,
 - "priority": null,
 - "token": "SO_IU7B1F"
 
}, - "id": "58zgbW697V7J49G",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": "name",
 - "order": null,
 - "priority": null,
 - "token": "SO_04T496"
 
}, - "id": "Gm5Ljv3R3q6RD1X",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": "name",
 - "order": null,
 - "priority": null,
 - "token": "SO_4VXLC5"
 
}, - "id": "JYnr2qyZ8vleR8g",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": "name",
 - "order": null,
 - "priority": null,
 - "token": "SO_JDOIFJ"
 
}, - "id": "mkEoeqN97WOPDJd",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": "2024-08-30T12:47:25.407Z",
 - "name": null,
 - "order": null,
 - "priority": "medium",
 - "token": "SO_PRNVHK"
 
}, - "id": "3rY0OvPPQvlDn5P",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "asset"
 
}, - "assignee": {
- "attributes": { },
 - "id": "Ynr2qyQYXpqleR8",
 - "type": "user"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": null,
 - "name": null,
 - "order": null,
 - "priority": null,
 - "token": "SO_2PN58P"
 
}, - "id": "8LJzyVDm5WX413K",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "completed": false,
 - "completed_at": null,
 - "due_date": "2024-09-24T14:40:53.476Z",
 - "name": null,
 - "order": null,
 - "priority": "medium",
 - "token": "SO_Y47LBM"
 
}, - "id": "3xN2ZqEN2v8DG5P",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "XaoNWKkx3pWGQkM",
 - "type": "asset"
 
}, - "assignee": {
- "attributes": { },
 - "id": "kyx2q5EGMYqdDzB",
 - "type": "user"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "zGPlrqpX1qkOM9p",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
} 
] 
}Creates service order with its attributes and related information. Returns the newly created service order.
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||
{- "data": {
- "attributes": {
- "name": "name 01",
 - "order": 1,
 - "notes": "some more information",
 - "priority": "low",
 - "description": "some more description about the service order",
 - "due_date": "2025-01-01",
 - "config": {
- "lockOnComplete": true,
 - "setFillDate": "after",
 - "deviceInteraction": false,
 - "assigneeDocumentsRestrictions": "all",
 - "assigneeAcknowledgeRestrictions": "completeCustomFields"
 
} 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "type": {
- "type": "type",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "asset": {
- "type": "asset",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "assignee": {
- "type": "user",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "task_parent": {
- "type": "task",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "section": {
- "type": "section",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "expenses": [
- {
- "type": "expenses",
 - "attributes": {
- "category": "marketing",
 - "description": "marketing expense description",
 - "amount": 20,
 - "unit_price": 100,
 - "currency": "BRL",
 - "total_price": 2000
 
} 
} 
], - "addresses": [
- {
- "type": "address",
 - "attributes": {
- "formatted_address": "Avenida Paulista, 1000, São Paulo, SP, Brasil",
 - "street": "Avenida Paulista",
 - "city": "São Paulo",
 - "region": "São Paulo",
 - "country": "Brasil",
 - "zip_code": "01310100",
 - "street_number": "1000",
 - "complement": "apt 4",
 - "region_short": "SP",
 - "country_code": "BR",
 - "description": "main address",
 - "continent_code": "SA",
 - "order": 1,
 - "coords": [
- null
 
] 
} 
} 
] 
} 
} 
}{- "data": {
- "attributes": {
- "config": null,
 - "description": null,
 - "due_date": "2024-10-31T13:52:41.335Z",
 - "name": null,
 - "notes": null,
 - "order": null,
 - "priority": "high",
 - "token": "SO_54ZMCH"
 
}, - "id": "3rY0OvP1QVlDn5P",
 - "relationships": {
- "addresses": [ ],
 - "asset": {
- "attributes": { },
 - "id": "1KxDWnaDODV0wao",
 - "type": "asset"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "rw60BV8w1vaeZbd",
 - "type": "enterprise"
 
}, - "type": {
- "attributes": { },
 - "id": "06pnDqZlpVJemxP",
 - "type": "type"
 
} 
}, - "type": "service-orders"
 
} 
}Fetches detailed information about a specific task acknowledgement, including attributes and related entities, based on the provided acknowledgment id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| acknowledgement_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "id" "acknowledger" "created_at" "acknowledged" "acknowledged_at" "should_rate" "rate" "ip" "user_agent" "geom" "location"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "acknowledged": null,
 - "acknowledged_at": null,
 - "claims": null,
 - "created_at": "2024-10-31T20:16:30.808Z",
 - "geom": null,
 - "ip": null,
 - "location": null,
 - "rate": null,
 - "should_rate": true,
 - "updated_at": "2024-10-31T20:16:30.808Z",
 - "user_agent": null
 
}, - "id": "3rY0OvP7XqlDn5P",
 - "relationships": {
- "acknowledger": {
- "attributes": { },
 - "id": "8zgbW6JMgMW7J49",
 - "type": "user"
 
}, - "requester": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "task_acknowledgements"
 
} 
}Updates specific attributes of a task acknowledgement based on the task acknowledgement id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| acknowledgement_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||
  | |||||||||||
{- "data": {
- "attributes": {
- "acknowledged": true,
 - "rate": 10,
 - "claims": [
- "claim1",
 - "claim2"
 
] 
} 
} 
}{- "data": {
- "attributes": {
- "acknowledged": true,
 - "acknowledged_at": "2024-11-01T18:24:35.574Z",
 - "claims": null,
 - "created_at": "2024-11-01T18:24:16.279Z",
 - "geom": null,
 - "ip": "91.31.5.247",
 - "location": null,
 - "rate": 5,
 - "should_rate": true,
 - "updated_at": "2024-11-01T18:24:35.576Z",
 - "user_agent": "axios/1.4.0"
 
}, - "id": "XyOrxqwXlvG7NnP",
 - "relationships": {
- "acknowledger": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "requester": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "task": {
- "attributes": { },
 - "id": "akQJNWkxmqgPMpn",
 - "type": "task"
 
} 
}, - "type": "task_acknowledgements"
 
} 
}Retrieves a list of task acknowledgements with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "id" "acknowledger" "created_at" "acknowledged" "acknowledged_at" "should_rate" "rate" "ip" "user_agent" "geom" "location"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>   >= 1    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "acknowledged": null,
 - "acknowledged_at": null,
 - "claims": null,
 - "created_at": "2024-10-31T20:16:30.808Z",
 - "geom": null,
 - "ip": null,
 - "location": null,
 - "rate": null,
 - "should_rate": true,
 - "updated_at": "2024-10-31T20:16:30.808Z",
 - "user_agent": null
 
}, - "id": "3rY0OvP7XqlDn5P",
 - "relationships": {
- "acknowledger": {
- "attributes": { },
 - "id": "8zgbW6JMgMW7J49",
 - "type": "user"
 
}, - "requester": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "task": {
- "attributes": {
- "enterprise_id": "mkEoeqNKBvOPDJd"
 
}, - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "task_acknowledgements"
 
} 
] 
}Creates a task acknowledgement with its attributes and related information. Returns the newly created service order.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||
  | |||||||
{- "data": {
- "relationships": {
- "acknowledger": {
- "type": "user",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "acknowledged": null,
 - "acknowledged_at": null,
 - "claims": null,
 - "created_at": "2024-10-31T20:16:30.808Z",
 - "geom": null,
 - "ip": null,
 - "location": null,
 - "rate": null,
 - "should_rate": true,
 - "updated_at": "2024-10-31T20:16:30.808Z",
 - "user_agent": null
 
}, - "id": "3rY0OvP7XqlDn5P",
 - "relationships": {
- "acknowledger": {
- "attributes": { },
 - "id": "8zgbW6JMgMW7J49",
 - "type": "user"
 
}, - "requester": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "user"
 
}, - "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "task_acknowledgements"
 
} 
}Removes a list of task acknowledgements. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | Array of objects   | ||||
 Array  
  | |||||
{- "data": [
- {
- "type": "task_acknowledgements",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Updates a value of a custom field based on the custom field id
| custom_field_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| task_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||
  | |||||||
{- "data": {
- "attributes": {
- "value": "nem value"
 
} 
} 
}{- "data": {
- "attributes": {
- "cluster": null,
 - "created_at": "2024-08-29T12:13:26.373Z",
 - "field_format": "checkbox",
 - "is_required": false,
 - "max_length": 50,
 - "min_length": 10,
 - "name": "name",
 - "order": -1,
 - "possible_values": [
- "Opção 3",
 - "Opção 4"
 
], - "regex": null,
 - "updated_at": "2024-11-01T17:11:07.457Z",
 - "value": "123"
 
}, - "id": "5z9OjVgjZRvZ1Gl",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
} 
}Updates specific attributes of a custom field based on the task id
| custom_field_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| task_id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||||||||||||||||
  | |||||||||||||||||||||||
{- "data": {
- "attributes": {
- "name": "name",
 - "field_format": "checkbox",
 - "regex": "^[a-zA-Z0-9]+$",
 - "min_length": "10",
 - "max_length": "50",
 - "possible_values": [
- "Opção 3",
 - "Opção 4"
 
], - "is_required": false,
 - "order": -1,
 - "cluster": "cluster 2"
 
} 
} 
}{- "data": {
- "attributes": {
- "cluster": "cluster 2",
 - "created_at": "2024-08-29T12:13:26.365Z",
 - "field_format": "checkbox",
 - "is_required": false,
 - "max_length": 50,
 - "min_length": 10,
 - "name": "name",
 - "order": -1,
 - "possible_values": [
- "Opção 3",
 - "Opção 4"
 
], - "regex": "^[a-zA-Z0-9]+$",
 - "updated_at": "2024-10-31T18:10:04.691Z",
 - "value": null
 
}, - "id": "Z0DX8vd8BYvpYGK",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
} 
}Retrieves a list of custom fields with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| task_id | string   | 
| attributes | Array of strings Items Enum: "name" "field_format" "regex" "min_length" "max_length" "possible_values" "is_required" "order" "cluster" "value" "created_at" "updated_at"    | 
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>   >= 1    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "cluster": null,
 - "created_at": "2024-08-29T12:13:26.365Z",
 - "field_format": "text",
 - "is_required": true,
 - "max_length": null,
 - "min_length": null,
 - "name": "Tarefa tipo texto",
 - "order": 500000,
 - "possible_values": [ ],
 - "regex": null,
 - "updated_at": "2024-08-29T12:13:26.365Z",
 - "value": null
 
}, - "id": "Z0DX8vd8BYvpYGK",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "cluster": null,
 - "created_at": "2024-08-29T12:13:26.371Z",
 - "field_format": "number",
 - "is_required": true,
 - "max_length": null,
 - "min_length": null,
 - "name": "Tarefa tipo number",
 - "order": 400000,
 - "possible_values": [ ],
 - "regex": null,
 - "updated_at": "2024-08-29T12:13:26.371Z",
 - "value": null
 
}, - "id": "8LJzyVDw9gvX413",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "cluster": null,
 - "created_at": "2024-08-29T12:13:26.373Z",
 - "field_format": "date",
 - "is_required": true,
 - "max_length": null,
 - "min_length": null,
 - "name": "tarefa tipo date",
 - "order": 300000,
 - "possible_values": [ ],
 - "regex": null,
 - "updated_at": "2024-08-29T12:13:26.373Z",
 - "value": null
 
}, - "id": "5z9OjVgjZRvZ1Gl",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "cluster": null,
 - "created_at": "2024-08-29T12:13:26.375Z",
 - "field_format": "enum",
 - "is_required": true,
 - "max_length": null,
 - "min_length": null,
 - "name": "tarefa tipo alternativas",
 - "order": 200000,
 - "possible_values": [
- "1",
 - "2",
 - "3",
 - "4"
 
], - "regex": null,
 - "updated_at": "2024-08-29T12:13:26.375Z",
 - "value": null
 
}, - "id": "X2rmjWG1wGvKPD5",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
}, - {
- "attributes": {
- "cluster": null,
 - "created_at": "2024-08-29T12:13:26.377Z",
 - "field_format": "checkbox",
 - "is_required": true,
 - "max_length": null,
 - "min_length": null,
 - "name": "caixa de select",
 - "order": 100000,
 - "possible_values": [
- "12",
 - "32",
 - "54",
 - "76"
 
], - "regex": null,
 - "updated_at": "2024-08-29T12:13:26.377Z",
 - "value": null
 
}, - "id": "gA35DWj4XLvE768",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
} 
] 
}Creates one or more custom fields with its attributes and related information. Returns the newly created custo field.
| task_id | string   | 
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||
 Array  
  | |||
{- "data": [
- {
- "attributes": {
- "name": "custom field name",
 - "field_format": "text",
 - "regex": "^[a-zA-Z0-9]+$",
 - "min_length": 5,
 - "max_length": 100,
 - "possible_values": [
- "Opção 1",
 - "Opção 2"
 
], - "is_required": true,
 - "order": 1,
 - "cluster": "cluster1",
 - "value": "1"
 
} 
} 
] 
}{- "data": [
- {
- "attributes": {
- "cluster": "cluster1",
 - "created_at": "2024-10-31T18:07:20.445Z",
 - "field_format": "text",
 - "is_required": true,
 - "max_length": 100,
 - "min_length": 5,
 - "name": "custom field name",
 - "order": 1,
 - "possible_values": [
- "Opção 1",
 - "Opção 2"
 
], - "regex": "^[a-zA-Z0-9]+$",
 - "updated_at": "2024-10-31T18:07:20.445Z",
 - "value": null
 
}, - "id": "O09G5q9rPAvjEN7",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "rw60BV8xXVaeZbd",
 - "type": "task"
 
} 
}, - "type": "service-orders"
 
} 
] 
}Removes a list of custom fields. This action is permanent and cannot be undone.
| task_id | string   | 
| public-key | string   Example:  {{public-key}}  | 
Array of objects   | |||||
 Array  
  | |||||
{- "data": [
- {
- "type": "task_custom_fields",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
] 
}Retrieves a list of documents with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "key_name" "name" "folder" "mime" "created_at" "updated_at" "file_size"    | 
object   | |
| limit | number <float>   <= 100    | 
| page | number <float>   >= 1    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{ }{- "data": [
- {
- "attributes": {
- "created_at": "2024-10-31T18:48:34.978Z",
 - "file_size": 42495,
 - "folder": "media-api.apiary.softruck.com/service-orders/J9AkdWYN6qBmn1r/1730400512506-Screenshot 2024-10-30 at 21.10.37.png",
 - "key_name": "1730400512506-Screenshot 2024-10-30 at 21.10.37.png",
 - "mime": "image/png",
 - "name": "Screenshot 2024-10-30 at 21.10.37.png",
 - "updated_at": "2024-10-31T18:48:34.978Z"
 
}, - "id": "yXaoNWK64VGQkMP",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "J9AkdWYN6qBmn1r",
 - "type": "task"
 
} 
}, - "type": "documents"
 
} 
] 
}Retrieves a list of devices associated with that service order, with relationships and pagination parameters for efficient data handling.
| id | string^[a-zA-Z0-9]{15}$   | 
| limit | number <float>   <= 100    | 
| page | number <float>   >= 1    | 
| count | boolean   | 
| public-key | string   Example:  {{public-key}}  | 
{ }{- "data": [
- {
- "attributes": {
- "associated": true,
 - "created_at": "2024-09-17T14:44:12.698Z",
 - "device": {
- "alias": "NT20",
 - "brand_alias": "X3-Tech",
 - "code": "ABC123",
 - "id": "0Wx9QnMREyLNRK3",
 - "imei": "357222222222222",
 - "name": "357222222222222"
 
}, - "updated_at": "2024-09-17T14:44:54.184Z"
 
}, - "id": "WY5x1QER4Zeljv3",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "9RY2PZgojJZejAx",
 - "type": "task"
 
} 
}, - "type": "task_devices"
 
}, - {
- "attributes": {
- "associated": false,
 - "created_at": "2024-09-17T18:03:27.052Z",
 - "device": {
- "alias": "nt20-cs",
 - "brand_alias": "X3-Tech",
 - "code": "ABC333",
 - "id": "ov8pZ5NDMaw93Kg",
 - "imei": "357333333333333",
 - "name": "357333333333333"
 
}, - "updated_at": "2024-09-17T18:36:17.758Z"
 
}, - "id": "DVBq6ZPvzLNp5ge",
 - "relationships": {
- "task": {
- "attributes": { },
 - "id": "9RY2PZgojJZejAx",
 - "type": "task"
 
} 
}, - "type": "task_devices"
 
} 
] 
}Fetches detailed information about a specific task section, including attributes and related entities, based on the provided task section id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "name" "order" "resource" "created_at" "updated_at" "deleted_at"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "name": "string",
 - "order": 1
 
}, - "id": "AXxdDV0QlWRgjlL",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sections"
 
} 
}Removes a task section. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
nullUpdates specific attributes of a task section based on the task section id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||
  | |||||||||
{- "data": {
- "attributes": {
- "name": "string",
 - "order": 0.1
 
} 
} 
}{- "message": "Section updated successfully"
 
}Retrieves a list of task sections with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "name" "order" "resource" "created_at" "updated_at" "deleted_at"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{ }{- "data": [
- {
- "attributes": {
- "name": "aguardando",
 - "order": null
 
}, - "id": "Z0DX8vdj8WpYGKk",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sections"
 
}, - {
- "attributes": {
- "name": "234",
 - "order": null
 
}, - "id": "5z9OjVgL0WZ1Glx",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
} 
}, - "type": "sections"
 
}, - {
- "attributes": {
- "name": "task section name",
 - "order": 1
 
}, - "id": "AXxdDV0QlWRgjlL",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sections"
 
} 
] 
}Creates a task section with its attributes and related information. Returns the newly created task section.
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||||
  | |||||||||||||||
{- "data": {
- "attributes": {
- "name": "task section name",
 - "order": 1
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "name": "task section name",
 - "order": 1
 
}, - "id": "AXxdDV0QlWRgjlL",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sections"
 
} 
}Fetches detailed information about a specific task type, including attributes and related entities, based on the provided task type id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "name" "order" "resource" "created_at" "updated_at" "deleted_at"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "name": "type name"
 
}, - "id": "06pnDqZlpVJemxP",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
} 
}, - "type": "types"
 
} 
}Removes a list of task type. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
nullUpdates specific attributes of a type based on the task type id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||
  | |||||||
{- "data": {
- "attributes": {
- "name": "type name"
 
} 
} 
}{- "data": {
- "attributes": {
- "name": "new type name"
 
}, - "id": "06pnDqZlpVJemxP",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
} 
}, - "type": "types"
 
} 
}Retrieves a list of task types with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "name" "resource" "created_at" "updated_at" "deleted_at"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{ }{- "data": [
- {
- "attributes": {
- "name": "um dois 3"
 
}, - "id": "06pnDqZlpVJemxP",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "8xaD2vrbbv49b5o",
 - "type": "enterprise"
 
} 
}, - "type": "types"
 
}, - {
- "attributes": {
- "name": "string"
 
}, - "id": "eE6P5W7brVaOj8x",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "types"
 
}, - {
- "attributes": {
- "name": "Manutenção"
 
}, - "id": "zGPlrqpX1qkOM9p",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "types"
 
} 
] 
}Creates task type with its attributes and related information. Returns the newly created service order.
| public-key | string   Example:  {{public-key}}  | 
required  | object   | ||||||||||||
  | |||||||||||||
{- "data": {
- "attributes": {
- "name": "string"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "name": "string"
 
}, - "id": "eE6P5W7brVaOj8x",
 - "relationships": {
- "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "types"
 
} 
}Activates or deactivates sharing with id provided. Return none if success
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| situation | string  Enum: "activation" "deactivation"    | 
| public-key | string   Example:  {{public-key}}  | 
Fetches detailed information about a specific sharing, including attributes and related entities, based on the provided sharing id.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| attributes | Array of strings Items Enum: "hash" "type" "valid_until" "description" "source" "resources" "tokens_generated" "deactivated_at" "created_at" "updated_at"    | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": {
- "attributes": {
- "created_at": "2024-10-30T17:44:30.220Z",
 - "deactivated_at": null,
 - "description": "some more info about the sharing!",
 - "hash": "QLOXGT8KZAXQZV9O1K1",
 - "resources": [
- "asset",
 - "chip",
 - "enterprise"
 
], - "source": null,
 - "tokens_generated": 0,
 - "type": "live-location",
 - "updated_at": "2024-10-30T17:46:05.344Z",
 - "valid_until": "2024-10-20T15:43:10.564Z"
 
}, - "id": "DJ0EpVBAMvkbX82",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "2rmjWG1O9mvKPD5",
 - "type": "asset"
 
}, - "creator": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "creator"
 
}, - "device": {
- "attributes": { },
 - "id": "A35DWjjYgKWE768",
 - "type": "device"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sharings",
 - "uuid": "ead1f906-c3f1-4853-8fb3-3fa7c6d5629e"
 
} 
}Removes a sharing. This action is permanent and cannot be undone.
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
{ }Updates specific attributes of a sharing based on the sharing id
| id | string^[a-zA-Z0-9]{15}$   Example:  mkEoeqNKBvOPDJd  | 
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||
  | |||||||||
{- "data": {
- "attributes": {
- "valid_until": "2024-12-31",
 - "description": "new description of the sharing"
 
} 
} 
}{- "data": {
- "attributes": {
- "created_at": "2024-10-30T17:44:30.220Z",
 - "deactivated_at": null,
 - "description": "some more info about the sharing!",
 - "hash": "QLOXGT8KZAXQZV9O1K1",
 - "resources": [
- "asset",
 - "chip",
 - "enterprise"
 
], - "source": null,
 - "tokens_generated": 0,
 - "type": "live-location",
 - "updated_at": "2024-10-30T17:46:05.344Z",
 - "valid_until": "2024-10-20T15:43:10.564Z"
 
}, - "id": "DJ0EpVBAMvkbX82",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "2rmjWG1O9mvKPD5",
 - "type": "asset"
 
}, - "creator": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "creator"
 
}, - "device": {
- "attributes": { },
 - "id": "A35DWjjYgKWE768",
 - "type": "device"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sharings",
 - "uuid": "ead1f906-c3f1-4853-8fb3-3fa7c6d5629e"
 
} 
}Retrieves a list of sharings with optional filters for attributes, relationships, and pagination parameters for efficient data handling.
| attributes | Array of strings Items Enum: "hash" "type" "valid_until" "description" "source" "resources" "tokens_generated" "deactivated_at" "created_at" "updated_at"    | 
object   | |
object   | |
| search | string  <= 100 characters    | 
| limit | number <float>   <= 100    | 
| page | number <float>   >= 1    | 
| count | boolean   | 
object   | 
| public-key | string   Example:  {{public-key}}  | 
{- "data": [
- {
- "attributes": {
- "created_at": "2024-10-18T18:43:12.233Z",
 - "deactivated_at": null,
 - "description": null,
 - "hash": "M4WR8S2Y0AWOVZ41V6O",
 - "resources": [
- "asset",
 - "chip",
 - "enterprise"
 
], - "source": null,
 - "tokens_generated": 2,
 - "type": "live-location",
 - "updated_at": "2024-10-18T18:44:19.615Z",
 - "valid_until": "2024-10-19T15:43:10.564Z"
 
}, - "id": "5z9OjVg1RqZ1Glx",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "2rmjWG1O9mvKPD5",
 - "type": "asset"
 
}, - "creator": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "creator"
 
}, - "device": {
- "attributes": { },
 - "id": "A35DWjjYgKWE768",
 - "type": "device"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sharings",
 - "uuid": "27a3dcfb-c183-4f7e-98ca-a3e97d194ea2"
 
} 
] 
}Creates a sharing entry with attributes and related information. Returns the newly created sharing.
| public-key | string   Example:  {{public-key}}  | 
object   | |||||||||||||||||||||
  | |||||||||||||||||||||
{- "data": {
- "attributes": {
- "type": "live-location",
 - "valid_until": "2024-12-31",
 - "resources": [
- "enterprise"
 
], - "description": "some more info about the sharing"
 
}, - "relationships": {
- "enterprise": {
- "type": "enterprise",
 - "id": "mkEoeqNKBvOPDJd"
 
}, - "device": {
- "type": "device",
 - "id": "mkEoeqNKBvOPDJd"
 
} 
} 
} 
}{- "data": {
- "attributes": {
- "created_at": "2024-10-30T17:43:39.308Z",
 - "deactivated_at": null,
 - "description": "some more info about the sharing",
 - "hash": "44QL0S4Y2TGDQMYW6ZR",
 - "resources": [
- "asset",
 - "chip",
 - "enterprise"
 
], - "source": null,
 - "tokens_generated": 0,
 - "type": "live-location",
 - "updated_at": "2024-10-30T17:43:39.308Z",
 - "valid_until": "2024-10-19T15:43:10.564Z"
 
}, - "id": "AXxdDV0MEWRgjlL",
 - "relationships": {
- "asset": {
- "attributes": { },
 - "id": "2rmjWG1O9mvKPD5",
 - "type": "asset"
 
}, - "creator": {
- "attributes": { },
 - "id": "gKGpVxRPemqL6Bz",
 - "type": "creator"
 
}, - "device": {
- "attributes": { },
 - "id": "A35DWjjYgKWE768",
 - "type": "device"
 
}, - "enterprise": {
- "attributes": { },
 - "id": "mkEoeqNKBvOPDJd",
 - "type": "enterprise"
 
} 
}, - "type": "sharings",
 - "uuid": "5913a463-a158-41fa-a315-6800d7f7d5a6"
 
} 
}Events triggered when a service order is updated or deleted
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||
{- "data": {
- "type": "TASKS.UPDATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "enterprise_id": "2mgrADZVpLyqOkG",
 - "asset_id": "2mgrADZVpLyqOkG",
 - "type_id": "2mgrADZVpLyqOkG",
 - "task_parent_id": null,
 - "token": "SO_UBGEMG",
 - "name": "Name of service order",
 - "notes": "Private notes of service order",
 - "description": "Description of service order",
 - "order": 1,
 - "due_date": "2024-02-05T19:15:54.922Z",
 - "config": {
- "lockOnComplete": true,
 - "setFillDate": "after",
 - "deviceInteraction": true,
 - "assigneeDocumentsRestrictions": "all",
 - "assigneeAcknowledgeRestrictions": "completeCustomFields"
 
}, - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a service order's provider is updated or deleted
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||
  | |||||||||||||||||||||
{- "data": {
- "type": "TASKS.ASSIGNEE_UPDATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "task_id": "2mgrADZVpLyqOkG",
 - "assignee_id": "2mgrADZVpLyqOkG",
 - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a service order's section is updated or deleted
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||
  | |||||||||||||||||||||||
{- "data": {
- "type": "TASKS.SECTION_UPDATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "task_id": "2mgrADZVpLyqOkG",
 - "section_id": "2mgrADZVpLyqOkG",
 - "user_id": "2mgrADZVpLyqOkG",
 - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a service order's custom field is updated or deleted
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||
{- "data": {
- "type": "TASKS.CUSTOM_FIELDS_UPDATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "task_id": "2mgrADZVpLyqOkG",
 - "name": "Field name",
 - "field_format": "enum",
 - "regex": "^[a-zA-Z0-9]{10}",
 - "min_length": 10,
 - "max_length": 50,
 - "possible_values": [
- "option 1",
 - "option 2"
 
], - "is_required": true,
 - "order": 1000,
 - "value": "option 1",
 - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a service order is completed or uncompleted
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||
  | |||||||||||||||||||||||
{- "data": {
- "type": "TASKS.COMPLETED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "task_id": "2mgrADZVpLyqOkG",
 - "completed_by_id": "2mgrADZVpLyqOkG",
 - "completed_at": "2024-02-05T19:15:54.922Z",
 - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a service order is acknowledged
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "type": "TASKS.ACKNOWLEDGEMENT_UPDATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "task_id": "2mgrADZVpLyqOkG",
 - "acknowledger_id": "2mgrADZVpLyqOkG",
 - "request_id": "2mgrADZVpLyqOkG",
 - "acknowledged": true,
 - "acknowledged_at": "2024-02-05T19:15:54.922Z",
 - "should_rate": true,
 - "rate": 5,
 - "claims": [
- "good service",
 - "punctuality"
 
], - "ip": "200.100.23.01",
 - "user_agent": "App",
 - "geom": [
- -18.2,
 - -43.1
 
], - "location": {
- "formatted_address": "Rua sergipe, 1492, Savassi, Belo Horizonte",
 - "coords": [
- -18.2,
 - -43.1
 
] 
}, - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a device is associated to a vehicle
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||
{- "data": {
- "type": "DEVICES.ASSOCIATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "uuid": "42db347c-dde3-4477-b128-2011fd1519fc",
 - "device_id": "2mgrADZVpLyqOkG",
 - "asset_id": "2mgrADZVpLyqOkG",
 - "enterprise_id": "2mgrADZVpLyqOkG",
 - "is_main_device": true,
 - "input_profile": { },
 - "output_profile": { },
 - "behavior_config_id": "2mgrADZVpLyqOkG",
 - "snoozed_until": "2024-02-05T19:15:54.922Z",
 - "snoozed_tags": [
- "battery",
 - "power"
 
], - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}Events triggered when a vehicle is created or deleted
The payload event sent to the url registered on webhook
object   | |||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||
{- "data": {
- "type": "VEHICLES.CREATED",
 - "platform": "WEBHOOK",
 - "params": {
- "id": "2mgrADZVpLyqOkG",
 - "label": "ABC1010",
 - "code": "",
 - "vin": "3FA6P0K99FR220083",
 - "type_id": "2mgrADZVpLyqOkG",
 - "enterprise_id": "2mgrADZVpLyqOkG",
 - "created_at": "2024-02-05T19:15:54.922Z",
 - "updated_at": "2024-02-05T19:15:54.922Z",
 - "deleted_at": null
 
} 
} 
}