# Get list of visas for a person

> For the complete documentation index, see [llms.txt](https://developer.fluxir.com/llms.txt).

**GET** `/api/app/visas`

Retrieve a paged list of visa records for the specified person with filtering and pagination support.

## Authorization

- oidc (openIdConnect)

## Header parameters

- `X-Tenant` (string)
  Tenant ID

## Query parameters

- `PersonId` (integer)
- `Filter` (string)
- `ExpirationFilter` (string)
- `Sorting` (string)
- `SkipCount` (integer)
- `MaxResultCount` (integer)

## Responses

### 200

OK

- `items` (object[])
  - `id` (integer<int64>)
  - `personId` (integer<int64>)
  - `visaApplicationId` (integer<int64>)
  - `visaTypeName` (string)
  - `countryCode` (string)
  - `isReadonly` (boolean)
  - `validFrom` (string<date>)
  - `validTo` (string<date>)
  - `hasDownloadableContent` (boolean)
  - `visaNo` (string)
  - `serialNumber` (string)
  - `numOfEntries` ("Single" | "Multi" | "Double")
  - `relatedVisaTypeId` (integer<int64>)
- `totalCount` (integer<int64>)

Example:

```json
{
  "items": [
    {
      "id": 0,
      "personId": 0,
      "visaApplicationId": 0,
      "visaTypeName": "string",
      "countryCode": "string",
      "isReadonly": true,
      "validFrom": "2024-01-01",
      "validTo": "2024-01-01",
      "hasDownloadableContent": true,
      "visaNo": "string",
      "serialNumber": "string",
      "numOfEntries": "Single",
      "relatedVisaTypeId": 0
    }
  ],
  "totalCount": 0
}
```

### 400

Bad Request

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 401

Unauthorized

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 403

Forbidden

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 404

Not Found

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 500

Internal Server Error

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 501

Not Implemented

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```