latestOpenAPI 3.0.12026-08-103995881.2 MB
053edab62415
flows
Update a flow
put/app/v1/flows/{id}
Path parameters
idstring uuid required
Flow ID
Query parameters
periodstring
year month (YYYYMM), defaulting to the current time, indicates which time period to return the attributes and custom attributes from
Request body
Example request
{
"custom_attributes": {
"attribute1": 12345,
"attribute2": "value1"
},
"start_date": "min",
"end_date": "max"
}Response
A successful operation
Example response
{
"custom_attributes": {
"attribute1": 12345,
"attribute2": "value1"
},
"upstream_flows": [
{
"custom_attributes": {
"attribute1": 12345,
"attribute2": "value1"
}
}
],
"downstream_flows": [
{
"custom_attributes": {
"attribute1": 12345,
"attribute2": "value1"
}
}
],
"upstream_equipment": {
"custom_attributes": {
"attribute1": 12345,
"attribute2": "value1"
},
"effective_date": "2022-01-01",
"latitude": 51,
"longitude": -114
},
"downstream_equipment": {
"custom_attributes": {
"attribute1": 12345,
"attribute2": "value1"
},
"effective_date": "2022-01-01",
"latitude": 51,
"longitude": -114
}
}