Skip to main content

outgoing_hlrs

Creates, updates, deletes, gets or lists an outgoing_hlrs resource.

Overview​

Nameoutgoing_hlrs
TypeResource
Idovh.sms.outgoing_hlrs

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
countrystringThe country
country_codestringThe countryCode prefix number (wire: countryCode)
networkstringThe network name
operatorstringThe operator name
regionstringThe region

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, service_nameGet the receiver operator. Returns the operator of the phone number, from the network query trace: country, country code, region, operator and network.

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"}})
idintegerId of the object
service_namestringThe internal name of your SMS offer (wire: serviceName)

SELECT examples​

Get the receiver operator. Returns the operator of the phone number, from the network query trace: country, country code, region, operator and network.

SELECT
country,
country_code,
network,
operator,
region
FROM ovh.sms.outgoing_hlrs
WHERE id = '{{ id }}' -- required
AND service_name = '{{ service_name }}' -- required
;