Dev:PAX Portal API: Difference between revisions
Stefanseiler (talk | contribs) No edit summary |
Stefanseiler (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
* paxportal-authorize-Passenger - this tries to authenticate the using passenger against a TravelID-account | * paxportal-authorize-Passenger - this tries to authenticate the using passenger against a TravelID-account | ||
* paxportal-authorize-Passenger-callback - the callback endpoint for travelID, which stores the cookie and redirects to the | * paxportal-authorize-Passenger-callback - the callback endpoint for travelID, which stores the cookie and redirects to the [[Dev:PPA - Overview Screen|Passenger Overview Screen]] | ||
* authorize-Travelagent - Travelagent delegated authentication endpoint | * authorize-Travelagent - Travelagent delegated authentication endpoint | ||
Revision as of 09:55, 25 August 2025
User authentication endpoints
- paxportal-authorize-Passenger - this tries to authenticate the using passenger against a TravelID-account
- paxportal-authorize-Passenger-callback - the callback endpoint for travelID, which stores the cookie and redirects to the Passenger Overview Screen
- authorize-Travelagent - Travelagent delegated authentication endpoint
Regular operations endpoints
--> get-assistancerequests-of-pax
--> PAX-UID
<-- Overviewdata
--> get-assistancerequests-of-travelPartner
--> TravelParter-UID
TravelAgent-UID
<-- Groups + Data of first group
--> get-assistancerequests-of-group
--> group-UID
<-- Group data for overview
--> CreateNewRequest
--> PAXUID (if knwon)
--> TravelpartnerUID (if knwon)
--> TravelagentUID (if knwon)
--> TargetGroupUID (if knwon)
<-- RequestUID
--> get-headerpage-data
--> RequestUID
<-- Headerdetails
--> send-headerpage-data
--> HeaderDetails
<-- StateOfPersistance
--> get-serviceselectionpage-data
--> RequestUID
<-- ServiceSelectionPageDataAndOptions
--> send-serviceselectionpage-data
--> ServiceSelectionData
<-- State of Persistance
--> get-finalizationpage-data
--> RequestUID
<-- PageDataAndOptions
--> send-finalizationpage-data
--> ServiceSelectionData
<-- State of Persistance
--> cancel-request
--> requestID
<-- OK
--> file-request
--> requestID
<-- OK