PUT client/{id}/partnerrelationsupdate
Add a new relation to a client with a partner.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the client. |
integer |
Required |
Body Parameters
The PartnerRelationViewModel, containing information about the relation.
FiscaalGemak.Web.Api.Models.Models.PartnerRelationViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdentificationNumberPartner |
Gets or sets the identification number of the partner. |
string |
Required String length: inclusive between 0 and 9 |
| SituationType |
Gets or sets the Situation of the client. |
FiscaalGemak.Core.Models.SituationType |
None. |
| StartDate | date |
Required |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdentificationNumberPartner": "sample string 1",
"SituationType": 0,
"StartDate": "2025-10-26T15:41:19.2907285+01:00",
"EndDate": "2025-10-26T15:41:19.2907285+01:00"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns status code 200-OK with the PartnerRelationViewModel, upon successful update of the partner relation.
FiscaalGemak.Web.Api.Models.Models.PartnerRelationViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdentificationNumberPartner |
Gets or sets the identification number of the partner. |
string |
Required String length: inclusive between 0 and 9 |
| SituationType |
Gets or sets the Situation of the client. |
FiscaalGemak.Core.Models.SituationType |
None. |
| StartDate | date |
Required |
|
| EndDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdentificationNumberPartner": "sample string 1",
"SituationType": 0,
"StartDate": "2025-10-26T15:41:19.2933744+01:00",
"EndDate": "2025-10-26T15:41:19.2933744+01:00"
}