post Forms Responses
POST {{baseUrl}}/forms/responses?subdomain={{subdomain}}
Create a form response
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subdomain | string | (Required) Used to scope the request to the specified institution |
Request Body
{"patient_id"=>"<integer>", "form_request_id"=>"<string>", "form_document_id"=>"<string>", "form_response_data"=>"<object>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"code":"\u003cboolean\u003e","description":"\u003cstring\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":{"id":"\u003cinteger\u003e","response_documents":[{"id":"\u003cinteger\u003e","response_data":"\u003cobject\u003e","pdf_url":"\u003cstring\u003e"},{"id":"\u003cinteger\u003e","response_data":"\u003cobject\u003e","pdf_url":"\u003cstring\u003e"}]},"count":"\u003cinteger\u003e"}