Request
The primary key for each resource.
Body Params application/vnd.api+json
data
object (SurveyPage)Â
requiredThe primary key for each resource.
{
"data": {
"id": "FID001",
"type": "SurveyPage",
"attributes": {
"title": "string",
"description": "string",
"primaryColor": "string",
"resultDescription": "string",
"headerImageUrl": "http://example.com"
},
"relationships": {}
}
}
Request samples
curl --location --request PATCH 'https://api.synap.ac/v3/survey-pages/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "SurveyPage",
"attributes": {
"title": "string",
"description": "string",
"primaryColor": "string",
"resultDescription": "string",
"headerImageUrl": "http://example.com"
},
"relationships": {}
}
}'
Responses
data
object (SurveyPage)Â
optionalThe primary key for each resource.
{
"data": {
"id": "FID001",
"type": "SurveyPage",
"attributes": {
"title": "string",
"description": "string",
"primaryColor": "string",
"resultDescription": "string",
"headerImageUrl": "http://example.com"
},
"relationships": {
"survey": {
"data": {
"id": "FID001",
"type": "Survey"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "SurveyItem"
}
]
}
}
}
}
Modified at 2025-07-08 10:51:21