Document toolboxDocument toolbox

IVR REST API

3.18.0

The IVR REST API provides the technician with the ability to send a contact associated with a scheduled work order a preconceived message through a 3rd party interactive voice response system.  The 3rd party system may then update the mobile application through the same API using the request ID sent up with the IVR request.

Assumptions: IVR Messages and IVR Message Status Codes system categories have been configured appropriately


Resource URL Summary

DDesscripiptiion

GET /seiapi/v3/IVR/${RequestID}

DDescriptioncription

POST /seiapi/v3/IVR/${RequestID}

API Specific Parameters

ParameterDescription

${RequestID}

The GUID generated within ServiceMobility when the IVR Message Object was created.

Supported HTTP Methods

MethodDescription
GETRetrieves the current status of the IVR call request.
POSTSends a request to deliver a contact associated with a scheduled work order a preconceived message through a 3rd party interactive voice response system

HTTP Headers

This API uses the default ServiceMobility HTTP Headers.

HTTP Body

The body contains a single IVR Message Object.

JSON Format
{
    "RequestID": "",
    "Type": "", 
    "RefCode": "", 
    "Status": "", 
    "ContactName": "", 
    "ContactNumber": "", 
    "Message": {
       "code": "",
       "desc": ""
    } 
}


Response Body

{
    "RequestID": "",
    "ContactName": "",
    "ContactNumber": "",
    "CallStatus": "${free text}"
}

Response Object Properties

PropertyTypeDescription
RequestIDstringUnique ID (GUID) generated by the originating system (ServiceMobility)
ContactNamestringName of the targeted recipient
ContactNumberstringContact phone number for the targeted receipient
CallStatusstringStatus of the IVR call (see IVR Message Status Codes system category)