Assets data ingest
POST/v1/assets/ingestions
This API request can be used to ingest assets data into the Trackunit platform. Data can be provided as Machine Insights, Locations, Advanced Sensors or Fault Codes.
The endpoint supports GZIP compression. To send compressed data, include the
Content-Encoding: gzip header with your request.
Request
Responses
- 202
- 207
- 400
- 401
- 403
- 404
- 413
- 429
- 500
All Assets datapoints were accepted for processing.
Assets datapoints were partially accepted for processing.
No datapoint was accepted. A request that cannot be read, or has no assetData, is answered with a ConstraintViolationError. A readable request in which every datapoint is rejected is answered with an AssetsIngestionResponse with code BAD_REQUEST, listing the violations.
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
The request holds more datapoints than a single request allows, summed across all assets in the request. Every datapoint sent counts, including the ones validation rejects.
Rate limit exceeded. The account sent too many requests per minute, or too many datapoints per minute across its asset ingestion requests. Every datapoint sent counts, including the ones validation rejects. The response body and the Retry-After header are sent only when the datapoints per minute limit is exceeded.
Response Headers
Seconds to wait before retrying.
Internal server error