Skip to main content

line_softphone_logos

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

Overview​

Nameline_softphone_logos
TypeResource
Idovh.telephony.line_softphone_logos

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
filenamestringLogo filename
urlstringURL used to download logo

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, service_nameReturns the softphone logo of the line: file name and download URL.
updateupdatebilling_account, service_name, filename, urlSets the softphone logo of the line from a file name and a URL.
deletedeletebilling_account, service_nameDeletes the softphone logo of the line.

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​

Returns the softphone logo of the line: file name and download URL.

SELECT
filename,
url
FROM ovh.telephony.line_softphone_logos
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;

UPDATE examples​

Sets the softphone logo of the line from a file name and a URL.

UPDATE ovh.telephony.line_softphone_logos
SET
filename = '{{ filename }}',
url = '{{ url }}'
WHERE
billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required
AND filename = '{{ filename }}' --required
AND url = '{{ url }}' --required
RETURNING
filename,
url;

DELETE examples​

Deletes the softphone logo of the line.

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