PUT api/addresses/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
AddressDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| AddressName | string |
None. |
|
| CreationDate | date |
None. |
|
| CreatorUserId | globally unique identifier |
None. |
|
| Line1 | string |
None. |
|
| Line2 | string |
None. |
|
| Line3 | string |
None. |
|
| Line4 | string |
None. |
|
| Line5 | string |
None. |
|
| City | string |
None. |
|
| Locality | string |
None. |
|
| PostCode | string |
None. |
|
| CountryCode | string |
None. |
|
| Telephone | string |
None. |
|
| EmailAddress | string |
None. |
|
| VatNumber | string |
String length: inclusive between 0 and 20 |
|
| IsDeleted | boolean |
None. |
|
| OrganisationId | globally unique identifier |
None. |
|
| ProfileId | globally unique identifier |
None. |
|
| AddressProperties | Collection of AddressPropertyDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "0f3e6b18-8c3b-4f91-9b00-c50915ce1d1c",
"AddressName": "sample string 2",
"CreationDate": "2026-01-10T00:48:30.4717189+00:00",
"CreatorUserId": "65e60c7f-dc2f-4b3a-bbf9-d06e4ee8a2b2",
"Line1": "sample string 5",
"Line2": "sample string 6",
"Line3": "sample string 7",
"Line4": "sample string 8",
"Line5": "sample string 9",
"City": "sample string 10",
"Locality": "sample string 11",
"PostCode": "sample string 12",
"CountryCode": "sample string 13",
"Telephone": "sample string 14",
"EmailAddress": "sample string 15",
"VatNumber": "sample string 16",
"IsDeleted": true,
"OrganisationId": "5ca68384-5176-412e-ac2d-4642ad033815",
"ProfileId": "3f0e8e1e-5100-4d8e-81fa-8adbc4617fcf",
"AddressProperties": [
{
"Id": "9e6b55a7-f7fa-401a-a1de-55507c76161d",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:48:30.4717189+00:00",
"AddressId": "39a3e867-f15a-4f0b-95ce-1cf3a436d9b5"
},
{
"Id": "9e6b55a7-f7fa-401a-a1de-55507c76161d",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:48:30.4717189+00:00",
"AddressId": "39a3e867-f15a-4f0b-95ce-1cf3a436d9b5"
}
]
}
application/xml, text/xml
Sample:
<AddressDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Profile.Models">
<AddressName>sample string 2</AddressName>
<AddressProperties>
<AddressPropertyDto>
<AddressId>39a3e867-f15a-4f0b-95ce-1cf3a436d9b5</AddressId>
<CreationDate>2026-01-10T00:48:30.4717189+00:00</CreationDate>
<Id>9e6b55a7-f7fa-401a-a1de-55507c76161d</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AddressPropertyDto>
<AddressPropertyDto>
<AddressId>39a3e867-f15a-4f0b-95ce-1cf3a436d9b5</AddressId>
<CreationDate>2026-01-10T00:48:30.4717189+00:00</CreationDate>
<Id>9e6b55a7-f7fa-401a-a1de-55507c76161d</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AddressPropertyDto>
</AddressProperties>
<City>sample string 10</City>
<CountryCode>sample string 13</CountryCode>
<CreationDate>2026-01-10T00:48:30.4717189+00:00</CreationDate>
<CreatorUserId>65e60c7f-dc2f-4b3a-bbf9-d06e4ee8a2b2</CreatorUserId>
<EmailAddress>sample string 15</EmailAddress>
<Id>0f3e6b18-8c3b-4f91-9b00-c50915ce1d1c</Id>
<IsDeleted>true</IsDeleted>
<Line1>sample string 5</Line1>
<Line2>sample string 6</Line2>
<Line3>sample string 7</Line3>
<Line4>sample string 8</Line4>
<Line5>sample string 9</Line5>
<Locality>sample string 11</Locality>
<OrganisationId>5ca68384-5176-412e-ac2d-4642ad033815</OrganisationId>
<PostCode>sample string 12</PostCode>
<ProfileId>3f0e8e1e-5100-4d8e-81fa-8adbc4617fcf</ProfileId>
<Telephone>sample string 14</Telephone>
<VatNumber>sample string 16</VatNumber>
</AddressDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.