Json
Push json data to Validere using the API.
Register JSON Data
Registers new data for the specified dataset and schema.
Registers new JSON data for the specified dataset.
The JSON request body must include the following fields:
client_id
(UUID) - client making the requestdataset_id
(UUID) - dataset uuid for which the payload is being ingested for.data
(List[object]) - data to ingest into the data platform
Authorizations
Body
client_idstring · uuidRequired
dataset_idstring · uuidRequired
dataobject[]Required
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /data/json HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 329
{
"client_id": "ffaaee85-3665-464b-a0a5-979cf3a46bcc",
"dataset_id": "9142d109-d86e-4820-bc72-da6b5b0c61d0",
"data": [
{
"RecordDatetimeUTC": "2022-10-21T04:08:52.102Z",
"Tag": "Tank_A/Type_1_Tanks/Pressure/PVPct",
"Value": 23.0192
},
{
"RecordDatetimeUTC": "2022-10-21T04:08:55.102Z",
"Tag": "Tank_A/Type_1_Tanks/Pressure/PVPct",
"Value": 22.9441
}
]
}
{
"meta": {
"type": "JSONData",
"transaction_id": "8372d109-d86e-4820-bc72-da6b5b0c61d0",
"total": 2
},
"data": [
{
"RecordDatetimeUTC": "2022-10-21T04:08:52.102Z",
"Tag": "Tank_A/Type_1_Tanks/Pressure/PVPct",
"Value": 23.0192
},
{
"RecordDatetimeUTC": "2022-10-21T04:08:55.102Z",
"Tag": "Tank_A/Type_1_Tanks/Pressure/PVPct",
"Value": 22.9441
}
]
}
Last updated