GET api/clients/{id}/relations
Attention! This route is deprecated, use '/client/{id}/relations'.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the client. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of RelationViewModels, containing information about the relation(s).
FiscaalGemak.Web.Api.Models.Models.RelationViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdentificationNumber |
Gets the identification number of the relation. |
string |
None. |
| RelationClientId |
Gets or sets the client id of the relation. |
integer |
Required |
| StartDate |
Gets or sets the start date of the relation. |
date |
Required |
| EndDate |
Gets or sets the end date of the relation. Defaults to no end date. |
date |
None. |
| InterestPercentile |
Gets or sets the interest percentile of the relation. |
decimal number |
Required Range: inclusive between 0 and 100 |
Response Formats
application/json, text/json
Sample:
{
"IdentificationNumber": "sample string 1",
"RelationClientId": 2,
"StartDate": "2025-10-26T17:15:12.779253+01:00",
"EndDate": "2025-10-26T17:15:12.779253+01:00",
"InterestPercentile": 4.0
}