Does anybody know if there is any config during account creation with entitlements that will allow me to send the json body NOT as an array ? I enabled “Create Account With “Ent” Request” option in the webservices connector as the API only supports creation of an account with an entitlement. However, when I enable this it sends the entitlements as an array which the API doesnt support. It needs the entitlements to be with just as a value. I think I will be able to modify the body in the before operation rule but just wanted to check if anybody knows a better way or a config as there are 3 different types of entitlements types and I will have to do it for each type if I go the before operation rule.
Current Json body****
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "xxxx",
"name": {
"familyName": "xxx",
"givenName": "xxx"
},
"emails": [
{
"type": "work",
"primary": "true",
"value": "xxx"
}
],
"entitlements": [
{
"value": ["xxxxxxxxxx"] } ] }
Supported JSON body with the API
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "xxxx",
"name": {
"familyName": "xxx",
"givenName": "xxx"
},
"emails": [
{
"type": "work",
"primary": "true",
"value": "xxx"
}
],
"entitlements": [
{
"value": "xxxxxxxxxx" } ] }