Submitted by doctorm on Sun, 11/03/2019 - 2:15pm
A documented JSON API endpoint that allows one to either create NYC 311 Service Requests. Requirements: 1) Endpoint accepts JSON requests. 2) Requests with complete information are answered with a "request submitted successfully" and a URL to which a browser may be sent to view the SR status. 3) Incomplete requests receive an "unable to submit request" response, which includes additional information regarding the request data that was missing (perhaps a list of missing required field IDs) or giving some more specific error information about the submission error. Also included should be a URL to which a browser can be pointed in order to complete the request; the browser should not be assumed to already have any context (cookies, etc.) regarding the SR before visiting this URL.