Skip to main content

Outgoing Missed

Each API request in TeleCMI platform includes App id and secret. Get your App id and secret in CHUB dashboard. After getting the app id and secret, make a POST request to the below base URL to retrieve the outgoing missed call details.

Base URL

Send your POST method request with valid parameters, to the following base URL.

https://piopiy.telecmi.com/v1/outmissed

Required Parameters

These are the required POST method parameters with description

Parameter NameTypeDescription
*appidnumberYour app ID
*tokenstringYour app secret
start_datenumberThe from date and time in timestamp. By default the timestamp will be last 24 hours from current timestamp.
end_datenumberThe to date and time in timestamp, By default the timestamp will be current timestamp .
pagenumberThe Number of page per 10 record. By default the page is 1.
limitnumberThe Number of record for request, By default the limit is 10.
Note
The * marked parameter is mandatory.

Sample JSON Request

Below is the following sample JSON POST method request

{
"appid": 1111113,
"token": "xxxx-xxxx-xxxx-xxx",
"start_date": 1570559400000,
"end_date": 1570642200000,
"page": 1,
"limit": 10
}

Sample Response

If the provided information is valid, your web server will get a sample response from TeleCMI Platform as given below

{
"total": 6,
"cdr": [
{
"_id": "5d9df5607a2b952710b030dc",
"to": 9100000000,
"time": 1570633130937,
"from": "209_1111113",
"billedsec": 0,
"rate": "0.0000",
"name": "unknown"
},
{
"_id": "5d9def617a2b952710b0309c",
"to": 9200000000,
"time": 1570631600165,
"from": "207_1111113",
"billedsec": 0,
"rate": "0.0000",
"name": "unknown"
},
{
"_id": "5d9deeaa362b8f14305933c5",
"to": 9300000000,
"time": 1570631272413,
"from": "208_1111113",
"billedsec": 0,
"rate": "0.0000",
"name": "unknown"
},
{
"_id": "5d9ded777a2b952710b03086",
"to": 9400000000,
"time": 1570631107215,
"from": "201_1111113",
"billedsec": 0,
"rate": "0.0000",
"name": "unknown"
},
{
"_id": "5d9deb167a2b952710b03068",
"to": 9500000000,
"time": 1570630500840,
"from": "205_1111113",
"billedsec": 0,
"rate": "0.0000",
"name": "suresh"
}
],
"code": "200"
}

Properties

These are the list of properties and its description

PropertyTypeDescription
totalnumberThe total count of call detail record(cdr) available
cdrJSON arrayThe list of total cdr in detail
_idstringA unique identifier of the call
tonumberYour DID number
timenumberTimestamp of the call
fromnumberThe number of the call came from
billedsecnumberThe duration of call in seconds
ratestringThe call cost of the call
namestringThe name of the caller

HTTP status codes

TeleCMI API platform represents the following status code to identity the errors.

Status codeStatus codeDescription
200OKWe received the request
404ErrorInvalid app id or secret, authentication failed