Hi team,
We’re planning to implement webservice VA connector for one of the cloud applications. Account creation will be done using role request. Role is of array of objects. How this can be designed in SailPoint IdentityNow? I’ve provided postman sample for create user and get role API
Create User payload:
[
{
"userName": "atestuser1",
"password": "Password123!",
"name": {
"firstName": "Test",
"middleName": "A",
"lastName": "User1",
"displayName": "Test User1"
},
"email": "[email protected]",
"phoneNumber": "555-555-5555",
"roles": [
{
"type": "Close",
"value": "CloseAdmin"
},
{
"type": "Certification",
"value": "Reconciler"
},
{
"type": "Certification",
"value": "ProgramAdmin"
},
{
"type": "JournalEntry",
"value": "Preparer"
}
],
"userAccess": {
"r2RReadOnly": true,
"r2RAdmin": false,
"r2REnabled": true,
"accessClose": true,
"accessCompliance": true
},
"departmentId": "SALES",
"locationId": "Americas",
"programAdminId": "Admin"
},
{
"userName": "atestuser2",
"password": "Password345!",
"name": {
"firstName": "Test",
"middleName": "A",
"lastName": "User2",
"displayName": "Test User2"
},
"email": "[email protected]"
}
]
**Get Roles response from postman**
[
{
"type": "Close",
"value": "CloseAdmin"
},
{
"type": "Certification",
"value": "Reconciler"
},
{
"type": "JournalEntry",
"value": "Preparer"
}
]