Please enable JavaScript to view this site.

iService API Documentation

Navigation: iService API Forms > My Work Queue

Autosave interaction details (api=autosave)

Scroll Prev Top Next More

Purpose

 

The autosave API is used to display mailbox lists in the Forward Action menu.

 

UI Reference: The API is called when the Forward button is clicked on any interaction.

 

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

 

 

 

Request

 

 

Request Parameters

Name

Type

Description

answer

Object

Object with all email details.

answer[].isMassUpdate

Boolean

This represents whether the interaction can used for mass update or not.

answer[].threadProperties

Array

All property lists which are included in interaction.

answer[].threadProperties[].propertyID

String

Id of property.

answer[].threadProperties.propertyName

String

Name of property.

answer[].threadProperties[].values

Array

All values sets to this property

answer[].subject

String

This parameter represents the subject of email.

answer[].bodyHtml

String

This parameter represents the body of email with html format.

answer[].note

String

This represents the private comment of an interaction.

answer[].attachments

Array

This parameter represents all attachments uploaded on this interaction.

interactionID

String

ID of interaction.

interactionIDs

Array

This contains multiple interaction IDs when mass update performed.

__TZO__

String

This describes the Time Zone Offset.

_pageAction

String

This parameter represents the action of the page.

_pageName

String

This parameter represents the name of the page from action initiated.

 

 

Request Payload Example

{
  "answer": {
    "isMassUpdate": false,
    "threadProperties": [
      {
        "propertyID": "11",
        "propertyName": "Account Number",
        "values": [
          {
            "value": "Platinum"
          }
        ]
      },
      {
        "propertyID": "35",
        "propertyName": "Item #",
        "values": [
          {
            "value": "123"
          }
        ]
      },
      {
        "propertyID": "121",
        "propertyName": "Shipping Method",
        "values": []
      }
    ],
    "subject": "Can I track my package?",
    "bodyHtml": "<br />\nTesting reply<br />\n&nbsp;\n<div>On 10/28/2021 3:31:18 PM, John Doe &lt;customer1@1to1service.com&gt; wrote:\n<blockquote style=\"border-left: 1px solid #cccccc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;\">I just bought a camera and got an email notification that the order has been placed successfully. How do I track my package since the shipping duration is 2 weeks?&nbsp;</blockquote>\n</div>\n",
    "note": "",
    "attachments": []
  },
  "interactionID": "45529",
  "interactionIDs": [
    "45529"
  ],
  "__TZO__": "+05:30",
  "_pageAction": "AutoSave",
  "_pageName": "messagequeue#/my-message-inbox"
}

 

 

Response

 

 

Response Parameters

Name

Type

Description

errors

Array

This represents the list of errors.

errorsDetails

Array

This represents the list of error details.

 

 

Response Example

{
  "errors": [],
  "errorDetails": []
}

 

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