curl --request POST \
--url https://developer.synq.io/api/datawarehouse/v1/connection/{connectionId}/upload/{upload_id}/task-results \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"connectionId": "<string>",
"taskId": "<string>",
"stateAt": "2023-11-07T05:31:56Z",
"taskData": {
"fetchSegmentsResult": {
"rows": [
{
"segment": "<string>",
"count": "<string>"
}
]
},
"fetchMetricsResult": {
"queryRows": [
{
"rows": [
{
"segment": "<string>",
"columnValues": [
{
"name": "<string>",
"isNull": true,
"doubleValue": 123,
"intValue": "<string>",
"timeValue": "2023-11-07T05:31:56Z"
}
]
}
],
"queryId": "<string>"
}
],
"commandContext": "<string>"
}
}
}'
{}
curl --request POST \
--url https://developer.synq.io/api/datawarehouse/v1/connection/{connectionId}/upload/{upload_id}/task-results \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"connectionId": "<string>",
"taskId": "<string>",
"stateAt": "2023-11-07T05:31:56Z",
"taskData": {
"fetchSegmentsResult": {
"rows": [
{
"segment": "<string>",
"count": "<string>"
}
]
},
"fetchMetricsResult": {
"queryRows": [
{
"rows": [
{
"segment": "<string>",
"columnValues": [
{
"name": "<string>",
"isNull": true,
"doubleValue": 123,
"intValue": "<string>",
"timeValue": "2023-11-07T05:31:56Z"
}
]
}
],
"queryId": "<string>"
}
],
"commandContext": "<string>"
}
}
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.