post Forms Requests

POST {{baseUrl}}/forms/requests?subdomain={{subdomain}}&location_id={{location_id}}&patient_id=<integer>&form_ids[]=<string>&form_ids[]=<string>&appointment_id=<integer>&due_date=<date>

Create a form request

Request Params

KeyDatatypeRequiredDescription
subdomainstring(Required) Used to scope the request to the specified institution
location_idstring(Required) Used to scope the request to the specified institution
patient_idstring(Required) Patient id
form_ids[]string(Required) An array of form ids
form_ids[]string(Required) An array of form ids
appointment_idstringAppointment id
due_datestringThe date by which the form must be filled out by the patient

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: Created

{&quot;code&quot;:&quot;\u003cboolean\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;error&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;,&quot;form_ids&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;request_status&quot;:&quot;\u003cstring\u003e&quot;,&quot;sync_status&quot;:&quot;\u003cstring\u003e&quot;,&quot;autosync&quot;:&quot;\u003cboolean\u003e&quot;,&quot;last_synced_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;patient&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;first_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;last_name&quot;:&quot;\u003cstring\u003e&quot;},&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;due_date&quot;:&quot;\u003cstring\u003e&quot;},&quot;count&quot;:&quot;\u003cinteger\u003e&quot;}