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. |
isSpam | integer | Spam detected. 0=false |
language | string | The language of the email, if the functionality to detect is enabled. |
ticketId | integer | Ticket unique identifier. |
entityId | integer | Default value: 0 |
contactId | integer | Contact unique identifier. |
replyTo | string | The Email ID to which this email was a reply. |
inReplyTo | string | The Email address to which this email was a reply. |
replyEmailId | integer | The Email ID of the reply. |
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.