List Service Request Types

Use this query to list valid service request types (things like pothole, graffiti, street light out etc.) for a given location.

General
URL Format http://[locale].seeclickfix.com/api/request_types/at.[format]
or for open311 compatibility
http://[locale].seeclickfix.com/api/service_list.[format]
Example http://seeclickfix.com/api/request_types/at.xml?lat=32.161081558894...
HTTP Method GET
Valid Data Formats xml, json
Permissions read only

Required Parameters

  • api_key - API Key.
  • lat - Latitude to check for service request types.
  • lng - Longitude to check for service request types.

Optional Parameters

None.

Attributes and Structure

This query returns an array of service request types. A service request type has the following attributes:

  • created_at - Timestamp - Time the object was created.
  • id -Integer Unique ID - Unique ID of the Service Request Type.
  • position - integer - Suggested position of the service request type.
  • title - string - Service request type title.
  • updated_at -Timestamp - Time the object was last updated.
  • plus-watch-area-title - string - Title of the organization who created the service request type.

Note - Service request types may have different plus watch area titles. For example, in the City of New Haven, there's a service request type of "Pothole" for "City of New Haven" and another service request type of "Non-emergency Police Issues" for "NHPD".

Example:

http://seeclickfix.com/api/request_types/at.xml?lat=32.1610815588945&lng=-110.87677001953125&api_key=87ced127d6dead827a0d26ebc14a176a9d59c886

This query says show me all valid service request types at the point 32.1610815588945,-110.87677001953125.

<request-types type="array">
    <request-type>
        <created-at type="timestamp">Fri Jan 08 00:52:59 UTC 2010</created-at>
        <id type="integer">1</id>
        <position type="integer">1</position>
        <title>Pothole</title>
        <updated-at type="timestamp">Fri Jan 29 21:17:31 UTC 2010</updated-at>
        <plus-watch-area-title>City of Tucson</plus-watch-area-title>
    </request-type>
    <request-type>
        <created-at type="timestamp">Fri Jan 08 00:53:19 UTC 2010</created-at>
        <id type="integer">2</id>
        <position type="integer">2</position>
        <title>Graffiti</title>
        <updated-at type="timestamp">Fri Jan 29 21:17:42 UTC 2010</updated-at>
        <plus-watch-area-title>City of Tucson</plus-watch-area-title>
    </request-type>