Investigation case management (theft, fraud) - maps to ThinkLP__Investigation__c
List Cases
Retrieve cases with optional filtering (AND logic across all filters).
Date Filters (ISO 8601, open-ended ranges supported):
lastModifiedDateFrom/lastModifiedDateTo- Filter by LastModifiedDatecreatedDateFrom/createdDateTo- Filter by CreatedDate- Formats:
YYYY-MM-DD(date only) orYYYY-MM-DDTHH:mm:ssZ(full datetime) - Open-ended: Can specify only 'from' or only 'to' (or both)
Text Filters (exact match, case-sensitive):
incidentType- Incident type (e.g., "Theft", "Fraud")investigationType- Investigation type (e.g., "External Theft")status- Case status (e.g., "Open", "Closed")
Filter Combination: All filters are optional and combined with AND logic.
Example:
Code
Returns all Theft incidents with Open status modified on/after Oct 1, 2025.
query Parameters
lastModifiedDateFromFilter by LastModifiedDate >= (ISO 8601)
lastModifiedDateToFilter by LastModifiedDate <= (ISO 8601)
createdDateFromFilter by CreatedDate >= (ISO 8601)
createdDateToFilter by CreatedDate <= (ISO 8601)
incidentTypeExact match incident type (case-sensitive)
investigationTypeExact match investigation type (case-sensitive)
statusExact match status (case-sensitive)
Headers
API-VersionAPI version
List Cases › Responses
List of cases (summary view)
idincident_typeinvestigation_typeincident_numberlocation_numberExternal identifier for Location (Account) via ThinkLP__Location_Number__c
location_id^[a-zA-Z0-9]{15,18}$narrativestatustotal_estimated_valueCalculated sum of all stolen items
incident_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
incident_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
report_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
report_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
police_departmentpolice_report_numberpolice_officer_nameconcealment_methodconcealment_locationuuidlast_modified_dateISO 8601 date-time (RFC3339)
Create Case
Create case with optional nested persons/vehicles/items in single atomic request.
Headers
API-VersionAPI version
SourceData source for special processing (e.g., FlockSafety)
Create Case › Request Body
incident_typeinvestigation_typenarrativestatuslocation_numberExternal identifier for Location
location_id^[a-zA-Z0-9]{15,18}$concealment_locationconcealment_methodincident_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
incident_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
report_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
report_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
police_report_numberpolice_departmentpolice_officer_namestageCase stage (accepted in POST/PATCH, never returned in GET)
sourceCase source (accepted in POST/PATCH, never returned in GET)
outcomeCase outcome (accepted in POST/PATCH, never returned in GET)
incident_categoryIncident category (accepted in POST/PATCH, never returned in GET)
incident_locationIncident location (accepted in POST/PATCH, never returned in GET)
initial_case_valueInitial case value (accepted in POST/PATCH, never returned in GET)
total_recovered_valueTotal recovered value (accepted in POST/PATCH, never returned in GET)
incident_date_timeISO 8601 date-time (RFC3339)
report_date_timeISO 8601 date-time (RFC3339)
closed_date_timeISO 8601 date-time (RFC3339)
police_officer_badge_numberPolice officer badge number (accepted in POST/PATCH, never returned in GET)
police_notifiedWhether police were notified (accepted in POST/PATCH, never returned in GET)
case_ownerCase owner User/Queue Id (15/18 chars). If omitted, defaults to integration user.
investigatorInvestigator (accepted in POST/PATCH, never returned in GET)
priorityCase priority (accepted in POST/PATCH, never returned in GET)
external_idExternal system ID (accepted in POST/PATCH, never returned in GET)
external_ownerExternal owner (accepted in POST/PATCH, never returned in GET)
Create Case › Responses
Resource created successfully
successmessageidIDs of nested entities (if created)
Get Case
Retrieve case with all nested entities (persons, vehicles, items).
path Parameters
incidentId^[a-zA-Z0-9]{15,18}$ · requiredSalesforce case ID (15/18 chars)
Headers
API-VersionAPI version
Get Case › Responses
Case with nested entities (detail view)
idincident_typeinvestigation_typeincident_numberlocation_numberExternal identifier for Location (Account) via ThinkLP__Location_Number__c
location_id^[a-zA-Z0-9]{15,18}$narrativestatustotal_estimated_valueCalculated sum of all stolen items
incident_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
incident_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
report_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
report_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
police_departmentpolice_report_numberpolice_officer_nameconcealment_methodconcealment_locationuuidlast_modified_dateISO 8601 date-time (RFC3339)
Update Case
Partial update - only send fields to change. Omitted fields remain unchanged.
Null Handling: Send null to explicitly clear a field value.
Nested Entities: To update persons/vehicles/items, use dedicated child endpoints.
path Parameters
incidentId^[a-zA-Z0-9]{15,18}$ · requiredSalesforce case ID (15/18 chars)
Headers
API-VersionAPI version
Update Case › Request Body
incident_typeinvestigation_typenarrativestatuslocation_numberExternal identifier for Location
location_id^[a-zA-Z0-9]{15,18}$concealment_locationconcealment_methodincident_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
incident_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
report_local_dateDate in YYYY-MM-DD format (RFC3339 full-date)
report_local_time^([01]\d|2[0-3]):[0-…Local time in HH:MM:SS with optional milliseconds separated by a colon (e.g., "14:30:00" or "14:30:00:123"). No timezone suffix.
police_report_numberpolice_departmentpolice_officer_namestagesourceoutcomeincident_categoryincident_locationinitial_case_valuetotal_recovered_valueincident_date_timeISO 8601 date-time (RFC3339)
report_date_timeISO 8601 date-time (RFC3339)
closed_date_timeISO 8601 date-time (RFC3339)
police_officer_badge_numberpolice_notifiedcase_ownerCase owner User/Queue Id (15/18 chars). If omitted, defaults to integration user.
investigatorpriorityexternal_idexternal_ownerUpdate Case › Responses
Resource updated successfully
successmessageidID of the updated resource
Resource metadata