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 ===


* paxportal-authorize-Passenger - this tries to authenticate the using passenger against a TravelID-account
* <code>/paxportal-authorize-passenger</code> - 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 [[Dev:PPA - Overview Screen|Passenger Overview Screen]]
* <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>/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]]
* authorize-TravelagentAuthorization-callback -  the callback endpoint for the b-op delegated authentication, which stores the cookie and redirects to the [[Dev:PPA - Travel Agent Overview Screen|Travel Agent Overview Screen]]


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

Revision as of 10:04, 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- 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