Esempio n. 1
0
 # reportEventBus without location
 url(
     r'^reportEventBus/(?P<pUserId>[0-9a-z-]+)/(?P<pBusService>[\w,0-9]*)/(?P<pBusPlate>[\w,0-9,-]*)/(?P<pEventID>.*)/(?P<pConfirmDecline>.*)$',
     RegisterEventBus.as_view()),
 url(
     r'^reportEventBus/v2/(?P<pUserId>[0-9a-z-]+)/(?P<pUuid>[0-9a-z-]+)/(?P<pBusService>[\w,0-9]*)/(?P<pEventID>.*)/(?P<pConfirmDecline>.*)$',
     RegisterEventBusV2.as_view()),
 url(
     r'^reportEventBusStop/(?P<pUserId>[0-9a-z-]+)/(?P<pBusStopCode>[\w,0-9]*)/(?P<pEventID>.*)/(?P<pLatitud>[\-+]?[0-9]*\.?[0-9]*)/(?P<pLongitud>[\-+]?[0-9]*\.?[0-9]*)/(?P<pConfirmDecline>.*)$',
     RegisterEventBusStop.as_view()),
 url(
     r'^reportEventBusStop/(?P<pUserId>[0-9a-z-]+)/(?P<pBusStopCode>[\w,0-9]*)/(?P<pEventID>.*)/(?P<pConfirmDecline>.*)$',
     RegisterEventBusStop.as_view()),
 # List of events that depend of parameter pWhich={stopstop,stopbus, busbus}
 url(r'^requestEventsToNotified/(?P<pWhich>[\w,0-9]*)$',
     RequestEventsToNotified.as_view()),
 # List of bus events
 url(
     r'^requestEventsForBus/(?P<pRegistrationPlate>[\w,0-9,-]{6,8})/(?P<pBusService>[\w,0-9]*)$',
     EventsByBus.as_view()),
 url(r'^requestEventsForBus/v2/(?P<pUuid>[0-9a-z-]+)$',
     EventsByBusV2.as_view()),
 # List of bus stop events
 url(
     r'^requestEventsForBusStop/(?P<pBusStopCode>[\w,0-9]*)$',
     EventsByBusStop.as_view()),
 # List of bus stop of a service
 url(
     r'^requestBusStopsForService/(?P<pBusService>[\w,0-9]*)$',
     BusStopsByService.as_view()),
 url(