ISoapApiService
Sabre SOAP API client for USG
Acquiring Sabre SOAP API client
In order to obtain Sabre SOAP API client and use it you need to import it:
import {ISoapApiService} from "sabre-ngv-communication/interfaces/ISoapApiService";
Then obtain the service inside your source as below:
const soapApi: ISoapApiService = getService(ISoapApiService);
Available methods
Currently available methods:
callSws |
---|
Type Parameteres:
Returns:
|
Authorization in redapp.xml
In order to be able to use specific services, your Red App needs authorization for these services in it’s redapp.xml
file.
For example, to be able to connect to The Air Availability (OTA_AirAvailLLSRQ) API, the redapp.xml
file should contain:
<Authorization name="com.sabre.edge.cf.sws.SWS">
<Action name="OTA_AirAvailLLSRQ" threshold="1" />
</Authorization>