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/
Initialize a session
Initializes a session and returns a session identifier which is required for any further call to the Quote API.
Authorizations:
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
- 200
- default
{- "sessionId": "string"
}
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:
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
- 200
- default
{- "elements": [
- {
- "modelFamily": "string",
- "modelVersion": "string",
- "modelBranch": "string",
- "modelRevision": 0,
- "designerFingerPrint": "string",
- "migrateExistingQuotes": true
}
]
}
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:
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
- Payload
{- "modelFamily": "string",
- "modelVersion": "string",
- "modelBranch": "string",
- "modelRevision": 0,
- "designerFingerPrint": "string",
- "migrateExistingQuotes": true
}
Response samples
- default
{- "operationId": "b91bbf81beb74397ae282d1186aa1798",
- "code": 100,
- "message": "string"
}
Delete model matrix elements
This operation deletes all model matrix elements related to the given environment
Authorizations:
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
- default
{- "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:
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
- 200
- default
{- "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:
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
- default
{- "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:
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
- default
{- "operationId": "b91bbf81beb74397ae282d1186aa1798",
- "code": 100,
- "message": "string"
}
Get sdk model and public model versions
This feature gets quote model versions of sdk and quote model public api
Authorizations:
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
- 200
- default
{- "modelVersions": [
- "string"
]
}
provide a grid definition
This operation provide a grid definition
Authorizations:
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
- 200
- default
{- "gridColumnDefinitions": [
- {
- "id": "string",
- "translation": "string",
- "type": "BOOLEAN",
- "multiple": true,
- "computed": true,
- "userInput": true,
- "refFieldId": "string",
- "refColumnId": "string"
}
], - "gridFieldsDefinitions": [
- {
- "id": "string",
- "translation": "string",
- "type": "BOOLEAN",
- "multiple": true,
- "computed": true,
- "userInput": true,
- "refFieldId": "string"
}
], - "rowTemplateDefinitions": [
- {
- "id": "string",
- "varIsUserInput": {
- "property1": true,
- "property2": true
}
}
], - "viewDefinitions": [
- {
- "id": "string",
- "componentDefinitions": [
- {
- "id": "string",
- "columns": [
- "string"
], - "fields": [
- "string"
], - "isGrid": true
}
]
}
]
}
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:
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
- Payload
{- "modelJsonString": "string",
- "customDataNamespace": "string"
}
Response samples
- 200
- default
{- "validationErrors": [
- "string"
]
}
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:
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
- Payload
{- "modelJsonString": "string",
- "customDataNamespace": "string"
}
Response samples
- 200
- default
{- "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:
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
- 200
- default
{- "validationErrors": [
- "string"
]
}
Validate a spreadsheet model file
This validates the spreadsheet model only, takes a json file containing spreadsheet model as input
Authorizations:
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
- 200
- default
{- "validationErrors": [
- "string"
]
}
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:
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
- 200
- default
{- "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:
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
- 200
- default
{- "modelJsonString": "string",
- "customDataNamespace": "string"
}
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:
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
- 200
- default
{- "locale": "string",
- "translations": [
- {
- "key": "string",
- "value": "string"
}
]
}
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:
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
- 200
- default
{- "locale": "string",
- "translations": [
- {
- "key": "string",
- "value": "string"
}
]
}
Get list of available document generation templates
This operations provides the list of available document generation tempates and the list of related models
Authorizations:
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
- 200
- default
{- "models": [
- {
- "name": "string",
- "activeVersion": "string",
- "activeBranch": "string",
- "activeRevision": 0
}
], - "templates": [
- {
- "name": "string",
- "relatedQuoteModels": [
- "Service Quote Model"
], - "relatedActions": [
- "IAS Word print"
], - "available": true,
- "lastUpdatedOn": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "string"
}
]
}
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:
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
- default
{- "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:
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
- 200
- default
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:
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
- 200
- default
{- "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:
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
domainName | string |
domainFileIdentifier | string |
Responses
Request samples
- Payload
[- {
- "domainName": "string",
- "domainFileIdentifier": "string"
}
]
Response samples
- 200
- default
[- {
- "domainName": "string",
- "revision": 0
}
]
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:
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
- 200
- default
{- "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:
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
- 200
- default
"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:
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
- 200
- default
[- {
- "domainName": "string",
- "revision": 0
}
]
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:
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
- 200
- default
[- {
- "domainName": "string",
- "revision": 0
}
]
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 ':' |
{- "operator": "EQ",
- "columnDef": [
- {
- "operator": "EQ",
- "var": "string",
- "type": "BIG_DECIMAL"
}
], - "rows": [
- [
- {
- "operator": "EQ",
- "values": [
- { }
]
}
]
]
}
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:
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
- 200
- default
{- "supportedLocales": [
- "string"
]
}
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:
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
- 200
- default
{- "supportedCurrencies": [
- "string"
]
}
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:
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
- 200
- default
{- "locale": "string"
}