Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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: REST System Categories IVR Messages and IVR Message Status Codes system categories have been configured appropriately.

Before the IVR REST API can be used for a given entity, it will be necessary to use the REST Configuration REST APIs Entity System Configuration REST API to update the entity's REST Object Definitions Configuration Related Objects Entity System Configuration Object and configure the RestApi.IVR property, to define the REST Endpoint URI of an API that implements the REST Interfaces IVR REST API Interface.


 

Resource URL Summary

Get the current status of an IVR message request

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

Send an IVR message

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

API Specific Parameters

ParameterDescription

${RequestID}

The GUID generated within ServiceMobility when the REST Object Definitions Work Order Activity Related Objects 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)

  • No labels