users_outgoing_hlrs
Creates, updates, deletes, gets or lists a users_outgoing_hlrs resource.
Overview​
| Name | users_outgoing_hlrs |
| Type | Resource |
| Id | ovh.sms.users_outgoing_hlrs |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
country | string | The country |
country_code | string | The countryCode prefix number (wire: countryCode) |
network | string | The network name |
operator | string | The operator name |
region | string | The region |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | id, login, service_name | Get 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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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"}}) |
id | integer | Id of the object |
login | string | The sms user login |
service_name | string | The internal name of your SMS offer (wire: serviceName) |
SELECT examples​
- get
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.users_outgoing_hlrs
WHERE id = '{{ id }}' -- required
AND login = '{{ login }}' -- required
AND service_name = '{{ service_name }}' -- required
;