You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can you Create a role assignment REST API in Batch?

Summary:

I want to load user roles via REST API, but would prefer to run it in a batch, is this possible?

Content (please ensure you mask any confidential information):

I am running a simple post call to add roles to users. It is working fine, but it would be much faster if i could run it in a batch. I am sending the below for the single post:

URL:

/hcmRestApi/resources/11.13.18.05/userAccounts/{{GUID}}/child/userAccountRoles

BODY:

{ "RoleCode": "{{RoleCode}}"}

Is there any way to load multiple RoleCodes per GUID? I havent been able to make any array work or find any documentation on this.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!