PUT api/v1/relatives/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
RelativeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| Id | globally unique identifier |
None. |
|
| LastName | string |
None. |
|
| BirthDate | date |
None. |
|
| Gender | Gender |
None. |
|
| Type | RelativeType |
None. |
|
| HasActiveCard | boolean |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| RelativeFields | Dictionary of string [key] and RelativeFieldDto [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "61869691-e982-4c06-8ea3-bafb57a0ed9d",
"firstName": "sample string 1",
"lastName": "sample string 2",
"birthDate": "2026-02-04T03:08:37.8293288+00:00",
"gender": 0,
"type": 0,
"hasActiveCard": true,
"customerId": "500f9cc6-10e9-4282-a35a-42e4abd700ad",
"relativeFields": {
"sample string 1": {
"code": "sample string 1",
"name": "sample string 2",
"stringValue": "sample string 3",
"dateTimeValue": "2026-02-04T03:08:37.8293288+00:00",
"intValue": 1,
"boolValue": true,
"type": "sample string 4"
},
"sample string 2": {
"code": "sample string 1",
"name": "sample string 2",
"stringValue": "sample string 3",
"dateTimeValue": "2026-02-04T03:08:37.8293288+00:00",
"intValue": 1,
"boolValue": true,
"type": "sample string 4"
}
}
}
application/xml, text/xml
Sample:
<RelativeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
<BirthDate>2026-02-04T03:08:37.8293288+00:00</BirthDate>
<CustomerId>500f9cc6-10e9-4282-a35a-42e4abd700ad</CustomerId>
<FirstName>sample string 1</FirstName>
<Gender>Male</Gender>
<HasActiveCard>true</HasActiveCard>
<Id>61869691-e982-4c06-8ea3-bafb57a0ed9d</Id>
<LastName>sample string 2</LastName>
<RelativeFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringRelativeFieldDtouOHOlRpi>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<BoolValue>true</BoolValue>
<Code>sample string 1</Code>
<DateTimeValue>2026-02-04T03:08:37.8293288+00:00</DateTimeValue>
<IntValue>1</IntValue>
<Name>sample string 2</Name>
<StringValue>sample string 3</StringValue>
<Type>sample string 4</Type>
</d2p1:Value>
</d2p1:KeyValueOfstringRelativeFieldDtouOHOlRpi>
<d2p1:KeyValueOfstringRelativeFieldDtouOHOlRpi>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<BoolValue>true</BoolValue>
<Code>sample string 1</Code>
<DateTimeValue>2026-02-04T03:08:37.8293288+00:00</DateTimeValue>
<IntValue>1</IntValue>
<Name>sample string 2</Name>
<StringValue>sample string 3</StringValue>
<Type>sample string 4</Type>
</d2p1:Value>
</d2p1:KeyValueOfstringRelativeFieldDtouOHOlRpi>
</RelativeFields>
<Type>Son</Type>
</RelativeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.