{ "opencollection": "1.0.0", "info": { "name": "Open311 GeoReport Request Requests.{response Format} API", "version": "2.0" }, "items": [ { "info": { "name": "Requests.{response Format}", "type": "folder" }, "items": [ { "info": { "name": "requests", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/requests.:response_format", "params": [ { "name": "response_format", "value": "", "type": "path" }, { "name": "jurisdiction_id", "value": "", "type": "query", "description": "" }, { "name": "service_request_id", "value": "", "type": "query", "description": "To call multiple Service Requests at once, multiple service_request_id can be declared; comma delimited.This overrides all other arguments." }, { "name": "service_code", "value": "", "type": "query", "description": "Specify the service type by calling the unique ID of the service_code." }, { "name": "start_date", "value": "", "type": "query", "description": "Earliest datetime to include in search. When provided with end_date, allows one to search for requests which have a requested_datetime that matches a given range, but may not span more than 90 days." }, { "name": "end_date", "value": "", "type": "query", "description": "Latest datetime to include in search. When provided with start_date, allows one to search for requests which have a requested_datetime that matches a given range, but may not span more than 90 days." }, { "name": "status", "value": "", "type": "query", "description": "Allows one to search for requests which have a specific status. This defaults to all statuses; can be declared multiple times, comma delimited." } ] }, "docs": "Query the current status of multiple requests." }, { "info": { "name": "Create service request", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/requests.:response_format", "params": [ { "name": "response_format", "value": "", "type": "path" }, { "name": "jurisdiction_id", "value": "", "type": "query", "description": "" }, { "name": "service_code", "value": "", "type": "query", "description": "" }, { "name": "lat", "value": "", "type": "query", "description": "WGS-84 latitude" }, { "name": "long", "value": "", "type": "query", "description": "WGS-84 longitude" }, { "name": "address_string", "value": "", "type": "query" }, { "name": "address_id", "value": "", "type": "query" }, { "name": "attribute", "value": "", "type": "query", "description": "array of key/value responses based on Service Definitions." } ] }, "docs": "Submit a new request for with specific details of a single service. Must provide a location via lat/long or address_string or address_id" } ] } ], "bundled": true }