Skip to main content

service_directory_get_directory_service_codes

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

Overview​

Nameservice_directory_get_directory_service_codes
TypeResource
Idovh.telephony.service_directory_get_directory_service_codes

Fields​

The following fields are returned by SELECT queries:

Directory Informations

NameDatatypeDescription
ape_codestring (wire: apeCode)
ape_descriptionstring (wire: apeDescription)
directory_service_codeinteger (wire: directoryServiceCode)
directory_service_descriptionstring (wire: directoryServiceDescription)
notificationstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectape_code, billing_account, service_nameGet the directory service 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
ape_codestring (wire: apeCode)
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 directory service code

SELECT
ape_code,
ape_description,
directory_service_code,
directory_service_description,
notification
FROM ovh.telephony.service_directory_get_directory_service_codes
WHERE ape_code = '{{ ape_code }}' -- required
AND billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;