We are working on a Cornerstone implementation using the Web Services connector but I having a bit of an issue with the Entitlement Schema (using /beta/sources//schemas/). In the data below, you can see that we have “ous” defined and the idea is to assign those as entitlements.
{
"data": {
"id": 470,
"externalId": "910054",
"userName": "[email protected]",
"guid": "09b630aa-97dc-421e-88d0-ef3cfcb24633",
"firstName": "David",
"lastName": "Jones",
"middleName": "R",
"prefix": "",
"suffix": "",
"primaryEmail": "[email protected]",
},
"relations": null,
"ous": [
{
"id": 209,
"typeId": 2
}
]
}
The problem is that I only have examples of “group” entitlement schemas but these come in as type “Entitlement”. Can someone assist me with creating an entitlement schema for “Entitlements” as the documentation is pretty fuzzy around this? We have nativeObjectTypes, attribute fields, and even the name but I can’t figure out how to get this setup correctly. Maybe there needs to be something set on the account schema as well?
Current entitlement schema:
{
"nativeObjectType": "group",
"identityAttribute": "ous",
"displayAttribute": "name",
"hierarchyAttribute": null,
"includePermissions": false,
"features": [],
"configuration": {},
"attributes": [
{
"name": "ous",
"type": "STRING",
"schema": null,
"description": "OU",
"isMulti": false,
"isEntitlement": false,
"isGroup": false
},
{
"name": "name",
"type": "STRING",
"schema": null,
"description": "OU name.",
"isMulti": false,
"isEntitlement": false,
"isGroup": false
},
{
"name": "typeId",
"type": "STRING",
"schema": null,
"description": "Type ID",
"isMulti": false,
"isEntitlement": false,
"isGroup": false
}
],
"id": "2c9180847a0bddb7017a0fee2c1f351f",
"name": "group"
}
Thanks in advance!