Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

URI: https://api.onlinephotosubmission.com/person/requestAccessaccess-request

HTTP Method: POST

Required Headers: Content-Type: application/json

Note

DEPRECATION NOTICE: The old URI https://api.onlinephotosubmission.com/api/request-access is now deprecated and will no longer be supported after October 1, 2022

Sample

...

Request Body

Code Block
languagejs
{
    "email": "john.doe@foo.edu"
}

In the case of a user who does not exist, or an existing cardholder, the user will get an email with their login link, and the response to the request will have a 200 status code and the following body:

...

Response Body for Existing Users

Status: 204 NO CONTENT

Code Block
languagejs

Response Body for New Users

Warning

As of version 2022.05.22, there is an error that prevents new users from being created via the access request end point.

Status: 201 CREATED

{ "status": 201 }
Code Block
languagejs

The `Location` header will contain the relative URL of the user that was created or emailed again.

...