Mapping Assistant API

Mapping Assistant REST API
More information: https://webgate.ec.europa.eu/CITnet/stash/projects/SDMXRI/repos/mappingassistant-webapi/browse
Contact Info: https://webgate.ec.europa.eu/CITnet/stash/projects/SDMXRI/repos/mappingassistant-webapi/browse
Version: 1.5.0
BasePath:/v1
European Commision (represented by Eurostat) 2017 All rights reserved
http://opensource.org/licenses/EUPL-1.1

Access

Methods

[ Jump to Models ]

Table of Contents

DDB

Dataset

Default

Delete

Get

MappingSet

Patch

Plugins

Post

DDB

Up
post /dataset/plugin/{sid}/{id}
Extract the SQL Query from the dataset extra data (datasetPluginSidIdPost)
Note this POST will return the result.

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Request body

dataset DataSet (required)
Body Parameter — A dataset object

Return type

DataSet

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The dataset with the SQL Query generated DataSet

default

Unexpected error Error

Up
post /ddb/column/{sid}/{id}
Execute the query and get the dataset columns given a storeId, the entityId of a DDB Connection Setting and a SQL Query (ddbColumnSidIdPost)
Note this POST will return the result.

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Request body

query Query (required)
Body Parameter — Search/Query request

Return type

array[DataSetColumn]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The test results from testing the dissemination database connection

default

Unexpected error Error

Up
post /ddb/data/{sid}/{id}
Execute a SQL Query against the Dissemination database (ddbDataSidIdPost)
Note this POST will return the result. Alternative we would have to store the query somewhere at server side.

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Request body

query Query (required)
Body Parameter — Search/Query request

Query parameters

limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The test results from testing the dissemination database connection QueryResult

default

Unexpected error Error

Up
get /ddb/data/{sid}/{id}/table/{tableId}/{field}
Get specific the table and/or view data from the Dissemination database (ddbDataSidIdTableTableIdFieldGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id
tableId (required)
Path Parameter — The resource unique identifier format: id
field (required)
Path Parameter — The field name format: id

Query parameters

limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The table or view QueryResult

default

Unexpected error Error

Up
get /ddb/data/{sid}/{id}/table/{tableId}
Get specific the table and/or view data from the Dissemination database (ddbDataSidIdTableTableIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id
tableId (required)
Path Parameter — The resource unique identifier format: id

Query parameters

columns (optional)
Query Parameter — The columns/components separated by comma
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The table or view QueryResult

default

Unexpected error Error

Up
get /ddb/status/{sid}/{id}
Test the Dissemination database connection (ddbStatusSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Return type

ActionResult

Example data

Content-Type: application/json
{
  "errorMessage" : { },
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "status" : "success"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The test results from testing the dissemination database connection ActionResult

default

Unexpected error Error

Up
get /ddb/table/{sid}/{id}
Get the tables and views from the Dissemination database (ddbTableSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Return type

array[EntityInformation]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The list of tables

default

Unexpected error Error

Up
get /ddb/table/{sid}/{id}/{tableId}
Get specific the table and/or view definition from the Dissemination database (ddbTableSidIdTableIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id
tableId (required)
Path Parameter — The resource unique identifier format: id

Return type

Table

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The table or view Table

default

Unexpected error Error

Dataset

Up
get /dataset/data/{sid}/{id}
Query dataset (datasetDataSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Query parameters

columns (optional)
Query Parameter — The columns/components separated by comma
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

DataSetQueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An array of datasets DataSetQueryResult

default

Unexpected error Error

Up
get /dataset/sql_column/{sid}/{id}
Generate dataset columns from an existing dataset. It wont save the dataset columns just retrieve them (datasetSqlColumnSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Return type

array[DataSetColumn]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An array of DataSetColumn

default

Unexpected error Error

Default

Up
post /dataflow/version/{sid}/{agencyId}/{id}/{sourceVersion}/{targetVersion}
Upgrade dataflow using the provided SDMX structural metadata (dataflowVersionSidAgencyIdIdSourceVersionTargetVersionPost)
Import selected artefacts

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
agencyId (required)
Path Parameter — The SDMX resource maintainable agency ID format: id
id (required)
Path Parameter — The resource unique identifier format: id
sourceVersion (required)
Path Parameter — Source version version string
targetVersion (required)
Path Parameter — target version version string

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

Structure object (required)
Body Parameter — A JSON representing the query request

Query parameters

registryId (optional)
Query Parameter — The id of the registry as it is in the DB format: id

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

Resource created

default

Unexpected error Error

Up
post /entity/{sid}/{entity}/{id}
Copy Entity (entitySidEntityIdPost)
Copy Entity

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type
id (required)
Path Parameter — The resource unique identifier format: id

Query parameters

copyParents (optional)
Query Parameter — Whether to create a copy of the parents as well

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

Resource created

default

Unexpected error Error

Up
post /entity/{sid}/{entity}/{id}/{targetSid}
Copy Entity from source store to target store (entitySidEntityIdTargetSidPost)
Copy Entity

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type
id (required)
Path Parameter — The resource unique identifier format: id
targetSid (required)
Path Parameter — The Target Mapping Assistant Store identifier format: id

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

Resource created

default

Unexpected error Error

Up
post /entity/{sid}/{entity}
Add new Entity (entitySidEntityPost)
Add a new Entity

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

mappingAssistantJson Message (required)
Body Parameter — A Mapping Assistant specific Message

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

Resource created

default

Unexpected error Error

Up
get /log/{id}
Get the log of a current process (logIdGet)

Path parameters

id (required)
Path Parameter — The resource unique identifier format: id

Return type

Log

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The log of the current process Log

303

Requested completed

default

Unexpected error Error

Up
get /plugins/{id}
get the plugin information with the specified id (pluginsIdGet)

Path parameters

id (required)
Path Parameter — The resource unique identifier format: id

Return type

Plugin

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The plugin information with the specified id Plugin

default

Unexpected error Error

Up
get /plugins/{id}/template/connection
get the connection template for a connection plugin with the specificed ID (pluginsIdTemplateConnectionGet)

Path parameters

id (required)
Path Parameter — The resource unique identifier format: id

Return type

ConnectionSettings

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The empty connection settings ConnectionSettings

default

Unexpected error Error

Up
post /registry/{sid}/{registryId}/{structureType}
Import artefacts (registrySidRegistryIdStructureTypePost)
Import selected artefacts

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
registryId (required)
Path Parameter — The id of the registry as it is in the DB format: id
structureType (required)
Path Parameter — The type of the structure requested

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

registryQuery RegistryQuery (required)
Body Parameter — A JSON representing the query request

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

Resource created

default

Unexpected error Error

Up
get /store
Get all available mapping stores (storeGet)

Return type

array[MappingAssistantStore]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An array with all Mapping Assistant store ids

default

Unexpected error Error

Up
post /store
Create a new setting for a mapping assistant store (storePost)

Request body

message ConnectionSettings (required)
Body Parameter — Mapping Asssistant connection settings message to create or replace

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

201

Resource created

409

A connection setting with the same id already exists

default

Unexpected error Error

Up
get /store/{sid}/all
Get a zip file containing all SDMX artefacts and Mapping Assistant entities (storeSidAllGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Return type

File

Example data

Content-Type:

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

A zip file containing all the entities and SDMX artefacts File

default

Unexpected error Error

Up
post /store/{sid}/all
POST a zip file containing the SDMX and entities (storeSidAllPost)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

afile object (required)
Body Parameter — Represents a file. Any kind of file. The consumes identifies the type

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

Requested accepted and is being processed

default

Unexpected error Error

Up
post /store/{sid}/all/{targetSid}
COPY the whole Mapping Assistant DB including the SDMX and entities to the target sid (storeSidAllTargetSidPost)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
targetSid (required)
Path Parameter — The Target Mapping Assistant Store identifier format: id

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

Requested accepted and is being processed

default

Unexpected error Error

Up
get /store/{sid}/entity/all
Get an XML file containing all Mapping Assistant entities (storeSidEntityAllGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Return type

File

Example data

Content-Type: application/xml

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An XML file containing all the entities File

default

Unexpected error Error

Up
post /store/{sid}/entity/all
POST a xml file containing entities (storeSidEntityAllPost)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

afile object (required)
Body Parameter — Represents a file. Any kind of file. The consumes identifies the type

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

Requested accepted and is being processed

default

Unexpected error Error

Up
get /store/{sid}
Get Mapping Assistant store settting with the specified ID (storeSidGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Return type

MappingAssistantStore

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Connection settings for the store MappingAssistantStore

default

Unexpected error Error

Up
get /store/{sid}/languages
Get the all languages used by SDMX artefacts inside a mapping store (storeSidLanguagesGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Return type

Languages

Example data

Content-Type: application/json
{
  "codes" : [ "aeiou" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An array with all language codes available. Languages

default

Unexpected error Error

Up
put /store/{sid}
Replace an existing setting for a mapping assistant store (storeSidPut)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Request body

message ConnectionSettings (required)
Body Parameter — Mapping Asssistant connection settings message to create or replace

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

Store replaced

404

A connection setting with this ID doesn't exist

default

Unexpected error Error

Up
get /store/{sid}/status
Get Mapping Assistant store status (storeSidStatusGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Return type

ActionResult

Example data

Content-Type: application/json
{
  "errorMessage" : { },
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "status" : "success"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Connection settings for the store ActionResult

default

Unexpected error Error

Up
post /store/{sid}/status
Initialize the Mapping Store (storeSidStatusPost)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Request body

Initialize Initialize (required)
Body Parameter — Command to initialize the mapping store DB

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

Requested accepted and is being processed

default

Unexpected error Error

Up
get /store/{sid}/version
Get Mapping Assistant Store version (storeSidVersionGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Return type

Version

Example data

Content-Type: application/json
{
  "version" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Connection settings for the store Version

default

Unexpected error Error

Up
post /store/{sid}/version
Upgrade version (storeSidVersionPost)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Request body

version Version (required)
Body Parameter — A version string

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

Requested accepted and is being processed

default

Unexpected error Error

Delete

Up
delete /entity/{sid}/{entity}/{id}
Delete an entity (entitySidEntityIdDelete)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type
id (required)
Path Parameter — The resource unique identifier format: id

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

entity deleted

default

Unexpected error Error

Get

Up
get /action/{sid}
Retrieve the actions for all users (actionSidGet)
Provides a method getting the user actions

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id

Query parameters

entityId (optional)
Query Parameter — The entity Id
entity (optional)
Query Parameter — The entity type
startDate (optional)
Query Parameter — The start time
endDate (optional)
Query Parameter — The end time

Return type

array[EntityInformation]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The user actions

default

Unexpected error Error

Up
get /action/{sid}/{userName}
Retrieve the actions for all users (actionSidUserNameGet)
Provides a method getting the user actions

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
userName (required)
Path Parameter — The user name format: id

Query parameters

entityId (optional)
Query Parameter — The entity Id
entity (optional)
Query Parameter — The entity type
startDate (optional)
Query Parameter — The start time
endDate (optional)
Query Parameter — The end time

Return type

array[EntityInformation]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The user actions

default

Unexpected error Error

Up
get /ddb/data/{sid}/{id}/table/{tableId}/{field}
Get specific the table and/or view data from the Dissemination database (ddbDataSidIdTableTableIdFieldGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id
tableId (required)
Path Parameter — The resource unique identifier format: id
field (required)
Path Parameter — The field name format: id

Query parameters

limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The table or view QueryResult

default

Unexpected error Error

Up
get /ddb/data/{sid}/{id}/table/{tableId}
Get specific the table and/or view data from the Dissemination database (ddbDataSidIdTableTableIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id
tableId (required)
Path Parameter — The resource unique identifier format: id

Query parameters

columns (optional)
Query Parameter — The columns/components separated by comma
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The table or view QueryResult

default

Unexpected error Error

Up
get /ddb/status/{sid}/{id}
Test the Dissemination database connection (ddbStatusSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Return type

ActionResult

Example data

Content-Type: application/json
{
  "errorMessage" : { },
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "status" : "success"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The test results from testing the dissemination database connection ActionResult

default

Unexpected error Error

Up
get /ddb/table/{sid}/{id}
Get the tables and views from the Dissemination database (ddbTableSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Return type

array[EntityInformation]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The list of tables

default

Unexpected error Error

Up
get /ddb/table/{sid}/{id}/{tableId}
Get specific the table and/or view definition from the Dissemination database (ddbTableSidIdTableIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id
tableId (required)
Path Parameter — The resource unique identifier format: id

Return type

Table

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The table or view Table

default

Unexpected error Error

Up
get /entity/{sid}/{entity}
Retrieve the entities (entitySidEntityGet)
Provides generic methods to retrieve entity IDs

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type

Query parameters

parents (optional)
Query Parameter — The parent or parents of a resource, separated by comma
parentType (optional)
Query Parameter — The type of the SDMX structure resource
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

array[EntityInformation]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

the message containing the entities

default

Unexpected error Error

Up
get /entity/{sid}/{entity}/{id}
Retrieve the entities (entitySidEntityIdGet)
Provides generic methods to retrieve entities optionally with their references

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type
id (required)
Path Parameter — The resource unique identifier format: id

Query parameters

references (optional)
Query Parameter — whether to retrieve references
detail (optional)
Query Parameter — whether to return full detais
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

Message

Example data

Content-Type: application/json
{
  "entities" : {
    "otf" : { },
    "headerTemplates" : { },
    "registry" : { },
    "datasets" : { },
    "genericmappings" : { },
    "ddbconnections" : { },
    "local_codes" : [ "" ],
    "mappingsets" : { },
    "description_source" : [ "" ],
    "transcodingRules" : [ "" ],
    "user" : [ "" ],
    "dataset_column" : { },
    "transcodings" : { }
  }
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

the message containing the entities and optionally their references Message

default

Unexpected error Error

Up
get /plugins
Get all available plugins (pluginsGet)

Query parameters

type (optional)
Query Parameter — filter by plugin type

Return type

array[Plugin]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An array of all plugins, optionally filtered by type

default

Unexpected error Error

Up
get /registry/{sid}/{registryId}/{structureType}
Retrieve the artefacts as stubs (registrySidRegistryIdStructureTypeGet)
Provides a method of getting a structure type as stubs

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
registryId (required)
Path Parameter — The id of the registry as it is in the DB format: id
structureType (required)
Path Parameter — The type of the structure requested

Query parameters

references (optional)
Query Parameter — whether to retrieve references
detail (optional)
Query Parameter — whether to return full detais
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

Message

Example data

Content-Type: application/json
{
  "entities" : {
    "otf" : { },
    "headerTemplates" : { },
    "registry" : { },
    "datasets" : { },
    "genericmappings" : { },
    "ddbconnections" : { },
    "local_codes" : [ "" ],
    "mappingsets" : { },
    "description_source" : [ "" ],
    "transcodingRules" : [ "" ],
    "user" : [ "" ],
    "dataset_column" : { },
    "transcodings" : { }
  }
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

the message containing the stubs Message

default

Unexpected error Error

MappingSet

Up
get /mappingset/data/{sid}/{id}
Query Mapped Data (mappingsetDataSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Query parameters

columns (optional)
Query Parameter — The columns/components separated by comma
criteria (optional)
Query Parameter — The criteria separated by comma
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The query result QueryResult

default

Unexpected error Error

Up
get /mappingset/validationerrors/{sid}/{id}
Query Mapped Data (mappingsetValidationerrorsSidIdGet)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Query parameters

columns (optional)
Query Parameter — The columns/components separated by comma
criteria (optional)
Query Parameter — The criteria separated by comma
limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

ActionResult

Example data

Content-Type: application/json
{
  "errorMessage" : { },
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "status" : "success"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The query result ActionResult

default

Unexpected error Error

Patch

Up
patch /entity/{sid}/{entity}/{id}
Patch an entity (entitySidEntityIdPatch)
Patch an entity, in other words update it using the JSON PATCH (RFC 6902)

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
entity (required)
Path Parameter — The entity type
id (required)
Path Parameter — The resource unique identifier format: id

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

patch PatchRequest (required)
Body Parameter — A JSON Patch message. See RFC 6902

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

Changes applied successfully

400

Malformed patch document.

404

resource not found

409

Conflicting state or modification

415

Unsupported patch document

422

Unprocessable request

default

Unexpected error Error

Plugins

Up
get /plugins
Get all available plugins (pluginsGet)

Query parameters

type (optional)
Query Parameter — filter by plugin type

Return type

array[Plugin]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

An array of all plugins, optionally filtered by type

default

Unexpected error Error

Post

Up
post /dataset/plugin/{sid}/{id}
Extract the SQL Query from the dataset extra data (datasetPluginSidIdPost)
Note this POST will return the result.

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Request body

dataset DataSet (required)
Body Parameter — A dataset object

Return type

DataSet

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The dataset with the SQL Query generated DataSet

default

Unexpected error Error

Up
post /ddb/column/{sid}/{id}
Execute the query and get the dataset columns given a storeId, the entityId of a DDB Connection Setting and a SQL Query (ddbColumnSidIdPost)
Note this POST will return the result.

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Request body

query Query (required)
Body Parameter — Search/Query request

Return type

array[DataSetColumn]

Example data

Content-Type: application/json
[ "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The test results from testing the dissemination database connection

default

Unexpected error Error

Up
post /ddb/data/{sid}/{id}
Execute a SQL Query against the Dissemination database (ddbDataSidIdPost)
Note this POST will return the result. Alternative we would have to store the query somewhere at server side.

Path parameters

sid (required)
Path Parameter — The Mapping Assistant Store identifier format: id
id (required)
Path Parameter — The resource unique identifier format: id

Request body

query Query (required)
Body Parameter — Search/Query request

Query parameters

limit (optional)
Query Parameter — max records to return format: int32
page (optional)
Query Parameter — the page to retrieve format: int32

Return type

QueryResult

Example data

Content-Type: application/json
{
  "columns" : [ "aeiou" ],
  "total_rows" : 6,
  "links" : [ {
    "rel" : "self",
    "href" : "http://example.com/aeiou",
    "type" : "aeiou",
    "title" : "aeiou",
    "info" : {
      "name" : "aeiou",
      "description" : "aeiou",
      "entityId" : "aeiou",
      "details" : {
        "key" : "aeiou"
      }
    }
  } ],
  "page" : 0,
  "rows" : [ "" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The test results from testing the dissemination database connection QueryResult

default

Unexpected error Error

Models

[ Jump to Methods ]

Table of Contents

  1. ActionResult -
  2. Component -
  3. ConnectionParameterObject -
  4. ConnectionParameters -
  5. ConnectionSettings -
  6. Contact -
  7. DDBConnection -
  8. DDBConnectionMap -
  9. DataSet -
  10. DataSetColumn -
  11. DataSetColumnMap -
  12. DataSetMap -
  13. DataSetQueryResult -
  14. DescriptionSource -
  15. Entities -
  16. EntityInformation -
  17. Error -
  18. Field -
  19. HeaderTemplate -
  20. HeaderTemplateMap -
  21. Initialize -
  22. Languages -
  23. Link -
  24. Log -
  25. LogEntry -
  26. Mapping -
  27. MappingAssistantStore -
  28. MappingMap -
  29. MappingSet -
  30. MappingSetMap -
  31. Message -
  32. OTF -
  33. OTFMap -
  34. Party -
  35. PatchDocument -
  36. PatchRequest -
  37. PeriodTimeTranscodingEntry -
  38. Permissions -
  39. Plugin -
  40. Query -
  41. QueryResult -
  42. Registry -
  43. RegistryMap -
  44. RegistryQuery -
  45. Row -
  46. RowNameable -
  47. SimpleEntityInformation -
  48. Table -
  49. TextType -
  50. TimeTranscoding -
  51. TimeTranscodingEntry -
  52. Transcoding -
  53. TranscodingMap -
  54. TranscodingRule -
  55. TranscodingScript -
  56. User -
  57. Version -
  58. identifiable -

ActionResult - Up

The result of action
status (optional)
Enum:
success
error
errorMessage (optional)
links (optional)

Component - Up

A SDMX Component -or- a fixed concept outside a DSD. Note this is Nameable because it may carry as a component the concepts name.
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
id (optional)
String The ID that should be visible to the user.This is the SDMX identifier format: id
type (optional)
String component type
Enum:
Dimension
MeasureDimension
TimeDimension
DataAttribute
PrimaryMeasure
CrossSectionalMeasure
NotComponent

ConnectionParameterObject - Up

A parameter object for Connections
links (optional)
type (optional)
Enum:
enum
number
boolean
string
password
value (optional)
allowedValues (optional)
array[String] Hint of the allowed values or the enumeration
defaultValue (optional)
required (optional)
advanced (optional)

ConnectionParameters - Up

The set of advance parameters provided by the driver of a database vendor

ConnectionSettings - Up

Represents the connection configuration to a Database/Store
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
type (optional)
String The database vendor code
subtype (optional)
String format: id
properties (optional)

Contact - Up

name (optional)
department (optional)
role (optional)
email (optional)
array[String] format: email
additionalProperties (optional)

DDBConnection - Up

Represents the connection configuration to a Dissemination Database
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
type (optional)
String The database vendor code
subtype (optional)
String format: id
properties (optional)
decription (optional)
permissions (optional)

DDBConnectionMap - Up

DataSet - Up

Represents a Mapping Assistant DataSet object. Such objects store the query to a Dissemination database
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
connection (optional)
query (optional)
String The SQL Query
extra_data (optional)
String Query editor plugin specific extra information, e.g. DATASET.XML_QUERY in Mapping Store. This might need to be encoded
editorType (optional)
String The editor type
permissions (optional)

DataSetColumn - Up

A DataSet column
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
last_updated (optional)
String format: datetime
isMapped (optional)
Enum:
no
yes
yes_and_transcoded

DataSetColumnMap - Up

DataSetMap - Up

DataSetQueryResult - Up

Represents a (partial) tabular result of a query. Local codes may have description
page (optional)
Integer format: int32
total_rows (optional)
Integer format: int32
columns (optional)
links (optional)
rows (optional)

DescriptionSource - Up

The description source of the values of a DataSet Column
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
table (optional)
String The name of the table containing the descriptions
relation_field (optional)
String The name of the field which can joined with the dataset column in the SQL Query
description_field (optional)
String The name of the field that contains the description text

Entities - Up

A collection of entities
mappingsets (optional)
datasets (optional)
ddbconnections (optional)
transcodings (optional)
genericmappings (optional)
headerTemplates (optional)
registry (optional)
dataset_column (optional)
transcodingRules (optional)
local_codes (optional)
description_source (optional)
user (optional)
otf (optional)

EntityInformation - Up

Entity information
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)

Error - Up

code (optional)
Integer Provides a code number for the error message. Code numbers are defined in the SDMX 2.1 Web Services Guidelines. format: int32
message (optional)
String Provides the error message. Error messages are fully customizable by the service providers and should provide enough detail to ease understanding the reasons of the error.

Field - Up

A table field
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
type (optional)

HeaderTemplate - Up

A SDMX Header template used for data transmission
entityId (optional)
String The entity ID
name (optional)
String The transmission name
description (optional)
details (optional)
parentId (optional)
Links (optional)
dataSetAgencyId (optional)
String The DataSet Agency ID format: agency
source (optional)
test (optional)
Boolean Indicates whether the message is for test purposes or not. False for normal messages
sender (optional)
receiver (optional)

HeaderTemplateMap - Up

Initialize - Up

initialize (optional)
Boolean initialize the mapping store

Languages - Up

The list of available languages (SDMX wise)
codes (optional)

Link - Up

A HATEOAS link implementation based on SDMX-JSON implementation
rel (optional)
String relationship
Enum:
self
parent
dataset
ddb
dataflow
datastructure
localdata
data
categoryscheme
sdmx_code
codelist
local_code
transcoding
transcoding_rule
next
previous
time_transcoding
header
href (optional)
String A complete URL that uniquely defines the resource format: url
type (optional)
String A hint about the type of representation returned by the link
title (optional)
String A human-friendly description of the target link.
info (optional)

Log - Up

Log of a process
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
entries (optional)

LogEntry - Up

Represents a single log entry
level (optional)
Enum:
info
debug
warning
error
timestamp (optional)
Date format: date-time
message (optional)

Mapping - Up

Represents a mapping between a component and a dataset column
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
component (optional)
dataset_column (optional)
array[DataSetColumn] The Dissemination Database column
constant_value (optional)
String The constant value
type (optional)
String The type of mapping.
defaultValue (optional)
String The default value to use when there is no transcoding or the the DDB returns a null/empty value. In other words this is mapped to empty/null values.

MappingAssistantStore - Up

Settings for Mapping Assistant Store
entityId (optional)
String The entity ID
name (optional)
String The connection name
description (optional)
details (optional)
parentId (optional)
Links (optional)
type (optional)
String The database vendor code
subtype (optional)
String format: id
properties (optional)
db_name (optional)
String The database name
status (optional)
String The current status of the store.
Enum:
OK
NeedsUpgrade
ErrorsFound
NotInitialized
version (optional)
String The version of the store format: version

MappingMap - Up

MappingSet - Up

Represents a Mapping Set with its mappings. The parent points to the dataflow
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
dataset (optional)

MappingSetMap - Up

Message - Up

The Mapping Assistant JSON Message. It can contain all objects of a Mapping Store
entities (optional)

OTF - Up

Contains the definition of a On The Fly DSD

OTFMap - Up

Party - Up

Information about a party receiving or transmiting a message
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
id (optional)
contact (optional)

PatchDocument - Up

A JSONPatch document as defined by RFC 6902
op
String The operation to be performed
Enum:
add
remove
replace
move
copy
test
path
String A JSON-Pointer
value (optional)
Object The value to be used within the operations.
from (optional)
String A string containing a JSON Pointer value.

PatchRequest - Up

PeriodTimeTranscodingEntry - Up

This holds the start position, the length and column of a period and the rules
column (optional)
start (optional)
Integer The start position of the year or period
length (optional)
Integer The length of the year or period
rules (optional)

Permissions - Up

Dataflow / Category permissions. URN is the key

Plugin - Up

Plugin metadata information
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
type (optional)
Enum:
dataset
db_vendor

Query - Up

Represents either a table or a SQL query which is send by the client
sqlQuery (optional)

QueryResult - Up

Represents a (partial) tabular result of a query.
page (optional)
Integer format: int32
total_rows (optional)
Integer format: int32
columns (optional)
links (optional)
rows (optional)

Registry - Up

Contains the details of a Registry connection
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
password (optional)
technology (optional)
url (optional)
username (optional)

RegistryMap - Up

RegistryQuery - Up

agencyId (optional)
version (optional)
id (optional)

Row - Up

represents a single data row

RowNameable - Up

Represents a row of codes with name/description

SimpleEntityInformation - Up

Basic entity information
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)

Table - Up

A table from the DDB
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
type (optional)
Enum:
table
view
fields (optional)

TextType - Up

Represents a localised text with its language code which acts as key to this map

TimeTranscoding - Up

Represents the Time Transcoding for a specific Frequency
frequency (optional)
String The frequency Code
Enum:
A
M
Q
S
W
date_column (optional)
year (optional)
period (optional)
is_date_time (optional)
Boolean A value indicating whether this time transcoding date_column points to a column of date time/timestamp field

TimeTranscodingEntry - Up

This holds the start position, the length and column of a year and/or period
column (optional)
start (optional)
Integer The start position of the year or period
length (optional)
Integer The length of the year or period

Transcoding - Up

Represents a Coded/Time Transcoding
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
expression (optional)
script (optional)
time_transcoding (optional)
map[String, TimeTranscoding] A Map/Dictionary with key the frequency code and value the Time Transcoding

TranscodingMap - Up

TranscodingRule - Up

Represents a Coded Transcoding
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
code (optional)
local_codes
uncodedValue (optional)
String The value used only when mapping uncoded components

TranscodingScript - Up

Represents a Transcoding script
name (optional)
String The script name that it appears in the GUI
content (optional)
String The script content

User - Up

Contains the details about a user
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
password (optional)
roles (optional)
permissions (optional)

Version - Up

Represents a version
version (optional)
String format: version

identifiable - Up

An SDMX identifiable object
entityId (optional)
String The entity ID
name (optional)
description (optional)
details (optional)
parentId (optional)
Links (optional)
id (optional)
String The ID that should be visible to the user.This is the SDMX identifier format: id