POST 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

The RelationViewModel, containing information about the relation.

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

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns status code 200-OK upon successful removal of the partner relation.

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
}