API is in Alpha and may change at any time.
API Resources > Emergency
Add Call Note
This endpoint allows you to add a note to a call.
Add Call Note
POST api/v1/emergency/add_call_note
Request Body
Name | Type | Description | Default |
---|---|---|---|
call_id | number | Call ID | Required |
user_id | number | User ID | Required |
note | string | Note to be saved. | Required |
Example Request Body
{
"call_id": 123456789,
"user_id": 123456789123456789,
"note": "Call Note",
}
Responses
200 A successful call.
{
"success": true,
"message": "Note added.",
"data": []
}
200 with validation errors.
{
"success": false,
"message": "Validation errors",
"data": {
"call_id": [
"The call id field is required.",
"The call id must be a number."
],
"user_id": [
"The user id field is required.",
"The user id must be a number."
],
"note": [
"The note field is required."
],
}
}
200 with no call found.
{
"success": false,
"message": "Call not found.",
"data": []
}
200 with active unit found.
{
"success": false,
"message": "No active unit found for the given user.",
"data": []
}
Still have questions?
Still have questions? Talk to support.