POST device/operations/{operationId}/logs
Create a new Operation's log entry.
Remarks
Status HTTP returned:
200 - Ok The operation's log entry has been successfully created.
400 - Bad Request The operation's log entry is invalid.
403 - Forbidden The authenticated user doesn't have permission to access the resource.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
operationId | The Operation identifier. |
Define this parameter in the request URI. |
operationLog | The operation's log entry data. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "deviceDate": { "date": "2020-05-15T17:03:27.6960553-03:00", "timeZoneId": "E. South America Standard Time", "utcOffset": -180 }, "generalOperationStatus": 0, "message": "sample string 1", "messageId": 2, "messageArguments": "sample string 3", "operationStatus": 1, "isWarning": true }
Response Information
Operation result.
Response body formats
application/json, text/json
Sample:
{ "error": null }