curl --request GET \
--url https://v1.api.flux-os.com/facilities/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-user-id: <api-key>'{
"data": {
"name": "<string>",
"start_date": "2023-12-25",
"operator_start_date": "2023-12-25",
"id": "<string>",
"latitude": null,
"longitude": null,
"lsd": null,
"section": null,
"township": null,
"range": null,
"meridian": null,
"type": {
"name": "<string>",
"code": "<string>",
"id": "<string>"
},
"sub_type": {
"name": "<string>",
"code": "<string>",
"id": "<string>"
},
"operator": {
"legal_name": "<string>",
"id": "<string>"
},
"operational_status": "ABANDONED",
"licensee": {
"legal_name": "<string>",
"id": "<string>"
},
"license_status": "ABANDONED",
"license_type": "WELL",
"license_number": null,
"license_issued": null,
"jurisdiction": "ALBERTA",
"regulator_id": null,
"regulator_system": "PETRINEX"
}
}Retrieve details of a specific facility, including its name, type, subtype, status and associated entity.
curl --request GET \
--url https://v1.api.flux-os.com/facilities/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-user-id: <api-key>'{
"data": {
"name": "<string>",
"start_date": "2023-12-25",
"operator_start_date": "2023-12-25",
"id": "<string>",
"latitude": null,
"longitude": null,
"lsd": null,
"section": null,
"township": null,
"range": null,
"meridian": null,
"type": {
"name": "<string>",
"code": "<string>",
"id": "<string>"
},
"sub_type": {
"name": "<string>",
"code": "<string>",
"id": "<string>"
},
"operator": {
"legal_name": "<string>",
"id": "<string>"
},
"operational_status": "ABANDONED",
"licensee": {
"legal_name": "<string>",
"id": "<string>"
},
"license_status": "ABANDONED",
"license_type": "WELL",
"license_number": null,
"license_issued": null,
"jurisdiction": "ALBERTA",
"regulator_id": null,
"regulator_system": "PETRINEX"
}
}The facility ID.
A single facility.
Show child attributes
ABANDONED, ACTIVE, CANCELLED, MINSUSPEND, NEW, NONREPORTING, RECCERTIFIED, RECEXEMPT, RETIRED, SUSPENDED ABANDONED, AMMENDED, CANCELLED, DECOMMISSION, ISSUED, RE-ENTERED, RECCERTIFIED, RECEXEMPT, SUSPENDED, SUSPENSION WELL, FACILITY ALBERTA, SASKATCHEWAN PETRINEX