The changetopic API is used to change topic of an interaction.
UI Reference: The API is called when the ''Change topic'' button is clicked on the my manage messages/my message inbox page.
URI: webapp-api-mq-myqueue?api=changetopic
Name |
Type |
Description |
---|---|---|
interactionIDs |
Array |
This parameter represents the Id of interaction. |
answer |
Object |
Object with all the response mail details. |
answer[].inResponseToID |
String |
This response is going to be sent on this Interaction id. |
answer[].subject |
String |
This parameter has the subject of response. |
answer[].segmentID |
String |
This has the value of the segment id in which interaction belongs to. |
answer[].topicID |
String |
This has the value of topic id in which interaction belongs to. |
answer[].addSubjectRefNum |
Boolean |
Represent that add reference number in subject or not. |
answer[].forwardSegmentID |
String |
This represents the ID of the segment to whom interaction was forwarded. |
answer[].contactID |
String |
This is the ID of the customer. |
answer[].isMassUpdate |
Boolean |
This represents whether this interaction can be used for mass update or not. |
answer[].caseProperties |
string |
This parameter has all case properties and their values if case property values are set in interaction. |
answer[].interactionProperties |
Number |
This parameter has all properties and their values if property value set in interaction. |
answer[].responseProperties |
Number |
This parameter has all properties and their values if property value is set in response. |
answer[].leaveOpen |
Number |
This represents whether to leave open the interaction or remove from the list after success. |
answer[].expectReply |
Number |
Expecting reply on this mail or not |
answer[].supressSubjectRef |
Number |
This represents whether to suppress the reference number from subject or not. |
answer[].notificationID |
Number |
This is the notification or auto response ID. |
answer[].bodyHtml |
String |
Body contents of response with html format. |
answer[].removedInlineAttachments |
Array |
|
answer[].mailboxID |
String |
This is the mailbox ID of the interaction/answer. |
answer[].note |
String |
This represents the private comments of the interaction. |
answer[].attachments |
Array |
This represents the attachments attached to the interaction. |
answer[].destEmail |
String |
Email address of destination. |
answer[].finalHtml |
Number |
This is the final HTML body if the interaction. |
answer[].finalPlain |
Number |
This is the final plain body of the interaction. |
answer[].defaultMailBoxID |
String |
This parameter represents whether the note is a public note or not. |
answer[].isPublic |
Boolean |
This displays if an answer to an interaction is public or not. |
answer[].threadProperties |
Array |
This parameter has all thread properties and their values if thread property values are set in interaction. |
answer[].threadProperties[].propertyID |
String |
This parameter has all property id if property value is set in interaction. |
answer[].threadProperties[].propertyName |
String |
This parameter has all property names if property value is set in interaction. |
answer[].threadProperties[].values |
Array |
This parameter has all property values if property value is set in interaction. |
answer[].threadProperties[].values[].value |
String |
This shows the priority detail of the user. I.e Platinum or Gold etc |
answer[].changeTopicID |
String |
This parameter represents topic id when changing to another topic. |
interactionID |
String |
This parameter represents interaction id. |
_pageAction |
String |
This parameter represents the action name which is performed from the page. |
_pageName |
String |
This parameter represents the page name. |
{ |
Name |
Type |
Description |
---|---|---|
errors |
Array |
This parameter represents the list of errors. |
errorDetails |
Array |
This parameter represents the list of error details. |
numCanGet |
Integer |
It returns the total count/number of get next button. |
numCanApprove |
Integer |
It returns the total count/number of get next QA button. |
row |
Object |
Object with row and their details. |
row[].id |
String |
This is Interaction id. |
row[].date |
String |
This returns the date of interaction. |
row[].subject |
String |
This returns the subject of interaction. |
row[].type |
String |
This returns the type of interaction. |
row[].tags |
Array |
Tags are used to label interactions for special display. For example, open quote tickets contain a tag to mark for display in the open Quotes pages. |
row[].assignedToID |
String |
This has an id of an agent who has been assigned to this interaction. |
row[].status |
String |
This is the status of interaction. |
row[].topicID |
String |
This has the value of topic id in which interaction belongs to. |
row[].topicName |
String |
This has the value of the topic name in which interaction belongs to. |
row[].segmentID |
String |
This has the value of the segment id in which interaction belongs to. |
row[].properties |
Array |
This returns all properties and their values if property value set in interaction.see property values. |
details |
Object |
|
details[].id |
String |
This is Interaction id. |
details[].type |
String |
This returns the type of interaction. |
details[].tags |
Array |
Tags are used to label interactions for special display. For example, open quote tickets contain a tag to mark for display in the open Quotes pages. |
details[].status |
String |
This is the status of interaction. |
details[].threadID |
String |
This is the ID of the interaction. |
details[].threadType |
String |
This is the type of the interaction. |
details[].caseProperties |
Array |
This represents a list of case properties. |
details[].caseProperties[].name |
String |
Property name. |
details[].caseProperteis[].properties |
Array |
Property details. |
details[].caseProperties[].logins |
Number |
This property has a list of objects with login details including name and type of property value. |
details[].caseProperties[].canModifyLogins |
Boolean |
This property represents rights of modification in logins. |
details[].subject |
String |
This represents the subject of the email. |
details[].subjectBare |
String |
This is the subject of the interaction without reference number. |
details[].date |
String |
This returns the date of interaction. |
details[].dateResolved |
String |
This returns the resolve date of interaction. |
details[].questionHtml |
String |
This returns a question which has been mentioned in mail. |
details[].attachments |
Array |
This has all the attachments which are added in interaction. |
details[].interactionProperties |
Array |
This returns all properties and their values if property value set in interaction. |
details[].customerID |
String |
This returns the id of the customer. |
details[].customerName |
String |
This returns the name of the customer. |
details[].statusAudit |
Array |
This is the statuses change log. |
details[].statusAudit[].timeStamp |
String |
This represents the time stamp of the status modified. |
details[].statusAudit[].date |
String |
This represents the date of the status modified. |
details[].statusAudit[].action |
String |
This is the action name when status modified. |
details[].statusAudit[].modifierID |
String |
This is the user ID by whom interaction modified. |
details[].statusAudit[].modifierName |
String |
This is the user name by whom interaction modified. |
details[].statusAudit[].topicID |
String |
This is the topic ID of the interaction. |
details[].statusAudit[].topicName |
String |
This is the topic name of the interaction. |
details[].statusAudit[].assignedToID |
Number |
This is the user ID to whom interaction was assigned. |
details[].statusAudit[].assignedToName |
Number |
This is the user name to whom interaction was assigned. |
details[].statusAudit[].statusID |
String |
This is the status ID of the interaction. |
details[].statusAudit[].statusName |
String |
This is the status name of the interaction. |
details[].customerAddresses |
Array |
This returns all the email addresses of the customer. |
details[].customerLogins |
Array |
This returns all the logins of the customer. |
details[].fromAddress |
String |
Email address who has initiated the interaction. |
details[].composerAddress |
String |
This is the email address of the composer. |
details[].reCC |
String |
This is the CC email address to reply. |
details[].topicID |
String |
This has the value of topic id in which interaction belongs to. |
details[].topicName |
String |
This has the value of the topic name in which interaction belongs to. |
details[].segmentID |
String |
This has the value of the segment id in which interaction belongs to |
details[].segmentName |
String |
This has the value of the segment name in which interaction belongs to |
details[].responseID |
String |
This is the ID of the response. |
details[].subjectRef |
String |
This is the subject reference value with interaction id. |
details[].responseSubject |
String |
This is the subject of the response. |
details[].responseHtml |
String |
This is the HTML body of the response. |
details[].note |
String |
This is the private comment of the interaction. |
details[].responseProperties |
Array |
This represents the interaction properties of the response. |
details[].responseAttachments |
Array |
This represents the attachments attached to the response. |
details[].assignedToID |
String |
This is the id of the agent if the message is assigned to any agent. |
details[].assignedToName |
String |
This is the full name of the agent if the message is assigned to any agent. |
details[].resolvedByName |
String |
This is the name of the agent if the message is resolved by any agent. |
details[].toAddress |
String |
This is the customer email address. |
details[].headerFrom |
String |
This is the email address of the customer who sent this message. |
details[].headerTo |
String |
This is the email address of the person to whom the E-mail is being sent. |
details[].cc |
String |
This is the email address of cc if added in the message. |
details[].bcc |
String |
This is the email address of bcc if added in the message. |
details[].bodyPlain |
String |
This is body content of message without html format |
details[].defaultMailboxID |
String |
This is the default mailbox ID of the segment associated with the interaction. |
details[].responseFinalHtml |
String |
This represents the final HTML body of the response. |
details[].responseFinalPlain |
String |
This represents the final plain body of the response. |
response |
Object |
This returns a question's row and details data. |
response[].row |
Object |
This has all details of the row. |
response[].row[].id |
String |
This is Interaction id. |
response[].row[].id |
String |
This returns the date of interaction. |
response[].row[].subject |
String |
This returns the subject of interaction. |
response[].row[].type |
String |
This returns the type of interaction. |
response[].row[].tags |
Array |
Tags are used to label interactions for special display. For example, open quote tickets contain a tag to mark for display in the open Quotes pages. |
response[].row[].assgnedToID |
String |
This has an id of an agent who has been assigned to this interaction. |
response[].row[].status |
String |
This is the status of interaction. |
response[].row[].topicID |
String |
This has the value of topic id in which interaction belongs to. |
response[].row[].topicName |
String |
This has the value of the topic name in which interaction belongs to. |
response[].row[].segmentID |
String |
This has the value of the segment id in which interaction belongs to. |
response[].row[].properties |
Array |
This returns all properties and their values if property value set in interaction.see Property Values. |
response[].details |
Object |
This object represents the details of the response |
response[].details[].date |
String |
This returns the date of interaction. |
response[].details[].type |
String |
This returns the type of interaction. |
response[].details[].tags |
Array |
Tags are used to label interactions for special display. For example, open quote tickets contain a tag to mark for display in the open Quotes pages. |
response[].details[].subject |
String |
This returns the subject of interaction. |
response[].details[].subjectBare |
String |
This represents the subject of the interaction with reference number. |
response[].details[].status |
String |
This is the status question. |
response[].details[].bodyPlain |
String |
This represents the plain body of the interaction. |
response[].details[].bodyHtml |
String |
This has body contents of interaction with html format. |
response[].details[].note |
String |
This represents the private comments the of the interaction. |
response[].details[].interactionProperteis |
Array |
This returns all properties and their values if property value set in interaction. |
response[].details[].caseProperteis |
Array |
This returns all case properties and their values if case property values are set in interaction. |
response[].details[].attachments |
Array |
This represents the attachments attached to the response/interaction. |
response[].details[].statusAudit |
Array |
List of status changes log. |
response[].details[].segmnetID |
String |
This has the value of the segment id in which the question belongs to. |
response[].details[].segmentName |
String |
This has the value of the segment name in which the question belongs to. |
response[].details[].topicID |
String |
This has the value of topic id in which the question belongs to. |
response[].details[].topicName |
String |
This has the value of the topic name in which the question belongs to. |
response[].details[].assignedToID |
String |
This represents the user ID to whom this interaction was assigned. |
response[].details[].operatorName |
String |
This has an agent name who has been assigned for the question. |
{ |