Add Call Note

This endpoint allows you to add a new dispatch call note.

This framework export handles the Add Call Note API endpoint.

function addCallNote(callId, note)
    exports["sonorancad"]:performApiRequest({{
        ["serverId"] = GetConvar("sonoran_serverId", 1),
        ["callId"] = callId,
        ["note"] = note
    }}, "ADD_CALL_NOTE", function(_)
    end)
end

Note Object

Call notes are formatted on dispatch calls with the following object:

{
    "time": "12:00:00",
    "label": "A-10",
    "type": "text",
    "content": "This is a note!"
}

Parameters

Property
Type
Description

callId

Integer

Call ID to add the note to

note

Note Object

See Note Object above

Last updated

Was this helpful?