Skip to main content

easy_hunting_huntings

Creates, updates, deletes, gets or lists an easy_hunting_huntings resource.

Overview​

Nameeasy_hunting_huntings
TypeResource
Idovh.telephony.easy_hunting_huntings

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
namestringThe name of your callcenter offer
crm_url_templatestringThe templated url of your CRM, opened by the banner application of your cloudpabx (wire: crmUrlTemplate)
g_729booleanEnable G729 codec on your callcenter (wire: g729)
status_ivr_enabledbooleanEnable/Disable the status change IVR on your callcenter. The IVR is enabled by default. (wire: statusIvrEnabled)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, service_nameGet the queue system settings
updateupdatebilling_account, service_nameUpdate the queue system settings

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 queue system settings

SELECT
name,
crm_url_template,
g_729,
status_ivr_enabled
FROM ovh.telephony.easy_hunting_huntings
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;

UPDATE examples​

Update the queue system settings

UPDATE ovh.telephony.easy_hunting_huntings
SET
crm_url_template = '{{ crm_url_template }}',
g_729 = {{ g_729 }},
status_ivr_enabled = {{ status_ivr_enabled }}
WHERE
billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required;