Versions Compared

Key

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

...

https://gw-dev.its.yale.edu/soa-gateway/GetRoles?type=SUPERVISORY&page=1&recordsperpage=10&outputformat=json

One Cost Center-

 

One Cost Center Supervisory Org-

https://gw-dev.its.yale.edu/soa-gateway/GetRoles?code=SO100113

One Supervisory with One Role-

 

One Supervisory Org-

 https://gw-dev.its.yale.edu/soa-gateway/GetRoles?code=SO100113&role=HR Partner

One Cost Center in JSON-

https://gw-dev.its.yale.edu/soa-gateway/GetRoles?code=CC0119&outputformat=json

One Supervisory Org with One Role in JSON-

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

 

Example XML:

Code Block
languagexml
titleExample Response
<Roles xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wd="urn:com.workday/bsvc">
   <Header>
      <Page>1</Page>
      <TotalPages>164</TotalPages>
   </Header>
   <Role>
      <Cd>CC0001</Cd>
      <Nm>HOSBUS Business Office</Nm>
      <Inactive>0</Inactive>
      <Type>COST_CENTER</Type>
      <RoleID>Cost_Center_Financial_Analyst</RoleID>
      <RoleNm>Cost Center Financial Analyst</RoleNm>
      <WorkerNm>Gagliardi, Anthony Dai</WorkerNm>
      <EmpID>151677</EmpID>
   </Role>

Example JSON:

Code Block
languagexml
titleExample Response
{"Roles": {
   "Header":    {
      "Page": "1",
      "TotalPages": "425"
   },
   "Role":    [
            {
         "RoleNm": "HR Partner",
         "Nm": "Department of Applied Physics",
         "EmpID": "154097",
         "Type": "SUPERVISORY",
         "Inactive": "0",
         "Cd": "SO100113",
         "RoleID": "HR_Partner",
         "WorkerNm": "Huber, Kyleen"
      }