Get

Gets information about Hire Group Campaign’s Task.

Request

GET https://ttv.microworkers.com/api/v2/hire-group-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 The ID of Question.
answers array[string] List of expected Answers to the Question.