POST Client/Request/CallEngineAccounts

Get or create call engine acccounts in order to make call. It needs to be called after calls to these functions: Request/StartCallProcess or Request/CallAgain so that it can obtain the CallEngineAccounts in order to make the call. If the call is not successful, it needs to be called again until either the CallEngineAccounts are obtained from the server, or timeout and it displays failed call info to the user.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ParaCallEngineAccountPair
NameDescriptionTypeAdditional information
Caller

ParaCallEngineAccount

None.

Listener

ParaCallEngineAccount

None.

IsCallerOffline

boolean

None.

IsListenerOffline

boolean

None.

Killed

boolean

None.

Disconnected

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Caller": {
    "AccountNumber": "sample string 1",
    "ExpirationSeconds": 2,
    "Purpose": "sample string 3"
  },
  "Listener": {
    "AccountNumber": "sample string 1",
    "ExpirationSeconds": 2,
    "Purpose": "sample string 3"
  },
  "IsCallerOffline": true,
  "IsListenerOffline": true,
  "Killed": true,
  "Disconnected": true
}

application/xml, text/xml

Sample:
<ParaCallEngineAccountPair xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Caller>
    <AccountNumber>sample string 1</AccountNumber>
    <ExpirationSeconds>2</ExpirationSeconds>
    <Purpose>sample string 3</Purpose>
  </Caller>
  <Disconnected>true</Disconnected>
  <IsCallerOffline>true</IsCallerOffline>
  <IsListenerOffline>true</IsListenerOffline>
  <Killed>true</Killed>
  <Listener>
    <AccountNumber>sample string 1</AccountNumber>
    <ExpirationSeconds>2</ExpirationSeconds>
    <Purpose>sample string 3</Purpose>
  </Listener>
</ParaCallEngineAccountPair>