Skip to main content
Version: 2.1

GET

Given the id, returns the batch simulation object.

Request​

Parameters​

NameLocated inDescriptionRequiredSchema
idpathID of simulationYesstring

Example request

curl -X GET http://localhost:8080/api/simulations/batch/{id} \
-H 'Accept: application/json'

Response​

StatusMeaningDescriptionSchema
200OKRequest was completed successfullyInline
404Not FoundSimulation not foundInline

Response Schema​

Status Code 200

NameTypeRequiredDescription
idstring(uuid)true
progressfloattrueProgress of running batch process
metadataobjecttrue

Example 200 response body

{
"id": "d7558ad9-3405-4a4c-972a-531a87fdcd27",
"progress": 0.2,
"metadata": {
"kind": "pojo",
"schema": []
}
}

Status Code 404

NameTypeRequired
messagestringtrue

Example 404 response body

{
"message": "Could not find simulation '5af75d69-1926-4ef2-a56f-07ad5f85673b'"
}

DELETE

Given the id, deletes the simulation.

Request​

Parameters​

NameLocated inDescriptionRequiredSchema
idpathid of simulationYesstring

Example request

curl -X DELETE \
http://localhost:8080/api/simulations/batch/a098275a-307d-4d65-b8a5-47b9b484c609 \
-H 'Cache-Control: no-cache'

Response​

StatusMeaningDescriptionSchema
204No ContentRequest was completed successfullyNone
404Not FoundSimulation not foundInline

Response Schema​


Status Code 404

NameTypeRequired
messagestringtrue

Example 404 response body

{
"message": "Could not find simulation '5af75d69-1926-4ef2-a56f-07ad5f85673b'"
}