Skip to main content

eligibility_recalls

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

Overview​

Nameeligibility_recalls
TypeResource
Idovh.connectivity.eligibility_recalls

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idintegerID
completedbooleanIs the recall completed ?
completed_datestring (date-time)Completed date (wire: completedDate)
creation_datestring (date-time)Creation date (wire: creationDate)
customerstringcustomer ID
dedicatedfiber_requestbooleanCheck for Dedicated Fiber FTTO/FTTE eligibility ? (wire: dedicatedfiberRequest)
profiber_requestbooleanCheck for Pro Fiber FTTH eligibility ? (wire: profiberRequest)
referencestringReference
reference_typestringReference type (address, building) (wire: referenceType)
updated_datestring (date-time)Updated date (wire: updatedDate)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectidReturns an eligibility recall: its address or building reference, the fiber offers it checks (Pro Fiber FTTH, Dedicated Fiber FTTO/FTTE), and its creation, update and completion dates.
listselectReturns the eligibility recalls of the account, with their address or building reference, the requested fiber offers and whether each one is completed.
createinsertreference, reference_typeCreates a recall on an address or building reference, to check again its eligibility to Pro Fiber FTTH or Dedicated Fiber FTTO/FTTE. Returns the created recall.
updateupdateid, reference, reference_typeUpdates the reference and the fiber offers to check of an eligibility recall. Returns the updated recall.
deletedeleteidDeletes the eligibility recall of an address or building reference.

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"}})
idintegerId

SELECT examples​

Returns an eligibility recall: its address or building reference, the fiber offers it checks (Pro Fiber FTTH, Dedicated Fiber FTTO/FTTE), and its creation, update and completion dates.

SELECT
id,
completed,
completed_date,
creation_date,
customer,
dedicatedfiber_request,
profiber_request,
reference,
reference_type,
updated_date
FROM ovh.connectivity.eligibility_recalls
WHERE id = '{{ id }}' -- required
;

INSERT examples​

Creates a recall on an address or building reference, to check again its eligibility to Pro Fiber FTTH or Dedicated Fiber FTTO/FTTE. Returns the created recall.

INSERT INTO ovh.connectivity.eligibility_recalls (
dedicatedfiber_request,
profiber_request,
reference,
reference_type
)
SELECT
{{ dedicatedfiber_request }},
{{ profiber_request }},
'{{ reference }}' /* required */,
'{{ reference_type }}' /* required */
RETURNING
id,
completed,
completed_date,
creation_date,
customer,
dedicatedfiber_request,
profiber_request,
reference,
reference_type,
updated_date
;

UPDATE examples​

Updates the reference and the fiber offers to check of an eligibility recall. Returns the updated recall.

UPDATE ovh.connectivity.eligibility_recalls
SET
dedicatedfiber_request = {{ dedicatedfiber_request }},
profiber_request = {{ profiber_request }},
reference = '{{ reference }}',
reference_type = '{{ reference_type }}'
WHERE
id = '{{ id }}' --required
AND reference = '{{ reference }}' --required
AND reference_type = '{{ reference_type }}' --required
RETURNING
id,
completed,
completed_date,
creation_date,
customer,
dedicatedfiber_request,
profiber_request,
reference,
reference_type,
updated_date;

DELETE examples​

Deletes the eligibility recall of an address or building reference.

DELETE FROM ovh.connectivity.eligibility_recalls
WHERE id = '{{ id }}' --required
;