Voice

Retrieve a Voice Provider Rate

Work with Voice Provider Rates. Retrieves the Voice Provider Rate with the given ID.

get/admin/voice/provider-rates/{id}

Request

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

Path parameters

idnumber double required
Example:1

The ID of the desired Voice Provider Rate.

Response

idnumber

Provider rate ID.

provider_idnumber

Voice provider ID.

namestring

Rate name.

descriptionstring

Free-form description.

type'call' | 'message' | 'data'

Voice service type. One of call, message, data.

category_idnumber nullable

Voice category ID. Nullable.

prefixstring

Number prefix the rate matches.

pricenumber

Buy price per tariffication step.

first_stepnumber

Length of the first chargeable step (seconds for calls, units for other types).

tariffication_stepnumber

Length of each subsequent chargeable step.

connect_costnumber

One-off connect cost charged on top of the price.

Example response

{
  "id": 1,
  "provider_id": 2,
  "name": "Local",
  "description": "Local destinations",
  "type": "call",
  "category_id": 1,
  "prefix": "380",
  "price": 0.03,
  "first_step": 60,
  "tariffication_step": 30,
  "connect_cost": 0
}

Changes

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