Description:
Additional Info
Field | Value |
---|---|
Last updated | 25 Nov 2020 |
Created | 25 Nov 2020 |
Format | API |
License | License not specified |
id | 77c75d7b-f9d1-48a4-b0c8-bec95b5d3d56 |
package id | 429b13c7-5c26-45d3-9c87-16c7a054965f |
revision id | 8f437dbf-686a-47c7-b3bd-bdff4299b725 |
state | active |
Show more |
Attribute Details
Attribute Name | Attribute Description | Attribute Language | Attribute Classification | Attribute Datatype | Attribute Size | Attribute Range of Values | Attribute Foreign Key |
---|---|---|---|---|---|---|---|
transport_mode | Metro ,Tram, Marine and Bus | English | Open | nvarchar | 50 | No | |
station_name_english | Station name in English | English | Open | nvarchar | 200 | ||
station_name_arabic | Station name in Arabic | Arabic | Open | nvarchar | 50 | ||
station_number | Station code | English | Open | nvarchar | 50 | ||
station_location_type_english | Station construction location (Elevated / Underground) in English | English | Open | nvarchar | 50 | ||
station_location_type_arabic | Station construction location (Elevated / Underground) in Arabic | Arabic | Open | nvarchar | 50 | ||
current_service_status | station service status | English | Open | nvarchar | 50 | ||
number_stops | Number of Bus Stops in the Station (if transport mode is Bus) | English | Open | numeric | 3 | ||
number_layby | Number of Laybys in the Station (if transport mode is Bus) | English | Open | numeric | 3 | ||
customer_facilities | Facility availability such as WiFi, Restrooms, Waiting Area, Air-conditioning, Shopping, Restaurants, Café, Vending Machines. | English | Open | nvarchar | 200 | ||
parking_facilities | Availability of short-term and long-term parking. | English | Open | nvarchar | 50 | ||
zone_id | Zone ID | English | Open | nvarchar | 50 | ||
line_name | Metro Line Name (Value = Red or Green),and the all route name in case of Bus | English | Open | nvarchar | 250 | ||
station_location_longitude | Longitude part of Bus Stop Coordinate | English | Open | numeric | 9 | ||
station_location_latitude | Latitude part of Bus Stop Coordinate | English | Open | numeric | 9 | ||
station_opening_date | Station Opening Date | English | Open | date | 10 | DD/MM/YYYY | |
station_closing_date | Station Closing Date | English | Open | date | 10 | DD/MM/YYYY | |
station_starttime_saturday | station opening time on Saturday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_saturday | station closing time on Saturday | English | Open | timestamp | 5 | HH24:MI | |
station_starttime_sunday | station opening time on Sunday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_sunday | station closing time on Sunday | English | Open | timestamp | 5 | HH24:MI | |
station_starttime_monday | station opening time on Monday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_monday | station closing time on Monday | English | Open | timestamp | 5 | HH24:MI | |
station_starttime_tuesday | station opening time on Tuesday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_tuesday | station closing time on Tuesday | English | Open | timestamp | 5 | HH24:MI | |
station_starttime_wednesday | station opening time on Wednesday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_wednesday | station closing time on Wednesday | English | Open | timestamp | 5 | HH24:MI | |
station_starttime_thursday | station opening time on Thursday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_thursday | station closing time on Thursday | English | Open | timestamp | 5 | HH24:MI | |
station_starttime_friday | station opening time on Friday | English | Open | timestamp | 5 | HH24:MI | |
station_endtime_friday | station closing time on Friday | English | Open | timestamp | 5 | HH24:MI | |
Show more Show less |
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 HTMLDubai Pulse Data API
Access resource data via a web API with powerful query support.
Expand All
-
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 ParametersAPI 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