NotifyWorkers
Description
The NotifyWorkers
operation sends an email to one or more Workers that you specify with the Worker ID. You can specify up to 100 Worker IDs to send the same message with a single call to the NotifyWorkers operation. The NotifyWorkers operation will send a notification email to a Worker only if you have previously approved or rejected work from the Worker.
Request Syntax
{ "Subject":
String
, "MessageText":String
, "WorkerIds":Array of Strings
}
Request Parameters
The request accepts the following data in JSON format:
Name | Description | Required |
---|---|---|
|
The subject line of the email message to send. Can include up to 200 characters. Type: String |
Yes |
|
The text of the email message to send. Can include up to 4,096 characters. Type: String |
Yes |
|
An array of WorkerIds to notify. You can notify upto 100 Workers at a time. Type: Array of Strings |
Yes |
Response Elements
A successful request for the NotifyWorkers
operation returns with no errors and an empty body.