# List the documents requested from a record

What is still owed on one record: every document asked for, open ones first and oldest ask first inside each group, with the period each covers. This is what the desk has ASKED for; `get_definitions_key_rows_rowId_documents_checklist` is the wider question of what the record's form asked for and what has actually arrived.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/document-requests`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    {
      "documentType": "string",
      "fulfilledAt": "string",
      "fulfilledBy": 1.5,
      "fulfilledFileId": "",
      "id": "",
      "note": "string",
      "periods": [
        {
          "label": "string",
          "periodEnd": "string",
          "periodStart": "string"
        }
      ],
      "requestedAt": "string",
      "requestedBy": 1.5,
      "rowId": "",
      "status": "string"
    }
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
