{
"data": {
"type": "UserRegistration",
"attributes": {
"name": "string",
"emailAddress": "string",
"password": "string",
"registrationSource": {
"type": "self"
},
"welcomeEmailDisabled": true,
"marketingEmailsConsent": "string",
"locale": "en",
"fontSize": "xSmall",
"timeZone": "string",
"attr": {},
"utm": {},
"signUpSource": "Web",
"registration": {},
"preferences": {}
},
"relationships": {
"userGroups": {
"data": [
{
"id": "FID001",
"type": "UserGroup"
}
]
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/user-registrations' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "UserRegistration",
"attributes": {
"name": "string",
"emailAddress": "string",
"password": "string",
"registrationSource": {
"type": "self"
},
"welcomeEmailDisabled": true,
"marketingEmailsConsent": "string",
"locale": "en",
"fontSize": "xSmall",
"timeZone": "string",
"attr": {},
"utm": {},
"signUpSource": "Web",
"registration": {},
"preferences": {}
},
"relationships": {
"userGroups": {
"data": [
{
"id": "FID001",
"type": "UserGroup"
}
]
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "UserRegistration",
"attributes": {
"name": "string",
"emailAddress": "string",
"password": "string",
"registrationSource": {
"type": "self"
},
"welcomeEmailDisabled": true,
"marketingEmailsConsent": "string",
"locale": "en",
"fontSize": "xSmall",
"timeZone": "string",
"attr": {},
"utm": {},
"signUpSource": "Web",
"registration": {},
"preferences": {}
},
"relationships": {
"userGroups": {
"data": [
{
"id": "FID001",
"type": "UserGroup"
}
]
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
}
}
}
}