{
"name": "Bhovdair",
"email": "muhammadbhovdair@gmail.com",
"ssoType" : "non",
"description": "test",
"address": "Address",
"organizationId": 1,
"accessLevels": [
{
"accessLevelId": 1
},
{
"accessLevelId": 2
}
],
"accessGroups": [
{
"accessGroupId": 1
},
{
"accessGroupId": 2
}
],
"accessPages": [
{
"pageId": 1,
"accessType": "allow",
"pageActivities": [
{
"activityId": 1,
"accessType": "allow",
"activityItems": [
{
"activityItemId": 1,
"accessType": "allow"
},
{
"activityItemId": 2,
"accessType": "inherit"
},
{
"activityItemId": 3,
"accessType": "disallow"
},
{
"activityItemId": 3,
"accessType": "unset"
}
]
}
]
}
]
}
curl --location --request POST 'http://localhost:8080/api/v1/account/session' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Bhovdair",
"email": "muhammadbhovdair@gmail.com",
"ssoType" : "non",
"description": "test",
"address": "Address",
"organizationId": 1,
"accessLevels": [
{
"accessLevelId": 1
},
{
"accessLevelId": 2
}
],
"accessGroups": [
{
"accessGroupId": 1
},
{
"accessGroupId": 2
}
],
"accessPages": [
{
"pageId": 1,
"accessType": "allow",
"pageActivities": [
{
"activityId": 1,
"accessType": "allow",
"activityItems": [
{
"activityItemId": 1,
"accessType": "allow"
},
{
"activityItemId": 2,
"accessType": "inherit"
},
{
"activityItemId": 3,
"accessType": "disallow"
},
{
"activityItemId": 3,
"accessType": "unset"
}
]
}
]
}
]
}'
{}