This service will return the same response as the PeopleService, but it is a GET request for either 1 individual if searching by netid, upi, idcard, proxnumber or a small subset if searching by name parameters.
NOTE: If your service account does not have access to id card number and prox number you cannot filter by those identifiers. Parameters are limited to fields of access.
Service Contract:
DRAFT_SearchbyIndividual112116.xlsx
Endpoint: https://gw-dev.its.yale.edu/soa-gateway/PeopleHub/SearchByIndividual?
Parameters: These can be added in any amount, all 6 can be used, just one, or any combination of the 6. However, at least 1 parameter value must be used for this service. To use multiple parameters place "&" in between the parameter names.
netid=
upi=
firstname= (Partial or full names are allowed, if partial name it must be the first portion of the name)
lastname= (Partial or full names are allowed, if partial name it must be the first portion of the name)
idcard=
proxnumber=
outputformat= (enter xml or json), if no output format is defined, it will default to xml
Examples:
https://gw-dev.its.yale.edu/soa-gateway/PeopleHub/SearchByIndividual?lastname=Young&firstname=Br&outputformat=json
https://gw-dev.its.yale.edu/soa-gateway/PeopleHub/SearchByIndividual?netid=sl2393
Related articles