What is it?
DC Profile Services
The Stateless Profiles Service is used to create a Web or Frequent Flyer profile for the user, retrieve a user profile, create a Travel Bank account (BT), or link the Travel Bank account with the user profile.
Why use it?
Capabilities
The Stateless Profile Service allows airlines to retrieve their user profiles, create a Web or Frequent Flyer profile for the user, create a Travel Bank account (BT), or link the Travel Bank account to the respective user profiles.
- The
create
service is used to create a Web or Frequent Flyer profile for the user, along with a Travel Bank account (based on the flag namecreateTravelBankAccount
used in the request). - The
createTravelBank
service is used to create a Travel Bank account, if the user profile is not associated with one. - The
retrieve
service is used to retrieve the user profile.
How it works
Scenarios - Flow of Services
Retrieve an existing Web profile:
- User retrieves an existing Web or Frequent Flyer profile using
POST
method with the username and password or SSO. - System displays profile to user
Create a Web or Frequent Flyer profile:
- User sends a request to create a Web or Frequent Flyer profile.
- User creates a Web profile with these mandatory fields:
givenName
,surname
,emails
,userName
,password
,profileType
. - System creates profile, and displays profile to user
Create a Web or Frequent Flyer profile and Travel Bank (BT) account:
- User sends a request to create Web or Frequent Flyer profile.
- User creates a Web profile with the mandatory fields (as listed above), along with
createTravelBankAccount:true
andtravelbankMarketCode
- Service creates the profile, and TravelBank account number.
Link a Travel Bank account:
- User sends a request with username or SSO token.
- System retrieves users profile, and maps the search response data to
createTravelBank
request. - System creates a TravelBank account number and maps it to the profiles payment section.
- System returns the created BT account number.
How to use
Download the postman collection with sample usecase(s) of Stateless Profiles service. The collection contains details about setting up and performing operations using stateless services.