Skip to main content

User Outgoing Missed API

Each user API request in TeleCMI platform includes user login token. After getting the user login token, make a POST request to the below base URL to retrieve the user outgoing missed call details.

Base URL

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

https://rest.telecmi.com/v2/user/out_missed

Required Parameters

These are the required POST method parameters with description

Parameter NameTypeDescription
*tokenstringYour user token
*fromnumberThe timestamp of from date and time in UTC timezone.
*tonumberThe timestamp of to date and time in UTC timezone.
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. Maximum limit is 10.
Note
The * marked parameter is mandatory.

Sample JSON Request

Below is the following sample JSON POST method request

{
"token": "xxxx-xxxx-xxxx-xxxx",
"from": 1649238593000,
"to": 1654509008000,
"page": 1,
"limit": 5
}

Sample Response

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

{
"count": 123,
"cdr": [
{
"cmiuid": "834a35bb-733a-4839-8338-9939143ac7cc",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "550000000000",
"to": 61400000000,
"time": 1654182968809
},
{
"cmiuid": "4fe3dacc-2890-48d4-bb1a-0d3fe434c388",
"duration": 0,
"notes": [
{
"msg": "Support Query",
"date": 1639554230141,
"agent": "101_1111112"
},
{
"msg": "Regarding the order status",
"date": 1639554230141,
"agent": "101_1111112"
}
],
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "919200000000",
"to": 919100000000,
"time": 1654148145948
},
{
"cmiuid": "44c2889d-7621-4be5-9de7-5f40ceef8360",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "919300000000",
"to": 66000000000,
"time": 1654086575340
},
{
"cmiuid": "e1724d2b-5cf5-4bd9-b36c-224f2a051c35",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "919400000000",
"to": 19170000000,
"time": 1653624438313
},
{
"cmiuid": "92d31c4c-d096-4546-bac3-e24402cba44e",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "6500000001",
"to": 6500000000,
"time": 1652845008352
},
{
"cmiuid": "633e8140-e4cc-4f23-9522-4a286df79e9a",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "6500000001",
"to": 919100000000,
"time": 1652844634445
},
{
"cmiuid": "c8c918e4-1a83-4f49-af43-4b1438453f83",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "6500000001",
"to": 919600000000,
"time": 1652844234326
},
{
"cmiuid": "61f97758-2358-4f45-b46f-bc3eb21ce9b3",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "6500000001",
"to": 6500000000,
"time": 1652771447767
},
{
"cmiuid": "ef2553d2-cb53-43b2-82b1-124d3400d38a",
"duration": 0,
"notes": [
{
"msg": "Support Query",
"date": 1639554230141,
"agent": "101_1111112"
}
],
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "6500000001",
"to": 6500000000,
"time": 1652771369169
},
{
"cmiuid": "e4a8c5eb-4fab-4411-9dc4-6b317a8e3e2f",
"duration": 0,
"billedsec": 0,
"rate": 0,
"name": "unknown",
"from": "6500000001",
"to": 6500000000,
"time": 1652771348017
}
],
"code": 200
}

Properties

These are the list of properties and its description

PropertyTypeDescription
countnumberThe total count of call detail record(cdr) available
cdrJSON arrayThe list of total cdr in detail
cmiuidstringA unique identifier of this call
durationnumberThe duration of this call
notesJSON arrayThe entire notes information of the caller or calle
msgstringThe notes information of the caller or calle
datenumberTimestamp of the added notes in UTC timezone
agentstringThe user ID for the added note
tonumberThe number of the user(agent)
timenumberTimestamp of the call in UTC timezone
fromstringA unique Id of the user(agent)
billedsecnumberThe duration of call in seconds
ratenumberThe 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 typeDescription
200OKWe received the request
404ErrorInvalid user token, Failed to authenticate token
400ErrorParameter missing, Parameter limit lesser then equals 10