# Patron Loan

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

No description in the specification.

## Get patron loans

`GET` `/patron/{patronId}/loan` · `GetPatronLoans`

### Parameters

- `patronId` (In `path`, `string`, required) — Patron ID from authentication

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

### Responses

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

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

## Renew loan

`PUT` `/patron/{patronId}/loan/{loanId}` · `RenewPatronLoan`

Renew a loan

### Parameters

- `patronId` (In `path`, `string`, required) — Patron ID from authentication
- `loanId` (In `path`, `string`, required) — ID of the loan that is to be renewed

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

### Responses

- `200` [`RenewPatronLoanResponseBody`](https://plas.redia.dk/en/provider/v0.6.5/schemas/#RenewPatronLoanResponseBody) — It is important to check the returned `status` field, to distinguish between success and the different failure statuses.

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