Cyberesa Developers V2027.0.x
Flight API · Getting started

Authentication & workflow

This document describes how to use APIs when accessing CYBERESA Web Services.

It explains the level of security implemented in order to use the APIs.

This document describes also each API, its structure for request and response, which parameters are mandatory and optional and error management.

Authentication & Security

Check Credentials : Login and password sent by user through HTTPS requests

Check if host IP is allowed to access to API

Interface URL

Soap 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

Request

HTTP
POST /cr.ws/Flight.asmx HTTP/1.1
Host: staging.cyberesa.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://localhost/cr.ws/WebServiceRQ"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <WebServiceRQ xmlns="http://localhost/cr.ws">
      <strRQ>string</strRQ>
    </WebServiceRQ>
  </soap:Body>
</soap:Envelope>

Response

HTTP
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <WebServiceRQResponse xmlns="http://localhost/cr.ws">
      <WebServiceRQResult>xml</WebServiceRQResult>
    </WebServiceRQResponse>
  </soap:Body>
</soap:Envelope>

Soap 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

Request

HTTP
POST /cr.ws/Flight.asmx HTTP/1.1
Host: staging.cyberesa.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <WebServiceRQ xmlns="http://localhost/cr.ws">
      <strRQ>string</strRQ>
    </WebServiceRQ>
  </soap12:Body>
</soap12:Envelope>

Response

HTTP
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <WebServiceRQResponse xmlns="http://localhost/cr.ws">
      <WebServiceRQResult>xml</WebServiceRQResult>
    </WebServiceRQResponse>
  </soap12:Body>
</soap12:Envelope>

Http get

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Request

HTTP
GET /cr.ws/Flight.asmx/WebServiceRQ?strRQ=string HTTP/1.1
Host: staging.cyberesa.net

Response

HTTP
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0"?>
xml

Http post

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

Request

HTTP
POST /cr.ws/Flight.asmx/WebServiceRQ HTTP/1.1
Host: staging.cyberesa.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length
strRQ=string

Response

HTTP
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0"?>
xml

Workflow

Workflow diagram
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V) Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE · Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net 30/10/2023 –
© Cyberesa · Flight API V2027.0.x · updated 27/08/2026