Voice

Retrieve a Call

Work with Calls.Retrieves the Call with the given ID.

get/admin/voice/calls/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/voice/calls/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Call.

Response

startstring required

Call start date

stopstring required

Call end date

call_tostring

Call destination phone number

customer_idnumber required

Customer ID

service_idnumber required

Voice service ID

transaction_idnumber

Transaction ID

categorynumber

Voice category ID. You can find valid values on Dashboard Voice/Categories

sourcestring

Caller phone number

sell_pricenumber

Sell price

buy_pricenumber

Buy price

rate_buy_pricenumber

Rate buy price

commentstring

Comment

is_price_from_importnumber

Is price from import. Values: 0 or 1

idnumber

Call ID.

customer_loginstring

Customer login

customer_namestring

Customer name

amountnumber

Amount

sell_price_totalnumber

Sell price total

buy_price_totalnumber

Buy price total

Example response

{
  "start": "2018-01-20 12:56:39",
  "stop": "2018-01-20 13:00:35",
  "call_to": "555-0134",
  "customer_id": 19,
  "service_id": 40,
  "transaction_id": 137,
  "category": 3,
  "source": "555-0134",
  "sell_price": 0,
  "buy_price": 0,
  "rate_buy_price": 0,
  "comment": "comment",
  "is_price_from_import": 0,
  "id": 1,
  "customer_login": "",
  "customer_name": "",
  "amount": 0,
  "sell_price_total": 0,
  "buy_price_total": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.