Incident

Modified on Sat, 31 Dec 2022 at 06:15 PM

All functionality mentioned below is currently in development and is by invite only. If you would like to be an early adopter then please email support@broadnet.systems describing how you would like to use the API. API is subject to additional information without notice. However, if you use the keys to reference content, no keys will be removed or changed without prior notice and time to make changes.

Create

Incidents can be created using the following command:


Curl:


curl -X POST 
  -H 'Content-Type: application/json' 
  -d '{"incident":{ 
    "description":"A Description", 
    "grade":1, 
    "locations":[
      {"lat":51.5113735,"lng":-0.1245823},
      {"lat":51.5031361,"lng":-0.1217477}],
    "notes":[
      {"content":"Note First"},
      {"content":"Second Note"}] }}'
  https://api-dispatch.broadnet.systems/api_dispatch/v1/organisations/<endpoint key>/incidents



Payload:

The following information is supported:

  • incident:
    • description: a short description of the incident
    • grade: 1 to 5 grade of the incident
    • locations: the locations to be created along with the incident
      • lat: the latitude of the location
      • lng: the longitude of the location
      • notes: notes about the location - optional
    • notes: notes to be added to the incident
      • content: the note to be added to the incident




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article