Skip to main content

ptts

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

Overview​

Nameptts
TypeResource
Idovh.sms.ptts

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
commentstringPtt informations
descriptionstringPtt short description
durationstringPtt volatility type (indeterminated, permanent, temporary)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpttGet a PTT code. Returns the meaning of a PTT code. The PTT code is the delivery status code of an SMS, given in the ptt field of sent SMS and pending jobs.

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"}})
pttintegerThe premium transaction tracking code

SELECT examples​

Get a PTT code. Returns the meaning of a PTT code. The PTT code is the delivery status code of an SMS, given in the ptt field of sent SMS and pending jobs.

SELECT
comment,
description,
duration
FROM ovh.sms.ptts
WHERE ptt = '{{ ptt }}' -- required
;