Skip to main content

line_offer_phones

Creates, updates, deletes, gets or lists a line_offer_phones resource.

Overview​

Nameline_offer_phones
TypeResource
Idovh.telephony.line_offer_phones

Fields​

The following fields are returned by SELECT queries:

Informations related to phone capabilities

NameDatatypeDescription
brandstringBrand name of the phone
descriptionstringThe phone description
feesobjectSetup fees
maxlineintegerMaximum number of lines managed by a phone
offer_typestringType of purchase (deposit, loan, purchase) (wire: offerType)
priceobjectTelephony price
protocolstringPhone protocol (mgcp, sip)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcountry, offerGet all available phone brands compatible with lines

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
countrystringThe country
offerstringThe selected offer

SELECT examples​

Get all available phone brands compatible with lines

SELECT
brand,
description,
fees,
maxline,
offer_type,
price,
protocol
FROM ovh.telephony.line_offer_phones
WHERE country = '{{ country }}' -- required
AND offer = '{{ offer }}' -- required
;