Get

Gets information about Basic Campaign Task.

Request

GET https://ttv.microworkers.com/api/v2/basic-campaigns/{campaignId}/tasks/{taskId}

Parameters

Path Parameter

Name

Type

Description

campaignId

string

The ID of Campaign.

taskId

string

The ID of Task.

Response

Response HTTP Codes

Http Code

Response Type

Description

200

TaskInformationResponse

OK

401

Unauthorized

403

Access denied

404

Not found

Response Body

{
  "id": string,
  "data": [
    {
      "key": string,
      "value": string
    }
  ],
  "testCases": [
    {
      "questionId": string,
      "answers": [
        string
      ]
    }
  ],
  "published": boolean
}

TaskInformationResponse

Property

Type

Description

id

string

The ID of Task.

data

array[KeyValueResponse]

Task details.

testCases

array[QuestionsAnswerResponse]

Test case details.

published

boolean

Task is loaded/published.

KeyValueResponse

Property

Type

Description

key

string

Key

value

string

Value

QuestionsAnswerResponse

Property

Type

Description

questionId

string

Question ID.

answers

array[string]

List of expected Answers to the Question.