Authentication
Client Authentication
In order to login to the system “Login” method is used which is mentioned in “Authentication”. Returned “AuthKey” value which is inside WebServiceLoginResult is used a token when connecting to other methods.
AdminLogin (Retired)
Last Update Date: |
06.03.2017 |
Request Sample
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<AdminLogin xmlns="http://www.sansejour.com/">
<databaseName>GULHAN_1800</databaseName>
<userName>Sejour</userName>
<password>2QrcKUm2Wau+VuBX1g+IRg==</password>
</AdminLogin>
</soap:Body>
</soap:Envelope>
Response Sample
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<AdminLoginResponse xmlns="http://www.sansejour.com/">
<AdminLoginResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table">
<xs:complexType>
<xs:sequence>
<xs:element name="UserId" type="xs:int" minOccurs="0" />
<xs:element name="UserName" type="xs:string" minOccurs="0" />
<xs:element name="FileExtension" type="xs:string" minOccurs="0" />
<xs:element name="FileFolder" type="xs:string" minOccurs="0" />
<xs:element name="WebFirmaKod" type="xs:string" minOccurs="0" />
<xs:element name="Token" type="xs:string" minOccurs="0" />
<xs:element name="Val" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet xmlns="">
<Table diffgr:id="Table1" msdata:rowOrder="0" diffgr:hasChanges="modified">
<UserId>1</UserId>
<UserName>Sejour</UserName>
<FileExtension>.zip,.jpg,.jpeg,.rar,.xls,.txt,.xlsx,.doc,.docx</FileExtension>
<WebFirmaKod>WEB</WebFirmaKod>
<Token>23091620-913f-4598-8ecd-a1b7c045af49</Token>
<Val>pmvY83bn6aZCsTPHOxt2Mq1jkFLHn0D8bWSpowhVDNK/U0m3fgur+WOeCcwymKX9ZwU4iXpgTEdzQgffjd2/SDf7CVY7fLfzb5goalf7Zg9hAuTwGBJp+f/9t+0WH9hj+B6OchiF1NTvcRlJkrelv4lYMfd6ylo0FT7azJYV8IR4</Val>
</Table>
</NewDataSet>
<diffgr:before>
<Table diffgr:id="Table1" msdata:rowOrder="0" xmlns="">
<UserId>1</UserId>
<UserName>Sejour</UserName>
<FileExtension>.zip,.jpg,.jpeg,.rar,.xls,.txt,.xlsx,.doc,.docx</FileExtension>
<WebFirmaKod>WEB</WebFirmaKod>
</Table>
</diffgr:before>
</diffgr:diffgram>
</AdminLoginResult>
</AdminLoginResponse>
</soap:Body>
</soap:Envelope>
CheckToken (Retired)
Parameters Sent: |
Returning Parameter: |
token: If It is the token code used for the entry to the system.(string) |
CheckTokenResult: If Token is valid true, if it is not valid false returns.(boolean) |
Last Update Date: |
06.03.2017 |
Request Sample
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CheckToken xmlns="http://www.sansejour.com/">
<token>dec09fcc-1370-498e-a63a-8570fda21fd7</token>
</CheckToken>
</soap:Body>
</soap:Envelope>
Response Sample
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<CheckTokenResponse xmlns="http://www.sansejour.com/">
<CheckTokenResult>true</CheckTokenResult>
</CheckTokenResponse>
</soap:Body>
</soap:Envelope>
GuideLogin (Retired)
Last Update Date: |
06.03.2017 |
Request Sample
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GuideLogin xmlns="http://www.sansejour.com/">
<databaseName>SEJOUR</databaseName>
<userName>TEST</userName>
<password>1</password>
<Language />
<pdaSerialNumber />
<moduleType />
</GuideLogin>
</soap:Body>
</soap:Envelope>
Response Sample
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GuideLoginResponse xmlns="http://www.sansejour.com/">
<GuideLoginResult>
<Authenticated>true</Authenticated>
<Description>Successfully authenticated in Sejour WebServices</Description>
<AuthKey>71027f2e-0500-4fc4-9f1f-75ab9a2fee59</AuthKey>
<Language />
<DefaultOperator>ALFA</DefaultOperator>
<DefaultOperatorName>ALFA TOUR</DefaultOperatorName>
<connStr></connStr>
<guide>TEST</guide>
<guideName>TEST</guideName>
<allowGuideCollect>Y</allowGuideCollect>
<TicketSerial />
<TicketStartNumber>0</TicketStartNumber>
<TicketEndNumber>0</TicketEndNumber>
<GuidePhone />
<GuideMobilePhone />
<TurWebAdmin>N</TurWebAdmin>
</GuideLoginResult>
</GuideLoginResponse>
</soap:Body>
</soap:Envelope>
Login (Retired)
Parameters Sent: |
Returning Parameter: |
databaseName: (string) |
Authenticated : Process result.(Boolean) |
userName: (string) |
Description : Process result description.(string) |
password: (string) |
AuthKey : It is the token code used for the entry to the system. (string) |
Language: (string) |
Language : |
dmn: (string) |
TourOperatorCode : |
ipAdrs : (string) |
TourOperatorName : |
ipCode : (string) |
TourOperatorNationalty : |
|
TuropAdmin : |
|
ArrFlightNumber : |
|
DepFlightNumber : |
|
DefaultTrfType : Tour Operator's default transfer type.(string) |
|
connStr : Database connection string.(string) |
|
Ratio : |
|
Amount: |
|
AmountDaily : |
|
FlightTotal : |
|
OtherExtras : |
|
ComissionType : |
|
Yetki : |
|
DefaultRegion : |
|
IsFlightTotal : |
|
FlightYetFiy : |
|
FlightCocAge1Min : |
|
FlightCocAge1Max : |
|
FlightCocFiy1 : |
|
FlightCocAge2Min : |
|
FlightCocAge2Max : |
|
FlightCocFiy2 : |
|
FlightCocAge3Min : |
|
FlightCocAge3Max : |
|
FlightCocFiy3 : |
|
IsInsuranceTotal : |
|
InsurancePercent : |
|
InsuranceYetFiy : |
|
InsuranceCocAge1Min : |
|
InsuranceCocAge1Max : |
|
InsuranceCocFiy1 : |
|
InsuranceCocAge2Min : |
|
InsuranceCocAge2Max : |
|
InsuranceCocFiy2 : |
|
InsuranceCocAge3Min : |
|
InsuranceCocAge3Max : |
|
InsuranceCocFiy3 : |
|
FaturaLogoSysParamColumn: |
|
Tip: |
|
TodayDate: |
|
IsAlbenaAvailabilityReportEnabled: |
Last Update Date: |
06.03.2017 |
Request Sample
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<Login xmlns="http://www.sansejour.com/">
<databaseName>SEJOUR2013</databaseName>
<userName>ALFA</userName>
<password>1</password>
<Language />
<dmn />
<ipAdrs />
<ipCode />
</Login>
</soap:Body>
</soap:Envelope>
Response Sample
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<LoginResponse xmlns="http://www.sansejour.com/">
<LoginResult>
<Authenticated>true</Authenticated>
<Description>Successfully authenticated in Sejour WebServices</Description>
<AuthKey>e710581a-f985-40a7-a8e7-808c26177c0f</AuthKey>
<Language />
<TourOperatorCode>ALFA</TourOperatorCode>
<TourOperatorName>ALFA TOUR</TourOperatorName>
<TourOperatorNationalty>ING</TourOperatorNationalty>
<TuropAdmin>Y</TuropAdmin>
<ArrFlightNumber>ARR ?</ArrFlightNumber>
<DepFlightNumber>DEP ?</DepFlightNumber>
<DefaultTrfType>GROUP</DefaultTrfType>
<connStr></connStr>
<Ratio>0</Ratio>
<Amount>0</Amount>
<AmountDaily>-1</AmountDaily>
<FlightTotal>0</FlightTotal>
<OtherExtras>0</OtherExtras>
<ComissionType>false</ComissionType>
<Yetki>1111111111111111111111111111111111</Yetki>
<DefaultRegion>AYT</DefaultRegion>
<IsFlightTotal>false</IsFlightTotal>
<FlightYetFiy>-1</FlightYetFiy>
<FlightCocAge1Min>-1</FlightCocAge1Min>
<FlightCocAge1Max>-1</FlightCocAge1Max>
<FlightCocFiy1>-1</FlightCocFiy1>
<FlightCocAge2Min>-1</FlightCocAge2Min>
<FlightCocAge2Max>-1</FlightCocAge2Max>
<FlightCocFiy2>-1</FlightCocFiy2>
<FlightCocAge3Min>-1</FlightCocAge3Min>
<FlightCocAge3Max>-1</FlightCocAge3Max>
<FlightCocFiy3>-1</FlightCocFiy3>
<IsInsuranceTotal>false</IsInsuranceTotal>
<InsurancePercent>-1</InsurancePercent>
<InsuranceYetFiy>-1</InsuranceYetFiy>
<InsuranceCocAge1Min>-1</InsuranceCocAge1Min>
<InsuranceCocAge1Max>-1</InsuranceCocAge1Max>
<InsuranceCocFiy1>-1</InsuranceCocFiy1>
<InsuranceCocAge2Min>-1</InsuranceCocAge2Min>
<InsuranceCocAge2Max>-1</InsuranceCocAge2Max>
<InsuranceCocFiy2>-1</InsuranceCocFiy2>
<InsuranceCocAge3Min>-1</InsuranceCocAge3Min>
<InsuranceCocAge3Max>-1</InsuranceCocAge3Max>
<InsuranceCocFiy3>-1</InsuranceCocFiy3>
<FaturaLogoSysParamColumn>FaturaAltiLogo</FaturaLogoSysParamColumn>
<Tip>T</Tip>
<TodayDate>2013-11-13T15:54:58.7597656+02:00</TodayDate>
<IsAlbenaAvailabilityReportEnabled>false</IsAlbenaAvailabilityReportEnabled>
</LoginResult>
</LoginResponse>
</soap:Body>
</soap:Envelope>