Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »


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)

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"
}


  • No labels