Create new KeyDh Supply Interruption Connection.

Prev Next
Post
/keydh-supply-interruption-connection/

Operation creates KeyDh Supply Interruption Connection from given fields. Available from version 2025.3.

Security
API Key: Token
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

KeyDH Supply Interruption Connection to be created.

object

KeyDh Supply Interruption Connection object. Flat version for post methods. Note, no updates allowed for this object.

attachedObjectId
integer

ID of the attached object. This is the ID of the object connected to the supply interruption. It should be a valid ID based on the attached object type.

isValveToClose
boolean

Indicates if the connection is a valve to close.

attachedObjectType
integer

ID of the attached object type.

interruption
integer

ID of the supply interruption this connection is associated with.

Responses
201

A newly created KeyDH Supply Interruption Connection

353891
2999
28621
8961
false
object

KeyDh Supply Interruption Connection object. Flat version for post methods. Note, no updates allowed for this object.

attachedObjectId
integer

ID of the attached object. This is the ID of the object connected to the supply interruption. It should be a valid ID based on the attached object type.

id
integer

Primary key

isValveToClose
boolean

Indicates if the connection is a valve to close.

attachedObjectType
integer

ID of the attached object type.

interruption
integer

ID of the supply interruption this connection is associated with.

400

There was an error in request. Usually field validation failed.

{
  "non_field_errors": [
    "Object is already connected."
  ]
}

Fields which failed validation

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error