Not logged in - Login
< back

API Example Create Case


Fields used in Post

  • CaseNumber [Required Unique Text]

  • OffenseDescription [Optional Text]

  • OffenseLocation [Optional Text]

  • OffenseDate [Optional DateTime]

  • Active [Required Text]
    • True or False Value

  • Tags [Required]
    • See example and leave blank

Example JSON Submit

       "offenseDescription":"Test Offense Description",
       "offenseLocation":"123 My Address New York, Ny 20012"
       "offenseDate":"2017-11-29 13:25:00.000", (24 hour time format or 12 hour time format - If no time is supplied it will default to system server time)

Postman Header Example

Postman JSON Body Example

Creating Case With Custom Form Data

Note that the double quote must be escaped with a forward slash
A case can also be created with custom data. Note that the entityId field will be 0 for a new case (this value is the case id which the system will assign after the case is created).
Here is my json for adding a case with the custom form data:
"offenseDate": "2020-02-13T05:00:00.000Z",
"active": true,
"offenseDescription": "Burning Down The House",
"offenseTypeId": 2,
"formData": [
"formId": 1184,
"formName": "Test Form Cases",
"data": "{\"field2426\":{\"1\":true},
\"field2424\":\"This is a text field\",
"visibilityId": 1,
"dateFields": [
"tags": [

"reviewDateNotes": "",
"checkInProgress": false,
"caseNumber": "2020-0213-01",
"reviewDate": "2021-02-12T19:27:04.230Z",
"caseOfficerId": 34864,
"offenseLocation": "Newport, KY, USA"

Possible Error Scenarios

In this section, we will look at errors returned during a case POST.

Auto Disposition Error