dha_sheryan_facility_detail-open-api
Updated: 19 Sep 2021 0.00 KB
API
This dataset contains the Active health facilities details

Description:

Additional Info

Field Value
Last updated 20 Sep 2021
Created 07 Apr 2018
Format API
License License not specified
id
9ff80169-ab3b-4803-93d9-d3d41f004bb5
package id
8e02cbbb-d0b1-4058-9b4c-5fdaf972908c
revision id
9087dde8-ee61-4cbc-b349-e88bc196c771
state
active

Attribute Details

Attribute Name Attribute Description Attribute Language Attribute Classification Attribute Datatype Attribute Size Attribute Range of Values Attribute Foreign Key
area_id English/Arabic Open NSTRING 50
x_coordinate English/Arabic Open NSTRING 50
y_coordinate English/Arabic Open NSTRING 50
email English/Arabic Open NSTRING 200
area_english English/Arabic Open NSTRING 500
area_arabic English/Arabic Open NSTRING 500
unique_id English/Arabic Open NSTRING 25 Denormalized
f_name_english English/Arabic Open NSTRING 500
f_name_arabic English/Arabic Open NSTRING 500
facility_category_name_english English/Arabic Open NSTRING 500
facility_category_name_arabic English/Arabic Open NSTRING 500
facilitysubcategorynameenglish Facility Sub Category Name in English English/Arabic Open NSTRING 500
facilitysubcategorynamearabic Facility Sub Category Name in Arabic English/Arabic Open NSTRING 500
Address_line_one English/Arabic Open NSTRING 500
Address_line_two_english English/Arabic Open NSTRING 500
Address_line_two_arabic English/Arabic Open NSTRING 500
po_box English/Arabic Open NSTRING 50
website English/Arabic Open NSTRING 500
telephone_1 English/Arabic Open NSTRING 100
telephone_2 English/Arabic Open NSTRING 100
fax English/Arabic Open NSTRING 100
expiry_date English/Arabic Open NSTRING/DATETIME 29
status English/Arabic Open NSTRING 50

There are no views created for this resource yet.

Embed resource view

You can copy and paste the embed code into a CMS or blog software that supports raw HTML

Dubai Pulse Data API

Access resource data via a web API with powerful query support.

Expand All
The Data API can be accessed via the following actions of the CKAN action API.
  • Query
    https://api.dubaipulse.gov.ae/open/dha/dha_sheryan_facility_detail-open-api
  • End Users will receive "API Key" and "API Secret" in two separate emails on the first time Grant of a Dataset, first Purchase of a Commercial Dataset, or Purchase of an API Package. This API Key and API Secret combination should be used to generate API token and the token will need to be included in the http headers of every API call made.

    Authentication Service to generate API token: https://api.dubaipulse.gov.ae/oauth/client_credential/accesstoken?grant_type=client_credentials with body 'client_id={API Key}&client_secret={API Secret}'

    Read the value of "access_token" from the response of the above service and use it in the header of every API call. The obtained API token is valid for certain duration (for example 30 minutes) after which a fresh token needs to be obtained.

    Header Name : Authorization
    Value : Bearer {access_token}

  • Query Parameters
    API calls can be made for full dataset result (subject to maximum results limit) or to a subset of results. Different filters can be applied on the results. Developers can use the attributes to apply a combination of filters with and/or conditions.
  • Limiting the Response Size
    Developers can limit the number of records returned by an API call passing the "Limit" parameter in the call. The value of the "Limit" must be less than the allowed maximum limit.
  • Limiting the Attributes
    Developers can limit the API response to specific set of attributes by passing the attribute names in the API call. The example below explains how the attributes can be specified in the API call. This feature can be used in conjunction with query parameters.
  • Curl Command Sample:
    curl -X GET --header "Authorization: qMtn6xQapeouAlirfHXD7DWJFabV" "https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api"
  • Query Samples:
    https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api?filter=location_id=223 AND zone_id=2 https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api?filter=location_id=223 OR zone_id=2
  • Record Limit Sample:
    https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api?limit=10
  • Record Offset Sample:
    https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api?offset=10
  • Record Order By Sample:
    https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api?order_by=location_id
  • Attribute Limiting Sample:
    https://api.dubaipulse.gov.ae/shared/rta/rta_tram_stations-open-api?filter=location_id=223 OR zone_id=2 &column=zone_id,line_name,location_id