- Home
- Models
- Response
Response
Each time a form is filled out, a response is generated. The response links all of the data together. To get a complete response, you will need to also include related values.
Response fields
Field |
Type |
Fillable |
Reference |
id
|
Integer
|
|
|
The unique ID to identify the response
|
Response relations
activity,
activity.user,
assigned,
call,
contact,
contact.enrolments,
device,
event,
event.parent,
form,
form.fields,
form.fields.option,
geoip,
imports,
labels,
notes,
notes.user,
publication,
synchronisations,
synchronisations.integration,
user,
values,
values.field,
values.field.option,
values.media,
Response endpoints
POST Add a label to a response /responses/:id/add_label/:label_id toggle
URL slugs
- id
-
Integer
The unique ID to identify the response
- label_id
-
Reference
The ID of the label to add
References label model.
Paramaters
There are no parameters for this endpoint
POST Link a response to a contact /responses/:id/link/:contact_id toggle
URL slugs
- contact_id
-
Reference
References contact model.
- id
-
Integer
The unique ID to identify the response
Paramaters
There are no parameters for this endpoint
POST Unlink a response from a contact /responses/:id/unlink/:contact_id toggle
URL slugs
- contact_id
-
Reference
References contact model.
- id
-
Integer
The unique ID to identify the response
Paramaters
There are no parameters for this endpoint
POST Sync a response to the relevent CRM /responses/:id/sync toggle
TODO: Write a description
URL slugs
- id
-
Integer
The unique ID to identify the response
Paramaters
- type
-
String
The name of the CRM to sync to i.e. salesforce, connect
DELETE Delete a Response /responses/:id toggle
URL slugs
- id
-
Integer
The unique ID to identify the response
Paramaters
There are no parameters for this endpoint