JobRequest - Full Example
JobRequest - Full Example
default=NORMAL
curl -i -X POST \
-u <username>:<password> \
https://developers.retarus.com/_mock/tem/m4a-api/jobs \
-H 'Content-Type: application/json' \
-d '{
"subject": {
"content": "minimal subject"
},
"recipients": [
{
"mail": {
"to": [
{
"email": "test-01@null.dev.retloc"
}
]
}
}
],
"mail": {
"from": {
"email": "test@bot.com"
}
}
}'
{ "meta": { "jobId": "22579950-b1cb-4ad8-be2b-715d63a06fcd", "state": { … } }, "content": { "recipients": [ … ] } }