Skip to main content
Version: 2.5

GET

Given the id, returns the array of ticks, time-steps within the simulation.

Request​

Parameters​

NameLocated inDescriptionRequiredSchema
idpathID of simulationYesstring

Example request

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

Response​

StatusMeaningDescriptionSchema
200OKResponse completed sucessfullyInline
404Not FoundSimulation not foundInline

Response Schema​

Status Code 200

NameTypeRequired
ticks[object]true
» timestring(date-time)
» tickinteger
» dataobject
»» timeobjecttrue
»»» startstring(date-time)true
»»» endstring(date-time)true
»»» timeStepintegertrue
»»» ticksintegertrue
»»» macroStepintegertrue

Example 200 response body

{
"ticks": [
{
"time": "2018-01-01T00:00Z",
"tick": 0,
"data": {
"distributed": false,
"gridSize": 20,
"system": {
"fillFactor": 0.25
},
"time": {
"start": "2018-01-01T00:00Z",
"end": "2023-01-01T00:00Z",
"timeStep": 1,
"timeUnit": "Months",
"ticks": 60,
"macroStep": 25
}
},
{ ... }
]
}

Status Code 404

NameTypeRequired
messagestringtrue

Example 404 response body

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