PROS Performance Quoting - Model public API (1.1.10)

Download OpenAPI specification:Download

The Model Public API provides operations on the model matrix, operations to validate and store a model, and other admin operations.
Warning: Clients consuming this API, or servers implementing this API, must assume that JSON objects are open for extension. Client and Server must not reject new fields that are not part of the Open API contract. This is consistent with the OpenAPI 2.0 specification that is based on the JSON schema specification: Open API object definitions are considered open for extension by default, an additionalProperties directive is not required to make an object definition extensible. OpenAPI specification: https://swagger.io/specification/v2/

Model session

Session operations

Initialize a session

Initializes a session and returns a session identifier which is required for any further call to the Quote API.

Authorizations:
Token
header Parameters
X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

X-quotex-customer-correlation-context
string

Use this optional header to pass external context information.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "sessionId": "string"
}

Model matrix

Model matrix operations

Get model matrix elements.

Get model matrix elements related to the given environment. Each element contains the model family and model version parameters. If there is elements for the requested environment an empty list is returned. A model matrix contains the model versions for each modelFamily (model name) and for each environment

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "elements": [
    ]
}

Store a model matrix element

Store a model matrix element for the given environment. If an element exists for the given environment and model family it will be REPLACED

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Request Body schema: application/json
modelFamily
string
modelVersion
string
modelBranch
string
modelRevision
integer
designerFingerPrint
string
migrateExistingQuotes
boolean
Default: true

Deprecated. The provided value will be ignored. Migrating existing quotes is now mandatory when a model is updated.

Responses

Request samples

Content type
application/json
{
  • "modelFamily": "string",
  • "modelVersion": "string",
  • "modelBranch": "string",
  • "modelRevision": 0,
  • "designerFingerPrint": "string",
  • "migrateExistingQuotes": true
}

Response samples

Content type
application/json
{
  • "operationId": "b91bbf81beb74397ae282d1186aa1798",
  • "code": 100,
  • "message": "string"
}

Delete model matrix elements

This operation deletes all model matrix elements related to the given environment

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "operationId": "b91bbf81beb74397ae282d1186aa1798",
  • "code": 100,
  • "message": "string"
}

Get a model matrix element.

Get the model matrix element correponding to the given environment and model family if it exists.

Authorizations:
Token
path Parameters
modelFamily
required
string

The model family to search in the model matrix

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "modelFamily": "string",
  • "modelVersion": "string",
  • "modelBranch": "string",
  • "modelRevision": 0,
  • "designerFingerPrint": "string",
  • "migrateExistingQuotes": true
}

Check if a model matrix element (model family) exists in the model matrix

Check if a modle matrix element exists

Authorizations:
Token
path Parameters
modelFamily
required
string

The model family to search in the model matrix

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "operationId": "b91bbf81beb74397ae282d1186aa1798",
  • "code": 100,
  • "message": "string"
}

Delete a model matrix element for a model family

This operation delete the model matrix element related to the given environment and model family If no model matrix element if found this method will not return an error

Authorizations:
Token
path Parameters
modelFamily
required
string

The model family to search in the model matrix

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "operationId": "b91bbf81beb74397ae282d1186aa1798",
  • "code": 100,
  • "message": "string"
}

Model operations

Model operations (Operations on the model structure)

Get sdk model and public model versions

This feature gets quote model versions of sdk and quote model public api

Authorizations:
Token
header Parameters
X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "modelVersions": [
    ]
}

provide a grid definition

This operation provide a grid definition

Authorizations:
Token
path Parameters
modelName
required
string

The name of quote model

query Parameters
modelVersion
string

The version of quote model, if null or empty get the latest version

modelBranch
string

The branch of quote model, by default "main"

modelRevision
string

The revision of quote model should be an Integer, if null get the latest revision

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "gridColumnDefinitions": [
    ],
  • "gridFieldsDefinitions": [
    ],
  • "rowTemplateDefinitions": [
    ],
  • "viewDefinitions": [
    ]
}

Validate a quote model. Deprecated before Version 12.13 - will be discontinued as of june 2024. Can be replaced by POST /model/validatefile. Deprecated

This validates the quote model and all underlying models (spreadsheet, data provider, UI).

Authorizations:
Token
query Parameters
ignoreFeatureUpgrade
boolean

Allow model to be validated if the SDK version minor digits (second digits) from the client version is not compatible with the server version

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

X-quotex-modelApiVersion
string

Use this optional header to check technical compatibility of model version.

X-quotex-modelSdkVersion
string

Use this optional header to check technical compatibility of model version.

Request Body schema: application/json
modelJsonString
required
string
customDataNamespace
required
string

Responses

Request samples

Content type
application/json
{
  • "modelJsonString": "string",
  • "customDataNamespace": "string"
}

Response samples

Content type
application/json
{
  • "validationErrors": [
    ]
}

Store a Quote model. Deprecated before Version 12.13 - will be discontinued as of june 2024. Can be replaced by POST /model/storefile. Deprecated

This opertaion stores the quote model and all underlying models (spreadsheet, data provider, UI).

Authorizations:
Token
query Parameters
ignoreFeatureUpgrade
boolean

Allow model to be validated if the SDK version minor digits (second digits) from the client version is not compatible with the server version

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

X-quotex-modelApiVersion
string

Use this optional header to check technical compatibility of model version.

X-quotex-modelSdkVersion
string

Use this optional header to check technical compatibility of model version.

Request Body schema: application/json
modelJsonString
required
string
customDataNamespace
required
string

Responses

Request samples

Content type
application/json
{
  • "modelJsonString": "string",
  • "customDataNamespace": "string"
}

Response samples

Content type
application/json
{
  • "modelId": "string",
  • "version": "string",
  • "branch": "string",
  • "revision": 0,
  • "publicationId": "string"
}

Validate a quote model file

This validates the quote model and all underlying models (spreadsheet, data provider, UI), takes a json model file as input

Authorizations:
Token
query Parameters
ignoreFeatureUpgrade
boolean

Allow model to be validated if the SDK version minor digits (second digits) from the client version is not compatible with the server version

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

X-quotex-modelApiVersion
string

Use this optional header to check technical compatibility of model version.

X-quotex-modelSdkVersion
string

Use this optional header to check technical compatibility of model version.

X-quotex-designer-finger-print
string

Use this optional header to check if request comes from quote designer.

Request Body schema: multipart/form-data
modelFile
required
string <binary>

Model to validate must be a json file

customDataNamespace
required
string

custom data namespace

Responses

Response samples

Content type
application/json
{
  • "validationErrors": [
    ]
}

Validate a spreadsheet model file

This validates the spreadsheet model only, takes a json file containing spreadsheet model as input

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Request Body schema: multipart/form-data
modelFile
required
string <binary>

Model to validate must be a json file containing the spreadsheet model

Responses

Response samples

Content type
application/json
{
  • "validationErrors": [
    ]
}

Store a Quote model file

This opertaion stores the quote model and all underlying models (spreadsheet, data provider, UI), takes a json model file as input

Authorizations:
Token
query Parameters
ignoreFeatureUpgrade
boolean

Allow model to be validated if the SDK version minor digits (second digits) from the client version is not compatible with the server version

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

X-quotex-modelApiVersion
string

Use this optional header to check technical compatibility of model version.

X-quotex-modelSdkVersion
string

Use this optional header to check technical compatibility of model version.

X-quotex-designer-finger-print
string

Use this optional header to check if request comes from quote designer.

Request Body schema: multipart/form-data
modelFile
required
string <binary>

Model to store must be a json file

customDataNamespace
required
string

custom data namespace

Responses

Response samples

Content type
application/json
{
  • "modelId": "string",
  • "version": "string",
  • "branch": "string",
  • "revision": 0,
  • "publicationId": "string"
}

Get a Quote model by its name

This opertaion get the quote model from database by its name and model version information. The model returned has the model public format. If model version information is not provided the model last version will be returned

Authorizations:
Token
path Parameters
modelName
required
string

The name of quote model. Case sensitive

query Parameters
modelVersion
string

The version of quote model, if null or empty get the latest version

modelBranch
string

The branch of quote model, by default "main"

modelRevision
string

The revision of quote model should be an Integer, if null get the latest revision

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "modelJsonString": "string",
  • "customDataNamespace": "string"
}

Model translations

Model translations (grid & quote)

retrieve quote translations for a quote model identifier

This operation retrieves translations for a quote model identifier CAUTION: This API is a BETA version, API signature can change at any time or can be removed.

Authorizations:
Token
path Parameters
quoteModelId
required
string

The identifier of quote model

query Parameters
language
required
string

The language code in lowercase

country
required
string

The country code in uppercase

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "locale": "string",
  • "translations": [
    ]
}

retrieve grid translations for a quote model identifier

This operation retrieves grid translations for a quote model identifier CAUTION: This API is a BETA version, API signature can change at any time or can be removed.

Authorizations:
Token
path Parameters
quoteModelId
required
string

The identifier of quote model

query Parameters
language
required
string

The language code in lowercase

country
required
string

The country code in uppercase

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "locale": "string",
  • "translations": [
    ]
}

Model docGen

Model version operations

Get list of available document generation templates

This operations provides the list of available document generation tempates and the list of related models

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "models": [
    ],
  • "templates": [
    ]
}

Push a new document generation template

This operation uploads a new docGen template (zip file). The template can be used to generate documents with quote data.

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Request Body schema: multipart/form-data
templateFile
required
string <binary>
templateName
required
string

please check that the templateName matches with the main template name in the provided zip file (lowercase, uppercase, whitespaces, ...)

Responses

Response samples

Content type
application/json
{
  • "operationId": "b91bbf81beb74397ae282d1186aa1798",
  • "code": 100,
  • "message": "string"
}

get a document generation template

This operation downloads a template model (zip file). It can be used to generate Quote reports.

Authorizations:
Token
path Parameters
templateName
required
string

The name of template

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
No sample

Model Domains

Model domain operations

Upload a domain file. Deprecated before Version 12.13 - will be discontinued as of september 2023. Can be replaced by domain contract APIs (/domains) Deprecated

This operation uploads a domain file and stores it to be activated later

Authorizations:
Token
path Parameters
domainName
required
string

The name of the domain

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Request Body schema: multipart/form-data
importFile
required
string <binary>

File to import must be plain JSON and have format like DomainsFileFormat defined in model part of this view. The file can also be a ZIP containing one JSON file as described.

Responses

Response samples

Content type
application/json
{
  • "domainName": "string",
  • "domainFileIdentifier": "string"
}

Activate domain files. Deprecated before Version 12.13 - will be discontinued as of september 2023. Can be replaced by domain contract APIs (/domains) Deprecated

This operation activates all given domain files.

Authorizations:
Token
header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Request Body schema: application/json
Array
domainName
string
domainFileIdentifier
string

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
[
  • {
    }
]

Upload and activate a domain file. Deprecated before Version 12.13 - will be discontinued as of september 2023. Can be replaced by domain contract APIs (/domains) Deprecated

This operation upload a domain file and activate it to current environment.

Authorizations:
Token
path Parameters
domainName
required
string

The name of the domain

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Request Body schema: multipart/form-data
importFile
required
string <binary>

File to import must be plain JSON and have format like DomainsFileFormat defined in model part of this view. The file can also be a ZIP containing one JSON file as described.

Responses

Response samples

Content type
application/json
{
  • "domainName": "string",
  • "revision": 0
}

Export a domain file. Deprecated before Version 12.13 - will be discontinued as of september 2023. Can be replaced by domain contract APIs (/domains) Deprecated

This operation exports a domain JSON file with the provided domain name.
By default it will export the lastest domain file revision. A query parameter is available to get a specific domain file revision

Authorizations:
Token
path Parameters
domainName
required
string

The name of the domain

query Parameters
revision
integer

The domain file revision to export. Lastest revision is exported if not provided.

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
"string"

Get list of domain versions. Deprecated before Version 12.13 - will be discontinued as of september 2023. Can be replaced by domain contract APIs (/domains) Deprecated

This operation get the list of all revisions for the given domain on current environment.

Authorizations:
Token
path Parameters
domainName
required
string

The name of the domain

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get list of backups. Deprecated before Version 12.13 - will be discontinued as of september 2023. Deprecated

This operation retrieves the list of all revisions for a domain on current environment.

Authorizations:
Token
path Parameters
domainName
required
string

The name of the domain

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Domains File Format Object

This is the json to use inside a domain file

operator
string
Enum: "EQ" "N_EQ" "LT" "GT" "LE" "GE" "IN" "N_IN" "BETWEEN" "R_BETWEEN" "L_BETWEEN" "S_BETWEEN" "SUBSTRING" "N_SUBSTRING" "N_BETWEEN"
required
Array of objects (domain column definition)

List of column domain definitions

required
Array of objects (domain row) [ items ]

List of row formats on a domain file. To be valid a row must ':'
* - Have as many values as there is column on columnDef
* - Values are given in same order as columDef
* - Values have the type corresponding to its definition

{
  • "operator": "EQ",
  • "columnDef": [
    ],
  • "rows": [
    ]
}

Supported locales

retrieve supported locales for a quote model identifier

This operation retrieves supported locales for a quote model identifier CAUTION: This API is a BETA version, API signature can change at any time or can be removed.

Authorizations:
Token
path Parameters
quoteModelId
required
string

The identifier of quote model

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "supportedLocales": [
    ]
}

Supported currencies

retrieve supported currencies for a quote model identifier

This operation retrieves supported currencies for a quote model identifier CAUTION: This API is a BETA version, API signature can change at any time or can be removed.

Authorizations:
Token
path Parameters
quoteModelId
required
string

The identifier of quote model

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "supportedCurrencies": [
    ]
}

fallback locale

retrieve fallback locale for a quote model identifier

This operation retrieves fallback locale for a quote model identifier CAUTION: This API is a BETA version, API signature can change at any time or can be removed.

Authorizations:
Token
path Parameters
quoteModelId
required
string

The identifier of quote model

header Parameters
X-quotex-sessionId
required
string

Session identifier. Call initSession API to get a session Id

X-quotex-environment
string

Deprecated: Environment identifier. This parameter is deprecated and the environment will be automatically retrieved. If used the provided environment value will be checked against the the environment value automatically found. This header should NOT be used to pass AppPortal environment value.

X-quotex-userId
string

The user identifier -> Optional user email. It will replace the authenticated usedId for certain roles if provided.

Request-Id
string

Use this optional header to correlate many calls to the public API for the same external operation. Must be a UUID without "-" caracters.

X-quotex-system-mode
boolean

Use this optional header to run an API in system mode. The user must have the API_SUPER_USER or AGREEMENT role to be able to use system mode.

Responses

Response samples

Content type
application/json
{
  • "locale": "string"
}