List Calls for Service

Resource Information
Method GET
URL https://data.chandlerpd.com/wp-json/open-data/v1/calls-for-service-{$year}
Authentication None
Method Parameters
Parameter Type Description
$year int Year to use with the calls for service catalog. All years since 2013 are valid.
Query Parameters
Parameter Type Description
offset int Optional. Offset the result set by a specific number of items.
order string Optional. Order sort attribute ascending or descending. Valid values are: ASC, DESC (default).
orderby string Optional. Sort collection by object attribute. Defaults to id. Other values are: event_type, agency, call_id, call_number, call_year, call_received_date, call_received_time, call_received_date_time, call_received_day, call_city, call_district, call_beat, call_latitude, call_longitude, call_priority, call_how_received, call_reported_as, call_closed_as, call_cleared_by, call_dispatched_date_time, call_enroute_date_time, call_on_scene_date_time, call_response_time
per_page int Optional. Maximum number of items to be returned in result set. Defaults to 20. Limit 100.
Example Request

$ curl https://data.chandlerpd.com/wp-json/open-data/v1/calls-for-service

Get a Call for Service

Resource Information
Method GET
URL https://data.chandlerpd.com/wp-json/open-data/v1/calls-for-service-{$year}/{$id}
Authentication None
Method Parameters
Parameter Type Description
$year int Year to use with the calls for service catalog. All years since 2013 are valid.
$id int The call ID.
Example Request

$ curl https://data.chandlerpd.com/wp-json/open-data/v1/calls-for-service-{$year}/{$id}