List Sub-Categories
List all Sub-Categories in Category.
Request
GET https://ttv.microworkers.com/api/v2/basic-categories/{id}/sub-categories
Parameters
Path Parameter |
||
---|---|---|
Name |
Type |
Description |
id |
string |
The ID of Category. |
Query Parameters |
||
---|---|---|
Name |
Type |
Description |
pageSize |
integer |
The maximum number of sub-categories 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. |
Response
Response HTTP Codes
Http Code |
Response Type |
Description |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
|
404 |
Not found |
Response Body
{
"items": [
{
"id": string,
"title": string,
"minimumPrices": [
{
"paymentPerTask": float,
"geoZoneId": string
}
]
}
],
"perPage": integer,
"nextPageToken": string
}
BasicSubCategoryListResponse
Property |
Type |
Description |
---|---|---|
items |
array[BasicSubCategoryItemResponse] |
List of sub-categories. |
nextPageToken |
string |
The pagination token of next page of results. |
perPage |
integer |
The number of items per page. |
BasicSubCategoryItemResponse
Property |
Type |
Description |
---|---|---|
id |
string |
The ID of Sub-Category. |
title |
string |
The title of Sub-Category. |
minimumPrices |
array[MinimumPricePerTaskResponse] |
List of minimum prices per position for each Geo Zone. |
MinimumPricePerTaskResponse
Property |
Type |
Description |
---|---|---|
paymentPerTask |
float |
Minimum price per position. |
geoZoneId |
string |
The ID of Geo Zone. |