This API is used to send an email to a labeling team member.
POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/notify
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
dataset_id |
Yes |
String |
Dataset ID. |
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
workforce_task_id |
Yes |
String |
ID of a team labeling task. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
emails |
Yes |
Array of strings |
Email list of a labeling team member. |
Status code: 200
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
results |
Array of BatchResponse objects |
Result of sending an email to a labeling team member. |
success |
Boolean |
Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed. |
Sending an Email to a Labeling Team Member
{ "emails" : [ "xxx@xxx.com", "xxx@xxx.com" ] }
Status code: 200
OK
{ "success" : true }
Status Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
See Error Codes.