Get consent forms
GET/v1/partner/locations/:location_id/consent-forms
This endpoint returns the consent forms configured in the Solv settings at the location specified by location_id. The response contains an array of objects that represents a location and its consent forms.
Token scope:{'scope': 'read:locations'}
Request​
Path Parameters
location_id Location Idrequired
Required. The unique identifier of the location.
Query Parameters
limit Limit
Default value: 20
Optional. The maximum number of consent forms to return.
page Page
Default value: 1
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
page
object
required
limit Limit (integer)required
links
object[]
required
href Href (string)
rel Rel (string)required
page Page (integer)required
results_count Results Count (integer)required
results
object[]
required
active Active (boolean)required
aws_bucket_name Aws Bucket Name (string)required
aws_path Aws Path (string)required
created_date date-timerequired
display_name Display Name (string)required
dynamic_template_filename Dynamic Template Filename (string)
form_type Form Type (string)required
id Id (integer)required
location_id Location Id (integer)required
updated_date date-timerequired
{
"page": {
"limit": 0,
"links": [
{
"href": "string",
"rel": "string"
}
],
"page": 0,
"results_count": 0
},
"results": [
{
"active": true,
"aws_bucket_name": "string",
"aws_path": "string",
"created_date": "2024-07-29T15:51:28.071Z",
"display_name": "string",
"dynamic_template_filename": "string",
"form_type": "string",
"id": 0,
"location_id": 0,
"updated_date": "2024-07-29T15:51:28.071Z"
}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...