PeopleService Making Requests
Data Source: People Hub
These services should be used for getting batches of data for applications. All requests are made using basic authentication and you will need to pass the credentials from your application.
The GET service will return all attributes you have access too, the options are the "GetPeopleService" and the "LimitedPeopleService", see the service contracts below for details. The LimitedPeopleService contains less attributes, but the more generic ones. Note: An enhancement was deployed to Production in June 2019 to enable filtering on GetPeopleService click this link for details: Version Notes 1.3
The POST service will enable you to pass parameters listed below and in the PeopleService contract. This gives you some flexibility in datasets and in attributes returned.
PeopleService Service Contract: PeopleService_v1.xlsx
GetPeopleService Service Contract: GetPeopleService_v1.xlsx
Request XSD: PeopleService_Request.xsd (Applies to POST only!)
Response XSD: PeopleService_Response.xsd
LimitedPeopleService Service Contract:LimitedPeopleService_v1.xlsx
LimitedPeopleService XSD: LimitedPeopleService_Response_v1.xsd
Note: For Pagination on LimitedPeopleService the parameters should be in the URL as "pagenumber" and "recordsperpage". Example: https://gw-tst.its.yale.edu/soa-gateway/PeopleHub/v1/LimitedPeopleService?pagenumber=1&recordsperpage=10000
For XML Parsing please see these notes: XML Parsing
SoapUI Project Examples:
PeopleHub_Requests-soapui-project.xml
LimitedPeopleService-soapui-project.xml
GetPeopleService-soapui-project.xml
Endpoints:
Test:
For POST method (passing parameters and custom querying):
https://gw-tst.its.yale.edu/soa-gateway/PeopleHub/v1/PeopleService
For GET method (no parameters, full data set user has access to):
https://gw-tst.its.yale.edu/soa-gateway/PeopleHub/v1/GetPeopleService
https://gw-tst.its.yale.edu/soa-gateway/PeopleHub/v1/LimitedPeopleService
Production:
For POST method (passing parameters and custom querying):
https://gw.its.yale.edu/soa-gateway/PeopleHub/v1/PeopleService
For GET method (no parameters, full data set user has access to):
https://gw.its.yale.edu/soa-gateway/PeopleHub/v1/GetPeopleService
https://gw.its.yale.edu/soa-gateway/PeopleHub/v1/LimitedPeopleService
Making Requests:
GET method requests will default to the "Get All Data" message listed in the example requests.
For POST Requests: Must set header for request with Content-Type you would like and send credentials.
Attribute Filters- accept Y/N
Population Filters- Please use Service Contract to get details PeopleService_v1.xlsx
Include Future: pass query parameter of ?includefuture=Y at the end of your endpoint. See Details here: Release Version Notes 1.1
Example Requests:
Related articles
Less stable (ongoing build process), can use for failure testing, or getting queries correct