PUT api/v1/relatives/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
RelativeDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
FirstName | string |
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": "c41a6b79-55c5-49d3-948d-70e9c0f5e1da", "firstName": "sample string 1", "lastName": "sample string 2", "birthDate": "2025-08-31T01:59:30.4638855+00:00", "gender": 0, "type": 0, "hasActiveCard": true, "customerId": "2c8d110c-96bb-4f44-8826-dc71f5d4810b", "relativeFields": { "sample string 1": { "code": "sample string 1", "name": "sample string 2", "stringValue": "sample string 3", "dateTimeValue": "2025-08-31T01:59:30.4638855+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": "2025-08-31T01:59:30.4638855+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>2025-08-31T01:59:30.4638855+00:00</BirthDate> <CustomerId>2c8d110c-96bb-4f44-8826-dc71f5d4810b</CustomerId> <FirstName>sample string 1</FirstName> <Gender>Male</Gender> <HasActiveCard>true</HasActiveCard> <Id>c41a6b79-55c5-49d3-948d-70e9c0f5e1da</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>2025-08-31T01:59:30.4638855+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>2025-08-31T01:59:30.4638855+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.