Update event

Prev Next
Put
/inventory/historicalEvents/{eventId}

Update an historical event.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the target tenant (e.g. acme).

Path parameters
eventId
stringRequired

The event identifier.

Minimum1.0
Exampleabcd1234
Body parameters

The details of the event to update.

object
alertDefinitionId
string

The identifier of the event-definition associated with the event.

Example1234abcd
startTimestamp
integer (int64)

The event start timestamp.

Example1578438000000
endTimestamp
integer (int64)

The event end timestamp.

Example1578438000000
locationId
string

The location identifier associated to the event.

thingId
string

The thing identifier associated to the event.

notes
string

The text notes in case of MAINTENANCE event.

ExampleMaintenance notes
Responses
200

Successful updated.

400

Request data not valid.

object
message
string

The error response.

ExampleBad request
401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
429

API call rate limit exeeded.

object
message
string

The error response.

ExampleAPI call rate limit exeeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error