Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

role= (Ex. Cost Center Manager)

...

Option D: Limiting Parameters (You should send these along with the role name for the best response):

Netid=

UPI=

You may send this parameter with any set of options to receive the response in json instead of XML:

...

https://gw-dev.its.yale.edu/soa-gateway/COAHub/v1/GetRoles?code=CC0119&outputformat=json&role=Cost Center Financial Analyst

Orgs for One person and One Role:

https://gw-dev.its.yale.edu/soa-gateway/COAHub/v1/GetRoles?role=Cost Center Manager&netid=cf394

 

Example XML:

Code Block
languagexml
titleExample Response
<Roles>
    <Header>
        <Version>1.0</Version>
        <Count>1</Count>
    </Header>
    <Role>
        <Cd>SO100113</Cd>
        <Nm>Department of Applied Physics</Nm>
        <Inactive>0</Inactive>
        <Type>SUPERVISORY</Type>
        <RoleID>business_partner</RoleID>
        <RoleNm>Business Partner</RoleNm>
        <WorkerNm>Wojciechowski, Melissa A</WorkerNm>
        <EmpID>81827</EmpID>
        <NETID>mac247</NETID>
        <UPI>12051628</UPI>
    </Role>
</Roles>

...