Skip to main content

rsva_scheduled_rate_codes

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

Overview​

Namersva_scheduled_rate_codes
TypeResource
Idovh.telephony.rsva_scheduled_rate_codes

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
cancel_limit_datetimestring (date-time)Cancelable datetime deadline for the new scheduled rateCode (wire: cancelLimitDatetime)
effective_datetimestring (date-time)Effective datetime (wire: effectiveDatetime)
price_per_call_without_taxobjectPrice per call (wire: pricePerCallWithoutTax)
price_per_minute_without_taxobjectPrice in minute (wire: pricePerMinuteWithoutTax)
rate_codestringScheduled rate code (wire: rateCode)
repayment_price_per_call_without_taxobjectRepayment per call (wire: repaymentPricePerCallWithoutTax)
repayment_price_per_minute_without_taxobjectRepayment per minute (wire: repaymentPricePerMinuteWithoutTax)
update_rate_code_price_without_taxobjectFees concerning rateCode update (wire: updateRateCodePriceWithoutTax)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, service_nameGet the scheduled rate code

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"}})
billing_accountstringThe name of your billingAccount (wire: billingAccount)
service_namestring (wire: serviceName)

SELECT examples​

Get the scheduled rate code

SELECT
cancel_limit_datetime,
effective_datetime,
price_per_call_without_tax,
price_per_minute_without_tax,
rate_code,
repayment_price_per_call_without_tax,
repayment_price_per_minute_without_tax,
update_rate_code_price_without_tax
FROM ovh.telephony.rsva_scheduled_rate_codes
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;