Skip to main content

fiber_eligibilities

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

Overview​

Namefiber_eligibilities
TypeResource
Idovh.xdsl.fiber_eligibilities

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idintegerIdentifier
building_seq_idintegerBuilding sequence id (wire: buildingSeqId)
building_namestringBuilding name (wire: buildingName)
availability_datestring (date-time)Availability date (wire: availabilityDate)
building_referencestringBuilding reference (wire: buildingReference)
copper_grid_closure_trajectoryobjectCopper grid closure trajectory (wire: copperGridClosureTrajectory)
copper_nra_closure_trajectoryobjectCopper NRA closure trajectory (wire: copperNraClosureTrajectory)
first_copper_closureobjectFirst copper closure details, if applicable (wire: firstCopperClosure)
first_eligible_datestring (date-time)First eligible date (wire: firstEligibleDate)
grtsarrayAvailable GRTs
last_updatestring (date-time)Last update date (wire: lastUpdate)
offerobjectOffer
providerobjectProvider
statusstringStatus (eligible, no_building, not_eligible, not_yet_eligible)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, service_nameReturns the fiber offer, provider, status, building and availability date of the access address, and the copper network closure schedule.
listselectservice_namestatus, x_pagination_modeReturns the IDs of the fiber eligibility checks of the access address. Filter by status: eligible, not_eligible, not_yet_eligible or no_building.

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
service_namestringService name (wire: serviceName)
statusstringFilter the value of status property (=)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Returns the fiber offer, provider, status, building and availability date of the access address, and the copper network closure schedule.

SELECT
id,
building_seq_id,
building_name,
availability_date,
building_reference,
copper_grid_closure_trajectory,
copper_nra_closure_trajectory,
first_copper_closure,
first_eligible_date,
grts,
last_update,
offer,
provider,
status
FROM ovh.xdsl.fiber_eligibilities
WHERE id = '{{ id }}' -- required
AND service_name = '{{ service_name }}' -- required
;