# Patron Registration

Provider API v0.6.5 · 3 operations
Source: https://plas.redia.dk/en/provider/v0.6.5/patron-registration/

No description in the specification.

## This will create a new patron, by the given identifier.

`POST` `/patron/registration/identifier` · `RegisterPatronByIdentifier`

### Parameters

Shared across operations: `version`. [See the shared contract on the version page.](https://plas.redia.dk/en/provider/v0.6.5/)

### Request body

`application/json` · required

[`PatronRegistrationIdentifierRequestBody`](https://plas.redia.dk/en/provider/v0.6.5/schemas/#PatronRegistrationIdentifierRequestBody)

### Responses

- `200` [`PatronRegistrationIdentifierResponseBody`](https://plas.redia.dk/en/provider/v0.6.5/schemas/#PatronRegistrationIdentifierResponseBody) — Success

Error responses: 400 · 401 — [See the shared contract on the version page.](https://plas.redia.dk/en/provider/v0.6.5/)

## This will redirect the user to the chosen identity provider, for signup.

`GET` `/patron/registration/identity-provider` · `RegisterPatronByIdentityProvider`

This will redirect the user to the chosen identity provider, and create the user in the LMS.
[See a sequence flow diagram](https://storage.googleapis.com/open-library-api-files/images/idp.png).


### Parameters

- `type` (In `query`, `string`, required) — Identity provider type. The different types are defined in the /configuration endpoint.

Shared across operations: `version`. [See the shared contract on the version page.](https://plas.redia.dk/en/provider/v0.6.5/)

### Responses

- `200` [`PatronRegistrationIdentityProviderResponseBody`](https://plas.redia.dk/en/provider/v0.6.5/schemas/#PatronRegistrationIdentityProviderResponseBody) — Success

Error responses: 400 · 401 — [See the shared contract on the version page.](https://plas.redia.dk/en/provider/v0.6.5/)

## This will tell if it is possible to register a new patron, using the given identifier.

`POST` `/patron/registration/possible` · `IsPatronRegistrationPossible`

This will tell if it is possible to register a new patron, using the given identifier.  
The patron can then be registered through `POST /patron/registration/identifier`.


### Parameters

Shared across operations: `version`. [See the shared contract on the version page.](https://plas.redia.dk/en/provider/v0.6.5/)

### Request body

`application/json` · required

[`IsPatronRegistrationPossibleRequestBody`](https://plas.redia.dk/en/provider/v0.6.5/schemas/#IsPatronRegistrationPossibleRequestBody)

### Responses

- `200` [`IsPatronRegistrationPossibleResponseBody`](https://plas.redia.dk/en/provider/v0.6.5/schemas/#IsPatronRegistrationPossibleResponseBody) — Success

Error responses: 400 · 401 — [See the shared contract on the version page.](https://plas.redia.dk/en/provider/v0.6.5/)
