Waiting for engine...
Skip to main content

Get Assignable Roles operation

You can use the Get Assignable Roles operation to retrieve a list of roles that are assignable under a account.

SOAP implementation

To perform a getAssignableRoles operation, use it from the WSDL. The following example shows a SOAP envelope (without WS-Security headers) for retrieving a list of assignable roles.

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header/>
<soapenv:Body>
<api:getAssignableRoles/>
</soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:getAssignableRolesResponse xmlns:bns="http://api.platform.boomi.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bns:result>
<bns:role name="Administrator" accountId="1" id="fcb6dd44-0ca8-11e2-a477-1231381987a5">
<bns:description>Boomi Default Administrator role.</bns:description>
</bns:role>
<bns:role name="Production Support" accountId="1" id="fcb6e3b6-0ca8-11e2-a477-1231381987a5">
<bns:description>Boomi Default Production Support User role.</bns:description>
</bns:role>
<bns:role name="Standard User" accountId="1" id="fcb6e2d0-0ca8-11e2-a477-1231381987a5">
<bns:description>Boomi Default Standard User role.</bns:description>
</bns:role>
<bns:role name="Support" accountId="1" id="fcb6e474-0ca8-11e2-a477-1231381987a5">
<bns:description>Boomi Default Basic Support User role.</bns:description>
</bns:role>
<bns:role parentId="fcb6e2d0-0ca8-11e2-a477-1231381987a5" name="TestRole" accountId="account-123456" id="01234567-89ab-cdef-0123-456789abcdef">
<bns:description/>
</bns:role>
<bns:role parentId="fcb6e2d0-0ca8-11e2-a477-1231381987a5" name="Test2" accountId="account-123456" id="fedcba98-7654-3210-fedc-ba9876543210">
<bns:description/>
</bns:role>
</bns:result>
</bns:getAssignableRolesResponse>
</S:Body>
</S:Envelope>

On this Page