Get Login Link

URI: 

  • https://api.cloudcard.us/api/people/{id}/with-links

  • https://api.cloudcard.us/api/people/{email address}/with-links?findBy=email

  • https://api.cloudcard.us/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" }