Get General Report (CDR Report)

  • Authentication required.
  • Params:
    • "i_account" are required.
    • "start_date", "end_date", "cli", "cld", "offset", "limit", "type" are optional.
  • Notice:
    • "start_date", "end_date", "cli", "cld", "type" as String.
    • "i_account", "offset", "limit" as Integer.
    • "start_date", "end_date" Datetime string formated as "%Y-%m-%dT%H:%M:%SZ", e.g. "2016-09-01T10:12:45Z" in UTC Timezone.

CURL Example:

curl -X POST https://oim.pasifiktelekom.com.tr/en/api/tel/history/ \
     -H 'Content-Type:application/json' -H 'accept:application/json' -H 'Authorization:XXXXXXXXXXXXXXXXXXXX' \
     -d '{"i_account": 12345}'
GET /en/api/tel/history/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "message": "OK",
    "code": "200"
}