Update user note
PUT/:customer_id/users/:uid/notes/:note_id
Update single user note by note_id
Request
Path Parameters
Id of the tenant
Id of the user
Id of the note
- application/json
Body
required
Responses
- 200
- 400
Successful response
- application/json
- Schema
- Example (from schema)
Schema
The primary key for the note, a unique identifier.
The FK linking the note to a specific tenant
The FK linking the note to a specific user.
The timestamp indicating when the note's started, with timezone information.
The timestamp indicating when the note's ended, with timezone information.
Text field containing text related to the note.
A list of trigger identifiers that triggered this note.
The total number of coughs observed during the note's time frame.
The rate of coughs observed, typically calculated as coughs per minute.
The timestamp when the note was created, set automatically.
The timestamp when the note was last updated, set automatically.
Note's timezone offset in minutes
{
"id": "string",
"customer_id": "string",
"uid": "string",
"start_date": "2024-12-03T11:32:12.454Z",
"end_date": "2024-12-03T11:32:12.454Z",
"text": "string",
"triggers_id": [
"string"
],
"cough_count": 0,
"cough_rate": 0,
"created_at": "2024-12-03T11:32:12.454Z",
"updated_at": "2024-12-03T11:32:12.454Z",
"utc_offset": 0
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string",
"errors": [
null
]
}