The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Lifecycle Twin API

Create and manage various objects in the Lifecycle Twin.

Update¶

PUT is used to send data to the server to create/update a resource.

The data sent to the server with PUT is stored in the request body of the HTTP request.

PUT /clientprojects/{id}

PUT /api/clientprojects HTTP/1.1
clientname: <Client Name>
authorization: <Token>
select: {"Name", "Latitude", "Longitude"}

Request Body

{                     
    "Name": "My Project",
    "Latitude": 57,
    "Longitude": 13
}

Response

The response will have Status Code 204 (No Content) if the request accepted.

Note: The request body should only contain the fields which needs to be updated. No other properties should be included in the request body.

The fields which needs to be updated should also be added in the "select" HTTP custom header.

Remove/ Empty field value¶

Removing/ emptying value of a fields can be done as below

PUT /clientprojects/{id}

PUT /api/clientprojects HTTP/1.1
clientname: <Client Name>
authorization: <Token>
select: {"Name", "CityName"}

Request Body

{                     
    "Name": "My Project - New",
    "CityName": ""
}