Dev:PAX Portal API: Difference between revisions
Stefanseiler (talk | contribs) No edit summary |
Stefanseiler (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
* <code>/paxportal-authorize-travelid-start</code> - this triggers the user authentication a TravelID-account | * <code>/paxportal-authorize-travelid-start</code> - this triggers the user authentication a TravelID-account | ||
* <code>/paxportal-authorize-travelid-callback</code> - the callback endpoint for travelID, which creates after successful authentication a local user access token and stores it as cookie and redirects the user to the [[Dev:PPA - Overview Screen|Passenger Overview Screen]] | * <code>/paxportal-authorize-travelid-callback</code> - the callback endpoint for travelID, which creates after successful authentication a local user access token and stores it as cookie and redirects the user to the [[Dev:PPA - Overview Screen|Passenger Overview Screen]] | ||
*<code>/authorize-travelagent</code>- endpoint invoked by the [[Dev:PPA - TravelagentLoginScreen|travel agent login screen]], which does the b-op delegated authentication, which after success, stores the cookie and redirects to the [[Dev:PPA - Travel Partner Overview Screen]] | *<code>/authorize-travelagent</code>- endpoint invoked by the [[Dev:PPA - TravelagentLoginScreen|travel agent login screen]], which does the b-op delegated authentication, which after success, stores the cookie and redirects to the [[Dev:PPA - Travel Partner Overview Screen|Travel Partner Overview Screen]] | ||
=== Regular operations endpoints === | === Regular operations endpoints === | ||
* <code>/get-assistancerequests-of-pax</code> - Provides the passenger-digital-UID and returns the data required for the [[Dev:PPA - Overview Screen|Passenger Overview Screen]] | |||
* <code>/get-assistancerequests-of-travelPartner</code> - Provides the travel-partner-uid and travel-agent-userID and returns the data required for the [[Dev:PPA - Travel Partner Overview Screen|Travel Partner Overview Screen]] | |||
* <code>/get-assistancerequests-of-travelPartner</code> - | |||
--> get-assistancerequests-of-travelPartner | |||
--> TravelParter-UID | --> TravelParter-UID | ||
Revision as of 10:09, 25 August 2025
User authentication endpoints
/paxportal-authorize-travelid-start- this triggers the user authentication a TravelID-account/paxportal-authorize-travelid-callback- the callback endpoint for travelID, which creates after successful authentication a local user access token and stores it as cookie and redirects the user to the Passenger Overview Screen/authorize-travelagent- endpoint invoked by the travel agent login screen, which does the b-op delegated authentication, which after success, stores the cookie and redirects to the Travel Partner Overview Screen
Regular operations endpoints
/get-assistancerequests-of-pax- Provides the passenger-digital-UID and returns the data required for the Passenger Overview Screen/get-assistancerequests-of-travelPartner- Provides the travel-partner-uid and travel-agent-userID and returns the data required for the Travel Partner Overview Screen/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