Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
      "concernPoint": {
        "idsdiscreetPointIds": [45, 46],
        "longitude": 14.91328448,
        "latitude": 41.24060321,
        "time": "2020-05-30T18:25:43.511Z",
        "duration": 10
    }
}

POST /case/point/delete

This SafePlaces web client will call this endpoint when attempting to remove a concern point from the case. The API will locate the points of concern corresponding with the discreetPointIds in the request payload in the database and delete them.

Sample Request Payload

Code Block
languagejson
{
  "discreetPointIds": [45, 46]
}

Sample Response

Code Block
204 No Content