API Example Create Case
API URL
https://securelb.trackerproducts.com/api/casesFields used in Post
- CaseOfficerId [Required Integer]
- GET https://securelb.trackerproducts.com/api/users/typeahead?hideOverlay=true&search=emailaddress (this search will return the ID for the user)
- OffenseTypeId [Required Integer]
- GET https://securelb.trackerproducts.com/api/offensetypes?belongToOrganization=false to see a list of Text values and ID's.
- CaseNumber [Required Unique Text]
- OffenseDescription [Optional Text]
- OffenseLocation [Optional Text]
- OffenseDate [Optional DateTime]
- Active [Required Text]
- True or False Value
- formData [Required]
- This array must be present but it can be an empty array
- See below for a case post with custom form data
- This page has more info on custom form data: https://safewiki.trackerproducts.com/wiki/173/Adding Custom Form Data To Case
- Tags [Required]
- See example and leave blank
Example JSON Submit
{
"caseOfficerId":1038,
"offenseTypeId":1,
"caseNumber":"20171129D",
"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)
"active":true,
"formData":[],
"tags":[],
}
Postman Header Example

Postman JSON Body Example
