Application Programming Interface (API)¶
Note
This section is under construction.
-
GET
/Api/About
¶ Returns a version info record containing version number and build date.
- Status Codes
200 OK – About info record.
-
GET
/Api/Actions/{id}
¶ Gets the action with the specified id.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – The action with the specified id.
404 Not Found – Action with specified id not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Actions/{id}
¶ Deletes the action with the specified id.
- Parameters
id (integer:int32, required) – The id of the action that should be deleted.
- Status Codes
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
POST
/Api/Actions
¶ Creates a new action action.
- Status Codes
201 Created – A record of the created action.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/{id}/Settings
¶ Get the action with the provided id
- Parameters
id (integer:int32, required) –
- Status Codes
200 OK – The SettingsDto of the requested action id
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PATCH
/Api/Actions/{id}/Settings
¶ Patch the action settings for action with provided id.
- Parameters
id (integer:int32, required) – Action id
- Status Codes
200 OK – The patched action settings
401 Unauthorized – Authorization error.
404 Not Found – Not found.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/{id}/Settings
¶ Sets the action settings of the provided action settings xml file.
- Parameters
id (integer:int32, required) – Id of the action that should be set.
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/{id}/Clone
¶ Clones the (standard)action to a custom action.
- Parameters
id (integer:int32, required) – The id of the action.
- Query Parameters
custom (boolean) – Create a custom action, only applicable when the original action is a standard action
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/{id}/DataSources
¶ Get the action datasources for the action with the provided id
- Parameters
id (integer:int32, required) –
- Status Codes
200 OK – The datasources configuration DTO of the requested action id
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/{id}/DataSources
¶ Sets the action settings of the provided action data source config xml file.
- Parameters
id (integer:int32, required) – Id of the action that should be cloned.
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
POST
/Api/Actions/UploadActionZipFile/{idWorkspace}
¶ Creates an upload task that creates an action from an action+data zip file. Returns the task id for monitoring the progress.
- Parameters
idWorkspace (integer:int32, required) – Id of the action that should be cloned.
- Status Codes
200 OK – Task id of the upload task.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/UpdateMetaData/{id}
¶ Updates the action meta data.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action meta data.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/ConvertToCustomAction/{id}
¶ Converts the (standard)action to a custom action.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/UpdateStandardActionVersion/{id}
¶ Updates the (standard)action to use the latest standard action version.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/SetIsCompute/{id}
¶ Specifies whether the data of a (sub)module of the action should be computed or obtained from data.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/SetActionDataSource/{id}
¶ Adds a data source to the data source configuration of the action.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/ReplaceActionDataSource/{id}
¶ Replaces an action data source with another data source.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/GetSummary/{id}
¶ Returns the summary of the action with the specified id.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – Summary section of the specified action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/GetDataReadingSummary/{id}
¶ Returns the data reading summary of the specified (sub-)module for the action with the specified id.
- Parameters
id (integer:int32, required) – The id of the action.
- Query Parameters
actionType (required) – The id of the (sub-)module
- Status Codes
200 OK – The data reading summary of the specified (sub-)module for the action with the specified id.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/GetDataSelection/{id}
¶ Retrieves a data entities page for the provided table.
- Parameters
id (integer:int32, required) –
- Query Parameters
entityType (required) –
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/GetDataReadingEntityRecords/{id}
¶ Retrieves a data entities page for the provided table.
- Parameters
id (integer:int32, required) –
- Query Parameters
tableGroupId (required) –
scopingType (required) –
filteredStatusTypes (array) –
page (integer:int32) –
pageSize (integer:int32) –
sort (string) –
order (string) –
- Status Codes
200 OK – A collection of data reading summary records.
404 Not Found – Not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/GetDataLinkingEntityRecords/{id}
¶ Get action data linking records.
- Parameters
id (integer:int32, required) –
- Query Parameters
tableGroupId (required) –
scopingType (required) –
referencedScopingType (required) –
filteredStatusTypes (array) –
page (integer:int32) –
pageSize (integer:int32) –
sort (string) –
order (string) –
- Status Codes
200 OK – A collection of data linking summary records.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/SetScope/{id}
¶ Sets the action scope. I.e., specify which data entities (specified by their codes) should be considered in the action.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/ClearScope/{id}
¶ Clears the action scope/data selection.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/ExtendScope/{id}
¶ Extends the action scope.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Actions/ReduceScope/{id}
¶ Reduces the action scope.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – A record of the updated action.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/{id}/Settings/Export
¶ Returns the settings xml of the action with the specified id.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – File response.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/{id}/DataSources/Export
¶ Returns the data sources xml of the action with the specified id.
- Parameters
id (integer:int32, required) – The id of the action.
- Status Codes
200 OK – File response.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Actions/{id}/Export
¶ Returns all settings and data of the action as a zip-file. Project data is included in the form of csv files (zipped csv format).
- Parameters
id (integer:int32, required) – The id of the action.
- Query Parameters
format – The format of the data in the zip
- Status Codes
200 OK – File response.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/api/Actions/FileUploadProgress
¶ Retrieves the task progress of the upload task with the specified task id.
- Query Parameters
taskId (string, required) – The task id of the upload task.
- Status Codes
200 OK – Task report of the specified task.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/Get/{id}
¶ Gets the output with the specified id.
- Parameters
id (integer:int32, required) – The id of the output.
- Status Codes
200 OK – Output record.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetFromAction/{idAction}
¶ Gets the outputs of the action with the specified id. Returns a list of OutputInfoViewModel records.
- Parameters
idAction (integer:int32, required) – Id of the action.
- Status Codes
200 OK – List of output records.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetOutputReportToc/{id}
¶ Get the output summary deserialized into the object hierarchy.
- Parameters
id (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Output hierarchy object.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetOutputReportTocs
¶ Gets the hierarchical output report summary toc objects of the outputs with the specified ids.
- Query Parameters
ids (array) – Ids of the outputs.
- Status Codes
200 OK – Array of summary hierarchical toc objects.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetOutputReportSection
¶ Gets output report section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output
idSection (string:guid, required) – Id of the section.
- Status Codes
200 OK – Html string of the section content.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetShortOutputSummary
¶ Gets short output report summary with the specified id of the output
- Query Parameters
idOutput (integer:int32, required) – Id of the output
- Status Codes
200 OK – Html string of the short output summary content.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetOutputReportTableData
¶ Gets output table data section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
maxRecords (integer:int32, required) – Maximum number of records.
isTree (boolean, required) – if true, the hierarchy defining data should be incorporated
- Status Codes
200 OK – Html string of the table data.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetOutputReportTableContent
¶ Gets output table data section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
caption (string, required) – Table caption
maxRecords (integer:int32, required) – Maximum number of records.
columnOrder (string, required) – Comma separated list of column indices determining the shown columns
isTree (boolean, required) – if true, the hierarchy defining data should be incorporated
rotate (boolean, required) – if true, the rows and columns are switched, effectively rotating the table
- Status Codes
200 OK – Html string of the full table data.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetOutputReportChart
¶ Gets output table data section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
- Status Codes
200 OK – Html string of the table data.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetTaskSettingsSection
¶ Gets the settings section content of the task with the specified id.
- Query Parameters
idTask (integer:int32, required) – Id of the task.
- Status Codes
200 OK – Html string of the section.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadFullPdf
¶ Returns pdf file of the output report with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Report pdf file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadShortReportPdf
¶ Returns pdf file of the output report with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Report pdf file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadSectionPdf
¶ Returns pdf file of the report section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
- Status Codes
200 OK – Report pdf file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetSectionHtml
¶ Returns pdf file of the report section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
- Status Codes
200 OK – Report section HTML file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetShortReportHtml
¶ Returns pdf file of the report section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Short report HTML.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/GetFullReportHtml
¶ Returns pdf file of the report section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Short report HTML.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadReportCsvZip
¶ Returns zip file with csv files of the tables of the output report of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Zip file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadTableCsv
¶ Returns csv file of the report table with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
- Status Codes
200 OK – Csv file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadSectionCsvZip
¶ Returns zip file with csv files of the tables of the section with the specified id of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
idSection (string:guid, required) – Id of the section.
- Status Codes
200 OK – Zip file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Outputs/DownloadRawData
¶ Returns a zip file of the generated raw data of the output with the specified id.
- Query Parameters
idOutput (integer:int32, required) – Id of the output.
- Status Codes
200 OK – Zip file.
400 Bad Request – Bad request.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Repositories
¶ Get all repositories for the user (tree)
- Query Parameters
path (string) –
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
404 Not Found – Record not found.
500 Internal Server Error – Internal server error.
-
POST
/Api/Repositories
¶ Create new repository from the provided model
- Status Codes
201 Created – A description record of the created repository.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Repositories
¶ Change the repository settings with the provided model
- Status Codes
200 OK – A description record of the updated repository.
201 Created – A description record of the created repository, if it is new.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Repositories/{id}
¶ Get the repository details for the provided id
- Parameters
id (integer:int32, required) –
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
404 Not Found – Record not found.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Repositories/{id}
¶ Remove the repository with the provided id, force delete if necessary
- Parameters
id (integer:int32, required) – Repository id
- Query Parameters
force (boolean) – Force delete (also if there are datasources still in use)
- Status Codes
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
PATCH
/Api/Repositories/{id}
¶ Apply a JsonPatch to a repository
- Parameters
id (integer:int32, required) –
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
404 Not Found – Record not found.
500 Internal Server Error – Internal server error.
- Status Codes
200 OK –
- Status Codes
200 OK –
- Status Codes
200 OK –
- Status Codes
200 OK –
- Status Codes
200 OK –
- Status Codes
200 OK –
-
GET
/Api/Repositories/{id}/DataSources
¶ Gets the data sources that are in use in the repository with the specified id.
- Parameters
id (integer:int32, required) –
- Query Parameters
remote (boolean) –
inUse (boolean) –
- Status Codes
200 OK –
404 Not Found – Record not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Repositories/{id}/DataSources/Versions
¶ Gets the data sources that are in use in the repository with the specified id.
- Parameters
id (integer:int32, required) –
- Query Parameters
checksum (string) –
- Status Codes
200 OK –
404 Not Found – Record not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Repositories/{id}/DataSources/Usage
¶ Gets all project information still associated with any datasources in the repository or any subrepositories
- Parameters
id (integer:int32, required) – Id of the main repository to search
- Status Codes
200 OK –
404 Not Found – Record not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/{id}
¶ Returns the task with the specified id.
- Parameters
id (integer:int32, required) – The id of the task.
- Status Codes
200 OK – Task record.
404 Not Found – Task with specified id not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Tasks/{id}
¶ Deletes the task with the specified id.
- Parameters
id (integer:int32, required) –
- Status Codes
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/Get/{id}
¶ Returns the task with the specified id.
- Parameters
id (integer:int32, required) – The id of the task.
- Status Codes
200 OK – Task record.
404 Not Found – Task with specified id not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/GetWorkspaceTasks/{idWorkspace}
¶ Gets all tasks of a workspace.
- Parameters
idWorkspace (integer:int32, required) – The id of the workspace.
- Status Codes
200 OK – Task record.
-
PUT
/Api/Tasks/UpdateDescription/{id}
¶ Updates the task description.
- Parameters
id (integer:int32, required) – The id of the task.
- Status Codes
200 OK – Task record.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/{id}/Log
¶ Retrieves the latest tasklog of the task with the specified id.
- Parameters
id (integer:int32, required) – The id of the task.
- Status Codes
200 OK – Task log string.
404 Not Found – Task log was not found.
500 Internal Server Error – Internal server error.
-
POST
/Api/Tasks/ScheduleTask/{idAction}
¶ Starts a calculation task for the given action and returns the id of this task.
- Parameters
idAction (integer:int32, required) – The id of the action from which the task should be spawned.
- Status Codes
200 OK – Task record.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
POST
/Api/Tasks/ScheduleSubTask/{idAction}
¶ Starts a concentration model calculation task for the given project and returns the id of this task.
- Parameters
idAction (integer:int32, required) – The id of the action.
- Query Parameters
actionType (required) – The type of the sub-module of the action.
- Status Codes
200 OK – Task record.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/{id}/Status
¶ Returns the progress of the specified task.
- Parameters
id (integer:int32, required) – Id of the task.
- Status Codes
200 OK – The task with the specified id.
404 Not Found – Task with specified id not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/GetActiveTaskStatuses/{idWorkspace}
¶ Gets the statuses of all active tasks of a workspace.
- Parameters
idWorkspace (integer:int32, required) – Id of the workspace.
- Status Codes
200 OK – Task progress record.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Tasks/Abort/{id}
¶ Aborts the execution of the task with the specified id.
- Parameters
id (integer:int32, required) – The id of the task.
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Tasks/Delete/{id}
¶ Deletes the task with the specified id.
- Parameters
id (integer:int32, required) –
- Status Codes
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Tasks/BatchDelete
¶ Deletes the tasks with the specified ids.
- Query Parameters
ids (array) – The ids of the tasks that should be deleted.
- Status Codes
200 OK –
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Tasks/DownloadTaskZip/{id}
¶ Download a zip file containing the task’s settings and data at the time of the task’s creation. The task’s settings and data sources are deserialized from the ProjectSettings and DataSourceSettings fields
- Parameters
id (integer:int32, required) – The ID of the task
- Status Codes
200 OK – File result (zip file).
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Workspaces
¶ Gets all workspaces available to the user.
- Status Codes
200 OK – Collection of workspace description records.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
POST
/Api/Workspaces
¶ Creates a workspace based on the provided form data.
- Status Codes
201 Created – A description record of the created workspace.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
GET
/Api/Workspaces/{id}
¶ Gets the workspace with the specified id.
- Parameters
id (integer:int32, required) – The id of the workspace.
- Status Codes
200 OK – The workspace with the specified id.
404 Not Found – Workspace with specified id not found.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
PUT
/Api/Workspaces/{id}
¶ Updates the workspace meta data.
- Parameters
id (integer:int32, required) – The id of the workspace that is to be updated.
- Status Codes
200 OK – A description record of the updated workspace.
404 Not Found – Workspace with specified id not found.
401 Unauthorized – Authorization error.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Workspaces/{id}
¶ Deletes the workspace with the specified id.
- Parameters
id (integer:int32, required) – The id of the workspace that should be deleted.
- Status Codes
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/Api/Workspaces/{id}/Actions
¶ Gets all actions of the workspace with the specified id.
- Parameters
id (integer:int32, required) – The id of the workspace.
- Status Codes
200 OK – The actions of the workspace with the specified id.
401 Unauthorized – Authorization error.
404 Not Found – Record not found.
500 Internal Server Error – Internal server error.
-
POST
/Api/Workspaces/{id}/Actions/Settings
¶ Create a new action from the provided settings Dto in the workspace for which the id is provided
- Parameters
id (integer:int32, required) –
- Status Codes
401 Unauthorized – Authorization error.
404 Not Found – Workspace not found.
400 Bad Request – Bad request.
500 Internal Server Error – Internal server error.
-
POST
/Api/Workspaces/{id}/DataSources/Versions
¶ Adds a data source version to the workspace.
- Parameters
id (integer:int32, required) – The id of the workspace.
- Status Codes
201 Created – On success.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
GET
/Api/Workspaces/{id}/DataSources/Versions
¶ Returns all data source versions used in the workspace with the specified id.
- Parameters
id (integer:int32, required) – The id of the workspace.
- Status Codes
200 OK – Data source version records.
401 Unauthorized – Authorization error.
404 Not Found – Not found.
500 Internal Server Error – Internal server error.
-
DELETE
/Api/Workspaces/{id}/DataSources/Versions/{idDataSourceVersion}
¶ Removes a data source version from the workspace.
- Parameters
id (integer:int32, required) – The id of the workspace.
idDataSourceVersion (integer:int32, required) – The id of the data source version.
- Status Codes
204 No Content – On success.
401 Unauthorized – Authorization error.
500 Internal Server Error – Internal server error.
-
GET
/api/ActionClasses/Get
¶ Returns a collection of the action class definitions available in the toolbox.
- Status Codes
200 OK – Collection of action class definition records.
500 Internal Server Error – Internal server error.
-
GET
/api/ActionTypes/Get
¶ Returns a collection of the action type definitions available in the toolbox.
- Status Codes
200 OK – Collection of action type definition records.
500 Internal Server Error – Internal server error.
-
GET
/api/DataFormats/Get
¶ Returns a collection of the data format definitions available in the toolbox.
- Status Codes
200 OK – Collection of data format definition records.
500 Internal Server Error – Internal server error.
-
GET
/api/ScopingTypes/Get
¶ Returns a collection of the scoping type definitions available in the toolbox.
- Status Codes
200 OK – Collection of workspace description records.
500 Internal Server Error – Internal server error.
-
GET
/api/StandardActionTypes/Get
¶ Returns a collection of the standard action type definitions available for the user.
- Status Codes
200 OK – Collection of standard action type definition records.
500 Internal Server Error – Internal server error.
-
GET
/api/UnitDefinitions/Get
¶ Returns a collection of the unit definitions available in the toolbox.
- Status Codes
200 OK – Collection of unit definition records.
500 Internal Server Error – Internal server error.