# GetByRelatedToId

**Kind:** API Endpoint

**Source:** `Pams/API/Pams.API/Controllers/Common/AddressController.cs` (line 40)

**Part of:** [Pams](subsystem-pams)

## Endpoint

`GET `

| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| `relatedToId` | query | `long` | ✓ |  |
| `relatedToTypeId` | query | `int` | ✓ |  |
| `typeId` | query | `int` | ✓ |  |

## Used by

4 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Declared in (2)

- `AddressController` — `Pams/API/Pams.API/Controllers/Common/AddressController.cs`:15
- `AddressController` — `Pams/API/Pams.API/Controllers/Common/AddressController.cs`:15

### Imported by (2)

- `ContactInfoController` — `Pams/API/Pams.API/Controllers/Common/ContactInfoController.cs`:15
- `ContactPersonController` — `Pams/API/Pams.API/Controllers/Common/ContactPersonController.cs`:17
