...
Parameters: These can be added in any amount, all can be used, just one, or any combination of them. However, at least 1 required parameter value must be used for this service. To use multiple parameters place "&" in between the parameter names. If you You are restricted to which Roles you may see you must pass one of the "Role" value. If you are restricted to a role type Ex. SUPERVISORY, you must pass type valueRole parameter values.
You are required to enter one of these parameters:
Option A:
typerole= (Ex. Cost _ Center , SupervisoryManager)
Option B:
coderoleid= (Ex. CC0001)
Option C:
role= cost_center_manager)
You are may optionally enter any of these parameters:
Netid=
UPI=
type= (Ex. Cost_Center Manager, Supervisory)
Option D: Limiting Parameters (You should send these along with the role name for the best response):
Netid=
UPI=
code= (Ex. CC0001)
You may send this parameter with any set of options to receive the response in json instead of XML:
outputformat=json
Examples:
Batch for Cost Center (limit by org type)-
...
Batch for Cost Center Manager (limit by role)-
https://gw-dev.its.yale.edu/soa-gateway/COAHub/v1/GetRoles?type=COST_CENTER&role=Cost Center Manager
Batch for Supervisory in JSON-
https://gw-dev.its.yale.edu/soa-gateway/COAHub/v1/GetRoles?type=SUPERVISORY&outputformat=json
One Supervisory Org-
https://gw-dev.its.yale.edu/soa-gateway/COAHub/v1/GetRoles?code=SO100113
...