Skip to main content

users_receivers_csvs

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

Overview​

Nameusers_receivers_csvs
TypeResource
Idovh.sms.users_receivers_csvs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
valuestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlogin, service_name, slot_idGet the receiver list CSV. Returns the content of the receiver list in CSV format. The number of records is given when getting the receiver list.

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"}})
loginstringThe sms user login
service_namestringThe internal name of your SMS offer (wire: serviceName)
slot_idintegerSlot number id (wire: slotId)

SELECT examples​

Get the receiver list CSV. Returns the content of the receiver list in CSV format. The number of records is given when getting the receiver list.

SELECT
value
FROM ovh.sms.users_receivers_csvs
WHERE login = '{{ login }}' -- required
AND service_name = '{{ service_name }}' -- required
AND slot_id = '{{ slot_id }}' -- required
;