Skip to main content

easy_hunting_hunting_agent_banner_accesses

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

Overview​

Nameeasy_hunting_hunting_agent_banner_accesses
TypeResource
Idovh.telephony.easy_hunting_hunting_agent_banner_accesses

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idinteger
creation_datestring (date-time)The creation date of this access (wire: creationDate)
urlstringThe url of the web access

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectagent_id, billing_account, service_nameGet the agent banner access
createinsertagent_id, billing_account, service_nameCreate the agent banner access
deletedeleteagent_id, billing_account, service_nameDelete the agent banner access

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
agent_idinteger (wire: agentId)
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 agent banner access

SELECT
id,
creation_date,
url
FROM ovh.telephony.easy_hunting_hunting_agent_banner_accesses
WHERE agent_id = '{{ agent_id }}' -- required
AND billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;

INSERT examples​

Create the agent banner access

INSERT INTO ovh.telephony.easy_hunting_hunting_agent_banner_accesses (
agent_id,
billing_account,
service_name
)
SELECT
'{{ agent_id }}',
'{{ billing_account }}',
'{{ service_name }}'
RETURNING
id,
creation_date,
url
;

DELETE examples​

Delete the agent banner access

DELETE FROM ovh.telephony.easy_hunting_hunting_agent_banner_accesses
WHERE agent_id = '{{ agent_id }}' --required
AND billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required
;