Please enable JavaScript to view this site.

iService API Documentation

Navigation: iService API Forms > My Work Queue

Approving answers by managers (api=getapprove)

Scroll Prev Top Next More

Purpose

 

The getapprove  API is used to approving the answers of the questions asked by customers.

 

UI Reference: The API is called when the ''Submit'' button is clicked on the my message inbox page.

 

URI: webapp-api-mq-myqueue?api=getapprove

 

 

 

Request

 

 

Request Parameters

Name

Type

Description

__TZO__

String

This shows Time Zone Offset.

__pageAction

String

This parameter represents the action name which is performed from the page.

__pageName

String

This parameter represents the page name.

 

 

Request Payload Example

{
   "__TZO__":"+05:30",
   "_pageAction":"MyQueueGetApprove",
   "_pageName":"admin"
}

 

 

Response

 

 

Response Parameters

Name

Type

Description

id

String


details

Object

This returns all details of the object of interaction.

details[].id

String

This returns the id of interaction.

details[].threadID

String


details[].customerID

String

This returns the id of the customer.

details[].customerName

String

This returns the name of the customer.

details[].fromAddress

String

Email address who has initiated the interaction.

details[].date

String

This returns the date of interaction.

details[].subject

String

This returns the subject of interaction.

details[].subjectBare

String


details[].type

String

This is a type of interaction like Agent Email or Note or Ticket.

details[].tags

Array


details[].status

String

This is the status value of interaction according to interaction type.

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[].agentName

String

This has an email address who has initiated the interaction.

details[].assignedToID

String

This has an id of an agent who has been assigned to this interaction.

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[].properties

Array

This returns all properties and their values if property value set in interaction.

numCanGet

Number


numCanApprove

Number


 

 

Response Example

{
   "id":"35445",
   "details":{
      "id":"35445",
      "threadID":"35445",
      "customerID":"25098",
      "customerName":"test@123.com",
      "fromAddress":"test@123.com",
      "date":"2022-01-06T09:23:33.8370000Z",
      "subject":"test attachment 123",
      "subjectBare":"test attachment 123",
      "type":"Ask A Question",
      "tags":[
        
      ],
      "status":"Pending",
      "topicID":"4",
      "topicName":"All Topics",
      "agentName":"landlord@qavmmail02",
      "assignedToID":"1",
      "segmentID":"3",
      "segmentName":"Segment1",
      "properties":[
        
      ]
   },
   "numCanGet":7,
   "numCanApprove":0
}

 

© 2008 - 2022 One-to-One Service.com, Inc. All rights reserved.