We are developing a .Net MVC application which display travel itenary information of our employees and it is read only . We are making use of Sabre to Book the tickets .
The ticket booking is a manual process and because of that no information regarding the booking is saved in our database.
Question 1 .
The new .Net app is developed to give each employees a read only view of there Itinary . How this could be achieved ?
Question 2 .
The Service endpoint TravelItineraryReadRQ is expecting a "UniqueID" which we are not having . Is it same as the PNR number or how can we obtain the "UniqueId" ?
Question 3.
The Service endpoint DailySalesReportLLSRQ is returning a list of IssuanceData which contains "ItineraryRef" .Can I use this id as "UniqueId" for TravelItineraryReadRQ ?
Question 4 .
In the TravelItineraryReadRQ response is there Hotel information available or do we need additional API call for that ?
I'm assuming that you already have a webservices contract, if not, you'll have to contact their sales department (or account executive).
Question 1 .
I will not go into the programming details, this is for you to handle. As you put bellow the service would be TravelItineraryRead
Question 2 .
It is the 6 characters of the reservation id, a.k.a. PNR (Passenger Name Record) or Record Locator.
Question 3.
Yes
Question 4 .
If the reservation contains a hotel segment, then yes:
TravelItineraryReadRS\TravelItineraryItineraryInfo\ReservationItems\Item\Hotel
Question 2.
The Service endpoint TravelItineraryReadRQ is expecting a "UniqueID" which we are not having. Is it same as the PNR number or how can we obtain the "UniqueId"?
Ans: TravelItineraryReadRQ "UniqueId" means PNR.
Related
How to get the role definitions by Azure management API which can only be assigned at "Resource" scope?
When executing following query, all the role definitions are returned by the API:
GET https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Compute/virtualMachines/<virtualMachineName>/providers/Microsoft.Authorization/roleDefinitions?api-version=2018-01-01-preview
The above return role definitions like AcrPull or AcrImageSigner which seems not be right role definitions for a virtual machine. In Azure portal, don't see these role definitions listed also.
As per this Microsoft documentation, it seems that $filter=atScopeAndBelow() can be applied as OData filter, but it throws the bad request exception stating
The filter 'atScopeAndBelow()' is not supported. Supported filters are either roleName eq '{value}' or type eq 'BuiltInRole|CustomRole'.
Any guidance to get only the role definitions which are validate at Resource scope level?
Note - there was a similar question asked 5 years back but it has no responses.
You can give below command to list all the roles and their description.
Get-AzRoleDefinition | FT Name, Description
For assigning the role for resource scope you can directly do it from azure portal itself. This is the procedure that you can follow.
Select the resource that you want to assign.
Under Manage, select Roles to see the list of roles for Azure resources.
Select a member or group you want to assign to the role and then click Select.
For more information you can refer it from HERE.
I had created a bot using bot framework composer and integrated it with MS Teams with help of the azure web app.
Now I need to get the login user(MS Team) information i.e. the user who using the bot.
I need to get the user information and log it in the azure application insights using Bot Framework Composer.
Can anyone help me with it?
Get UserID from ${turn.activity.aadObjectId}
Get more user information by Microsoft Graph: https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=http
In MS Teams, with each new interaction with the bot, a "conversation Update activity" is first sent to the bot, this is what triggers the welcome greeting. You get back the following context in the returned JSON - in the Turn.Activity memory scope.
...snip...
"serviceUrl":"https://smba.trafficmanager.net/emea/",
"channelId":"msteams",
"from":{
"id":"<<Unique MS Teams Identifier for the end user>>",
"name":"<<AAD firstname surname is returned here>>",
"aadObjectId":"<<GUID is returned here>>",
"role":"user"
},
...snip...
You can Use the aadObjectId to query the MS Graph using an HTTPRequest if you want to get further info. Or just use the persons "name" field (which is from AAD) if that is good enough.
UseCase : I want to make the manager comments mandatory in soa /oim workflow before accepting rejecting any request from user .
Please suggest .
Thanks in advance .
Open the workflow in the Jdevloper.
Double click on [YourTaskName]Task.task -> In General-> Outcomes ->
click search button
Click the outcome requiring comments and check "REJECT" and "ACCEPT" check box
Redeploy the composite on to soa server.
The service GetPassengerDataRQ responds me with the message:
Did not find a hosted air segment in reservation
I'am using ItineraryRef from create passenger name record response
(Here is the response) and here is the request to Get Passenger Data
Thanks!
If you are trying to retrieve a PNR by record locator, you should be using either TravelItineraryReadRQ or getReservationRQ.
https://developer.sabre.com/docs/read/soap_apis/management/itinerary/get_itinerary/
https://developer.sabre.com/docs/read/soap_apis/management/itinerary/Retrieve_Itinerary
Can anyone please provide perfect steps to create PNR on sabre from session create till PNR and session close. I also need WSDL URLs for these steps.
Note: TravelItineraryAddInfoRQ + TravelItineraryReadRQ + EndTransaction can be summarized in a single step by calling PassengerDetailsRQ
Steps for Create PNR in sabre System
setp1. OTA_AirAvailLLSRQ
setp2. EnhancedAirBookRQ
step3. TravelItineraryAddInfoRQ ( add passenger details)
step4. TravelItineraryReadRQ (Confirm Passenger Details)
step5. EndTransactionRQ
Note: this Steps should have same sessions. After EndTransactionRQ you will get PNR
More Details use following link
https://developer.sabre.com/