AppendSiteLogbookEntry
POST
/api/sites/{siteId}/logbook
const url = 'https://your-tenant.consystence.com/api/sites/example/logbook';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"text":"example","category":"example","device":"example","execution":"example","requestId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-tenant.consystence.com/api/sites/example/logbook \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "example", "category": "example", "device": "example", "execution": "example", "requestId": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”siteId
required
string
Request Body
Section titled “Request Body”Media typeapplication/json
object
text
string
category
string
device
string
execution
string
requestId
string
Examplegenerated
{ "text": "example", "category": "example", "device": "example", "execution": "example", "requestId": "example"}Responses
Section titled “ Responses ”OK