Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To execute S7 MSE API operations, applications must send an HTTPS POST request to the S7 MSE API endpoint

Note

S7 MSE API doesn't support compressed request in GZIP format, but request for response in response in GZIP format is available (check Headers for more info)

Environments

Follow steps to quickly get an access to API

Excerpt




Test

Production

1

Version

Endpoint

Endpoint

2

0.52

Default

Default



Table of contents:

Table of Contents

Schemas

S7 MSE API doesn't have WSDL, but you can check samples and references for all requests and responses.

Anchor
headers
headers
Headers

The following table describes the HTTP headers that you typically set in a S7 MSE API request:


Name

Mandatory

Key in headers

Description

1

Version of API

Optional

X-API-Version

Depends on version of API that you want to execute

(warning) If you didn't pass Version of API in request a default one will be executed

2

Type of content

Required

Content-Type

Sets the content type of the request. Always "text/xml" or "application/xml"

3

Response compression

Optional

Accept-Encoding

Sets the compressed type of API response. Only "gzip" available

S7 MSE API required requests via HTTPS only.

The following example shows headers of a typical request of 0.52 version API on Test environment:

Code Block
POST /mse HTTP/1.1
Host: https://qa-api.s7airlines.com 
X-API-Version:0.52 
Content-Type:textapplication/xml

Versions

You can use any released versions if your requests conform that syntax. Check references for detailed explanation of input&output parameters and possible errors for every version of API.

If you didn't pass Version of API in request a default one will be executed. You always able to check executed API version in response headers.

But we recommend that you always specify version in all you request to avoid unexpected responses form another versions of API.

Common questions

Excerpt Include
FAQ | S7 MSE API
FAQ | S7 MSE API