GET api/clients/{id}/relations

Attention! This route is deprecated, use '/client/{id}/relations'.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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-09-17T19:00:33.9917627+02:00",
  "EndDate": "2025-09-17T19:00:33.9917627+02:00",
  "InterestPercentile": 4.0
}