Skip to main content

portability_relaunches

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

Overview​

Nameportability_relaunches
TypeResource
Idovh.telephony.portability_relaunches

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
mandatory_parametersarrayMandatory parameter list (wire: mandatoryParameters)
optional_parametersarrayOptional parameter list (wire: optionalParameters)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, idCheck if the porting can be relaunched
createinsertbilling_account, id, parametersRelaunch the porting

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)
idintegerThe ID of the portability

SELECT examples​

Check if the porting can be relaunched

SELECT
mandatory_parameters,
optional_parameters
FROM ovh.telephony.portability_relaunches
WHERE billing_account = '{{ billing_account }}' -- required
AND id = '{{ id }}' -- required
;

INSERT examples​

Relaunch the porting

INSERT INTO ovh.telephony.portability_relaunches (
parameters,
billing_account,
id
)
SELECT
'{{ parameters }}' /* required */,
'{{ billing_account }}',
'{{ id }}'
;