Description:
Additional Info
Field | Value |
---|---|
Last updated | 25 Nov 2020 |
Created | 25 Nov 2020 |
Format | API |
License | License not specified |
id | 24e0567c-f7e7-4827-ac07-fc2fa85d66d9 |
package id | e55fc9e2-f285-480c-ad6c-a23521f28ecb |
revision id | 2ceed534-3a91-4c26-b786-8141674cf6bc |
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 |
---|---|---|---|---|---|---|---|
report_date | Date of Reporting | English | Open | date | 10 | DD/MM/YYYY | No |
transport_mode | Metro ,Tram, Marine and Bus | English | Open | nvarchar | 200 | Metro ,Tram, Marine, Bus | |
route_name | Name of the Route | Mix | Open | nvarchar | 200 | ||
route_stops | Number of Stops on the Route | English | Open | numeric | 6 | ||
first_stop | Starting Location of the Route | English | Open | nvarchar | 200 | ||
last_stop | Ending Location of the Route | English | Open | nvarchar | 200 | ||
depot_name | Name of the Origin Depot | Mix | Open | nvarchar | 200 | ||
route_type | Type of the Route (Urban, Feeder, Intercity etc.) in case is Bus( NULL=0 Urban=1 Express=2 Feeder=3 Night=4 Inter-City=5 Scenario=6 Regular=7 Private=8) | English | Open | numeric | 4 | ||
route_direction | Direction of the Route 1:( Bus :in Metro-Red: Rashidiya to UAE Exchange Metro-Green: Etisalat to Creek Tram: Jumeirah Lakes Towers to Al Sufouh ) 2:( Bus :Out Metro-Red: UAE Exchange to Rashidiya Metro-Green:Creek to Etisalat Tram:Al Sufouh to Jumeirah Lakes Towers ) | English | Open | numeric | 1 | ||
route_frequency | Average Route Frequency | English | Open | numeric | 3 | ||
route_number_of_services | Number of Services per day | English | Open | numeric | 2 | ||
stop_order_number | Order of Bus Stop in Route | English | Open | numeric | 2 | ||
stop_name | Bus Stop Name | Mix | Open | nvarchar | 200 | ||
stop_id | Bus Stop ID | English | Open | nvarchar | 10 | ||
route_length | Length of Route in case of Bus | English | Open | numeric | 38 | 1-100 | |
operated_days | Number of days of the week, this route operates. in case of Bus | English | Open | numeric | 10 | 1 to 7 | |
operated_hours | Number of hours of the day, this route operates in case of Bus | English | Open | numeric | 10 | 1 to 24 | |
street_name | Name of the street of the Bus Stop | Mix | Open | nvarchar | 200 | ||
stop_location_longitude | Longitude part of Bus Stop Coordinate or Rail/marine station | English | Open | numeric | 9 | ||
stop_location_latitude | Latitude part of Bus Stop Coordinate or Rail/marine station | English | Open | numeric | 9 | ||
bus_stop_type | Type of Bus Stop - Pole, Flag, Covered, AC Shelter | English | Open | nvarchar | 200 | Pole, Flag, Covered, AC Shelter | |
time_table_panel | Yes/No to whether there is a timetable panel available at the stop | English | Open | nvarchar | 5 | Yes/No | |
mupi_available | Yes/NO to whether there is a timetable with map available at the stop. | English | Open | nvarchar | 5 | Yes/No | |
rtpi_available | Yes/No to wheter there is Real Time Passenger Information Available at the stop. | English | Open | nvarchar | 5 | Yes/No | |
last_survey_date | Date of last survey (to show recency of the information). | English | Open | date | 10 | DD/MM/YYYY | |
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