POST
/
api
/
datawarehouse
/
v1
/
connection
/
{connection_id}
/
upload
/
{upload_id}
/
task-results
IngestTaskResults
curl --request POST \
  --url https://developer.synq.io/api/datawarehouse/v1/connection/{connection_id}/upload/{upload_id}/task-results \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "stateAt": "1s",
  "taskData": {
    "fetchMetricsResult": {
      "queryRows": [
        {
          "rows": [
            {
              "segment": "<string>",
              "columnValues": [
                {
                  "doubleValue": 123,
                  "name": "<string>",
                  "isNull": true
                }
              ]
            }
          ],
          "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

connection_id
string
required

Body

application/json

Response

200
application/json

Success

The response is of type object.