List Slots
List all Slots of Hire Group Campaign.
Request
GET https://ttv.microworkers.com/api/v2/hire-group-campaigns/{campaignId}/slots
Parameters
Path Parameter |
||
---|---|---|
Name |
Type |
Description |
campaignId |
string |
The ID of Campaign. |
Query Parameters |
||
---|---|---|
Name |
Type |
Description |
pageSize |
integer |
The maximum number of Slots to include in the response, used for paging. Default: |
sort |
string |
Results may be sorted by: |
nextPageToken |
string |
The pagination token used to get the next page of results, set this parameter to the value of “nextPageToken” from the previous response. |
status |
string |
Slot’s status. |
workerId |
string |
The ID of Worker. |
createdAfter |
datetime |
Date time after which Slots were created. Format: |
Response
Response HTTP Codes
Http Code |
Response Type |
Description |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
|
403 |
Access denied |
|
404 |
Not found |
Response Body
{
"items": [
{
"employerComment": string,
"workerEarned": integer,
"bonusWorkerEarned": integer,
"country": string,
"countryCode": string,
"ipAddress": string,
"createdAt": string,
"tasksAnswers": [
{
"successRate": integer,
"taskId": string,
"questionsAnswers": [
{
"questionId": string,
"rate": integer,
"question": string,
"answer": string
}
]
}
],
"id": string,
"status": string,
"allocatedTime": datetime,
"finishedTime": datetime,
"workerId": string,
"tasksGroupId": string,
"lockedUntilTime": datetime,
"fileProofs": [
string
],
"published": boolean,
"estimateCost": float
}
],
"perPage": integer,
"nextPageToken": string
}
SlotListResponse
Property |
Type |
Description |
---|---|---|
items |
array[SlotInformationResponse] |
List of Slots. |
nextPageToken |
string |
The pagination token of next page of results. |
perPage |
integer |
The number of items per page. |