PUT Person/UpdateRelation/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ApiFromBodyRelationship| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| RelatedPersonId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| RelatedTypeId | byte |
Required Range: inclusive between 1 and 255 |
|
| StartDate | date |
None. |
|
| ParticipationPercentage | decimal number |
None. |
|
| Description | string |
Max length: 100 |
|
| AccountId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"personId": 1,
"relatedPersonId": 2,
"relatedTypeId": 64,
"startDate": "2026-06-23T06:12:27.2266217+02:00",
"participationPercentage": 1.0,
"description": "sample string 4",
"accountId": 1
}
multipart/form-data
Sample:
{"personId":1,"relatedPersonId":2,"relatedTypeId":64,"startDate":"2026-06-23T06:12:27.2266217+02:00","participationPercentage":1.0,"description":"sample string 4","accountId":1}
application/xml, text/xml
Sample:
<ApiFromBodyRelationship xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PersonId>1</PersonId> <RelatedPersonId>2</RelatedPersonId> <RelatedTypeId>64</RelatedTypeId> <StartDate>2026-06-23T06:12:27.2266217+02:00</StartDate> <ParticipationPercentage>1</ParticipationPercentage> <Description>sample string 4</Description> <AccountId>1</AccountId> </ApiFromBodyRelationship>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.