URI:
https://api.onlinephotosubmission.com/api/people/{id}/with-links
https://api.onlinephotosubmission.com/api/people/{email address}/with-links?findBy=email
https://api.onlinephotosubmission.com/api/people/{identifier}/with-links
?findBy=identifier
Optional URL Parameters: findBy=[id|email|identifier] (default: id)
DEPRECATION NOTICE: Finding a person by email address or identifier (aka Student ID/Employee ID) without specifying the findBy
parameter is still supported but has been deprecated, and will no longer be supported on or after April 1, 2019.
HTTP Method:GET
Required Headers: X-Auth-Token (see: Authentication)
Example Request Body
(LEAVE REQUEST BODY EMPTY)
The response contains a full JSON representation of the person. The login link can be found in the links
field.
Example Response
200 OK { "accountExpired":false, "accountLocked":false, "activatedDate":null, "authorities":[ ... ], "currentPhoto":null, "customFields":{ ... }, "dateTermsAccepted":null, "domainClass":"com.campuscardtools.myphotoid.Person", "email":"john.doe@foo.edu", "enabled":true, "id":123, "identifier":"ABC123", "latestPhoto": null, "links": { "login": "https://app.onlinephotosubmission.com/#/login?auth_token=abcdefghijklmnopqrstuvwxyz" }, "organization":{ ... }, "passwordExpired":false, "passwordResetRequired":false, "readOnly":false, "username":"john.doe@foo.edu" }