POST
/
api
/
datawarehouse
/
v1
/
connection
/
{connectionId}
/
upload
/
{upload_id}
/
task-results
cURL
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>"
    }
  }
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connectionId
string
required
upload_id
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.