Update email
Updates an email message
Request | |
---|---|
Method | PUT |
Resource | https://[customer].asp.virtual-call-center.eu/v2/projects/[projectid]/email/[emailid] |
Options | /N/A |
Body | Customized data, encoded in JSON. |
Response | |
Body | States whether there were any errors or not |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
projectid | integer | yes | Project unique identifier |
emailid | integer | yes | Email unique identifier |
Request object
Name | Type | Comment |
---|---|---|
—- | —- | —- |
queueId | integer | Queue unique identifier. |
projectId | integer | Project unique identifier. |
subject | string | The subject of the email |
body | string | The body of the email |
from | string | The sender of the email |
Response
Response object
Name | Type | Comment |
---|---|---|
response | boolean | |
errors | object |
Example
Move an email to a different project
Request
{
"projectId": 10
}
Response body
{
"response": true,
"errors": []
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.