Dev:PAX Portal API: Difference between revisions

From Kordeus Wiki
Jump to navigation Jump to search
Stefanseiler (talk | contribs)
No edit summary
Stefanseiler (talk | contribs)
No edit summary
Line 1: Line 1:
=== User authentication endpoints ===
=== User authentication endpoints ===


* <code>/paxportal-authorize-passenger</code> - this tries to authenticate the using passenger against a TravelID-account
* <code>/paxportal-authorize-travelid-start</code> - this triggers the user authentication a TravelID-account
* <code>/paxportal-authorize-passenger-callback</code> - the callback endpoint for travelID, which stores the cookie and redirects 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 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]]


=== Regular operations endpoints ===
=== Regular operations endpoints ===

Revision as of 10:07, 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 Dev:PPA - Travel Partner Overview Screen

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

See also