We are working with sabre APIs such as CreateSessionRQ, GetReservationRQ, AddRemarksRQ, EndTransactionRQ, CloseSessionRQ. we have gotton the reservation details using PNR locator through GetReservationRQ after creating the session with CreateSessionRQ. We have the following doubts:
When you call CreateSessionRQ you receive a BinarySecurityToken which identifies a sabre session. You then pass that BinarySecurityToken in the soap header of other saber web service requests.
When you call GetReservationRQ (in stateful mode), the PNR is loaded into the session identified by the BinarySecurityToken. Then when you call AddRemarksRQ, it will add the remark to the PNR that has was loaded in the session by the previous call to GetReservationRQ. The same applies to the EndTransactionRQ service call. It's the BinarySecurityToken that identifies the session that is acted upon by the stateful web service calls.