Survey

Create agreement consent from survey

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
personIdintegerRequired

ID of the person

Example: 123
surveyResponseIdintegerOptional

ID of the survey response

Example: 456
agreementTemplateIdintegerOptional

ID of the agreement template

Example: 789
pdfResourceanyOptional

PDF resource as a buffer

Example: <Buffer>
pdfCloudIdsstring[]Optional

Cloud IDs of the PDFs

Example: ["cloud123"]
pdfMimeTypestringOptional

MIME type of the PDF

Example: application/pdf
userActionanyRequired

User action

Default: CREATEExample: CREATE
consumerEpisodeIntakeIdintegerOptional

ID of the consumer episode intake

Example: 101112
attributesobjectOptional

Additional attributes

Default: {}Example: {"key":"value"}
assessmentResponseanyOptional

Response to the assessment

updatedByobjectOptional

User who updated the agreement

Example: {"userId":1}
pdfCloudInfostring[]Optional

Cloud IDs of the PDFs

Example: ["cloud123"]
Responses
chevron-right
200Success
application/json
post
/api/agreements/survey
200Success

Was this helpful?