Calculates affected objects, valves to close, and related data for a given network object.
Token issued for API consumer.
Primary key of the target network object.
Type of the target object.
Calculation result.
{
"affected_objects": [
{
"duct_volume": null,
"id": null,
"object_ct": 41,
"object_identification": "277446",
"object_pk": 277446,
"object_type": "WaterDuct"
},
{
"duct_volume": null,
"id": null,
"object_ct": 45,
"object_identification": "322388",
"object_pk": 322388,
"object_type": "WaterNode"
}
],
"consumerpoint_count": 0,
"duct_volume": 0.0,
"history": "",
"interruption_address": null,
"interruption_description": "",
"interruption_net_type": 1,
"observations": [],
"power_sum": 0.0,
"valves_to_close": [
{
"id": null,
"is_valve_to_close": true,
"manhole_identification": null,
"manhole_pk": null,
"manhole_type": null,
"object_ct": 45,
"object_identification": "322408",
"object_pk": 322408,
"object_type": "WaterValve"
}
],
"water_flow_sum": 0.0
}List of affected network objects.
SupplyInterruptionConnection ID if already saved, otherwise null.
Network type ID.
List of valves that should be closed.
Validation error or the target is a blind/ignored conduit.
{
"detail": "The picked object is a blind. Please pick a different object."
}Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}Standard error response payload
Detailed description of error
Target object not found.
{
"detail": "Object not found."
}