Log-in link retrieval
This service returns a URL that will be used to redirect and start a new session for the patron accessing www.pretnumerique.ca.
To use this service, you must authenticate as described in the section "Complete API integration with your ILS/Authentication".
You have two possibilities: declaring a patron as anonymous and declaring a patron as authenticated.
Authenticated patrons have certain advantages over anonymous patrons. For instance, anonymous patrons must enter their email address every time they check out a book, whereas authenticated patrons do not have to. Also, authenticated patrons can save certain settings that anonymous patrons cannot.
Settings
| Name | Required | Description |
|---|---|---|
| member_id | No | Patron identifier. |
| redirect | No | Redirect URL following a successful login. |
Successful response
| Code | Description |
|---|---|
| 200 | The login link was successfully sent. |
{
"url": "https://www.pretnumerique.ca/v1/member_sign_in?timestamp=2011-06-10T19:13Z&nonce=hBo4ksd&token=3be6f63bc0cd24c3ffb80437233&redirect=http%253A%252F%252Fwww.google.ca"
}
<member_sign_in>
<url>https://www.pretnumerique.ca/v1/member_sign_in?timestamp=2011-06-10T19:13Z&nonce=hBo4ksd&token=3be6f63bc0cd24c3ffb80437233&redirect=http%253A%252F%252Fwww.google.ca</url>
</member_sign_in>
URL allowing a session to be opened for a patron.