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 or sets the identification number of the relation.

string

Required

RelationClientId

Gets or sets the client id of the relation.

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "IdentificationNumber": "sample string 1",
  "RelationClientId": 2
}