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

string

Required

RelationClientId

integer

Required

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<RelationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiscaalGemak.Web.Api.Models.Models">
  <IdentificationNumber>sample string 1</IdentificationNumber>
  <RelationClientId>2</RelationClientId>
</RelationViewModel>