Not logged in - Login
< back

API Example Create Case

API URL

https://securelb.trackerproducts.com/api/cases

Required fields

  • CaseOfficerId [Required Integer]
    • GET api/users/typeahead?hideOverlay=true&search=emailaddress (this search will return the ID for the user)

  • CaseNumber [Required Unique Text]

  • OffenseDescription [Optional Text]

  • OffenseLocation [Optional Text]

  • OffenseDate [Optional DateTime]

  • Active [Required Text]
    • True or False Value

  • formData [Required]
    • See example and leave blank

  • Tags [Required]
    • See example and leave blank

Example JSON Submit (you can use this exact JSON info)


{
       "offenseDate":"2017-11-29",
       "active":true,
       "offenseDescription":"Test from Hathaway Road",
       "offenseTypeId":1,
       "formData":[],
       "tags":[],
       "caseNumber":"20171129D",
       "reviewDate":"2017-12-30",
       "caseOfficerId":1038,
       "offenseLocation":"3701 Hathaway Road"
}

Postman Header Example

Postman JSON Body Example