API documentation
Account
Basic Campaigns
- GET
- /campaign_b/get_task_info/
- /campaign_b/list_tasks/
- /campaigns_b/list
- /campaigns_b/list_extend
- /campaign_b/list_tasks_extend/
- /campaign_b/get_status/
- /campaign_b/get_info/
- /campaign_b/download_file_proof/
- /campaign_b/zones_list/
- /campaign_b/categories_list/
- /campaign_b/get_worker_tasks/
- /campaign_b/results_csv/
- POST, PUT
- /campaign_b/set_speed/
- /campaign_b/new_campaign
- /campaign_b/stop/
- /campaign_b/pause/
- /campaign_b/resume/
- /campaign_b/rate_task/
- /campaign_b/rate_tasks/
- /campaign_b/add_positions/
- /campaign_b/submit_proof/
- /campaign_b/submit_file_proof/
- /campaign_b/retarget/
- /campaign_b/restart_campaign/
- /campaign_b/toggle_qt_required/
HG Campaigns
- GET
- /campaign_hg/get_task_info/
- /campaign_hg/list_tasks/
- /campaign_hg/list_tasks_extend/
- /campaigns_hg/list
- /campaigns_hg/list_extend
- /campaign_hg/get_status/
- /campaign_hg/get_info/
- /campaign_hg/categories_list/
- /campaign_hg/groups_list/
- /campaign_hg/download_file_proof/
- /campaign_hg/get_worker_tasks/
- /campaign_hg/results_csv/
- POST, PUT
- /campaign_hg/new_campaign
- /campaign_hg/stop/
- /campaign_hg/pause/
- /campaign_hg/resume/
- /campaign_hg/rate_task/
- /campaign_hg/rate_tasks/
- /campaign_hg/add_positions/
- /campaign_hg/submit_proof/
- /campaign_hg/submit_file_proof/
- /campaign_hg/lock_task/
- /campaign_hg/change_group/
- /campaign_hg/restart_campaign/
- /campaign_hg/toggle_qt_required/
Employer
- GET
- /employer/exclude_list
- POST
- /employer/exclude_list
- DELETE
- /employer/exclude_list
Worker
Messages
/campaigns_hg/list_extend GET
Returns list of all Campaigns owned by this Employer.
Parameters:
(Optional) Campaign Status
Example values: [BLOCKED|PENDING_REVIEW|PENDING_RESTART| PAUSED|PAUSED_ADMIN|RUNNING|PAUSED_SYSTEM|FINISHED]
(Optional) Folder
Example values: [DEFAULT|ARCHIVE]
(Optional) Created from datetime
Example value: 2014-12-02 00:00:00
(Optional) Created to datetime
Example value: 2014-12-31 23:59:59
(Optional) Restarted from datetime
Example value: 2014-12-02 00:00:00
(Optional) Restarted to datetime
Example value: 2014-12-31 23:59:59
(Optional) Finished from datetime
Example value: 2014-12-02 00:00:00
(Optional) Finished to datetime
Example value: 2014-12-31 23:59:59
Return values:
status=SUCCESS, count=[nr of campaigns], campaigns=[array of array]
status=ERROR, error=[error message*], errors_list=[input data errors list**]
*[NO CAMPAIGNS|INPUT_DATA]
**[Status has invalid value|Folder has invalid value|Created From is invalid datetime|Created To is invalid datetime|Restarted From is invalid datetime|Restarted To is invalid datetime|Finished From is invalid datetime|Finished To is invalid datetime]
Code:
cURL:
PHP:
Perl:
Python:
C#:
Examples:
Output (Success):
https://api.microworkers.com/campaigns_hg/list_extend
{
"status": "SUCCESS",
"campaigns": [
{
"available_positions": "10",
"campaign_id": "313687d35d31",
"campaign_status": "RUNNING",
"title": "My Test Campaign",
"created_datetime9": "2014-11-24 10:56:57",
"group_of_workers_id": "18f4ef1cfd73",
"group_of_workers_name": "MW: International Workers",
"max_pos_per_worker": "1",
"payment_per_task": "0.05000",
"qt_required": true,
"status": "SUCCESS",
"tasks_nok": "0",
"tasks_not_rated": "1",
"tasks_not_reviewed": "0",
"tasks_ok": "0"
},
{
"available_positions": "10",
"campaign_id": "448dfd4ab353",
"campaign_status": "RUNNING",
"title": "Google Search",
"created_datetime9": "2014-11-24 10:58:21",
"group_of_workers_id": "18f4ef1cfd73",
"group_of_workers_name": "MW: International Workers",
"max_pos_per_worker": "1",
"payment_per_task": "0.06000",
"qt_required": false,
"status": "SUCCESS",
"tasks_nok": "0",
"tasks_not_rated": "1",
"tasks_not_reviewed": "0",
"tasks_ok": "0"
},
{
"available_positions": "10",
"campaign_id": "f8db2c98aca2",
"campaign_status": "BLOCKED",
"title": "Data Entry",
"created_datetime9": "2014-11-21 11:34:49",
"group_of_workers_id": "18f4ef1cfd73",
"group_of_workers_name": "MW: International Workers",
"max_pos_per_worker": "1",
"payment_per_task": "0.05000",
"qt_required": true,
"status": "SUCCESS",
"tasks_nok": "0",
"tasks_not_rated": "0",
"tasks_not_reviewed": "0",
"tasks_ok": "1"
}],
"count": 3
}
Output (Error):
https://api.microworkers.com/campaigns_hg/list_extend
{
"status": "ERROR",
"error": "NO CAMPAIGNS"
}