POST /rest/v2.0/companies/{company_id}/telematics/stats
Api allow to post telematic diagnostic data
Servers
- https://api.procore.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
company_id |
String | Yes |
The ID of the company. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Procore-Company-Id |
Integer | Yes |
Unique company identifier associated with the Procore User Account. |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
location |
Object | No | |
location.longitude |
Number | No |
Longitude |
location.altitude |
Number | No |
Altitude |
location.properties[] |
Array | No |
Properties are key value pair which is used to capture any additional information |
location.properties[].key |
String | No | |
location.properties[].value |
String | No | |
location.datetime |
String | No |
location date- time (ISO 8601 format) |
location.latitude |
Number | No |
Latitude |
location.altitude_unit |
String | No |
Altitude unit |
header |
Object | No | |
header.resource_type |
String | No |
Resource type against which you want to send data (equipment/labour/material) in Procore. Default value is equipment Valid values:
|
header.resource_id |
String | No |
Unique identifier assigned to resources (equipment/labour/material) in Procore. This field is optional if oem_id is provided. |
header.oem_id |
String | No |
Unique equipment identifier can be VIN, Serial#. This field is optional if target_id is provided. |
header.pin |
String | No |
OEM ISO Number, can be same as oem_id as per AEMP 2.0 standard. |
header.model |
String | No |
Equipment Model |
header.oem_name |
String | No |
Equipment Make |
diagnostics[] |
Array | No | |
diagnostics[].name |
String | No |
diagnostic name |
diagnostics[].key |
String | No |
diagnostic key |
diagnostics[].properties[] |
Array | No |
Properties are key value pair which is used to capture any additional information |
diagnostics[].properties[].key |
String | No | |
diagnostics[].properties[].value |
String | No | |
diagnostics[].datetime |
String | No |
diagnostic time (ISO 8601 format) |
diagnostics[].value |
String | No |
location coordinates format (longitude, latitude) |
diagnostics[].unit |
String | No |
Units are acceptable as per AEMP 2.0(ISO 15143-3 standard) |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.