Voice

Retrieve a Voice Data

Work with Voice Data.Retrieves the Voice Data with the given ID.

get/admin/voice/data/{id}

Request

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

Path parameters

idnumber double required
Example:1

The ID of the desired Voice Data.

Response

datetimestring required

Date

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

Data source phone number

amountnumber

Amount

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

Data ID.

customer_loginstring

Customer login

customer_namestring

Customer name

sell_price_totalnumber

Sell price total

buy_price_totalnumber

Buy price total

Example response

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

Changes

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