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": "9d264095-ef4f-40fc-b277-ef3556e78450",
"AddressName": "sample string 2",
"CreationDate": "2025-12-06T03:06:39.516904+00:00",
"CreatorUserId": "f1a3cb03-597b-428c-81ac-93b12992a83d",
"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": "9ff2b705-a49f-4c1d-8063-876a8737ec53",
"ProfileId": "76b717a7-7e37-4363-bc0e-01deb5038663",
"AddressProperties": [
{
"Id": "d1b4ae5c-9e6a-4042-b70f-042058a1b542",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:06:39.516904+00:00",
"AddressId": "4ef3de5f-2254-43a0-a550-62ff151c4f02"
},
{
"Id": "d1b4ae5c-9e6a-4042-b70f-042058a1b542",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:06:39.516904+00:00",
"AddressId": "4ef3de5f-2254-43a0-a550-62ff151c4f02"
}
]
}
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>4ef3de5f-2254-43a0-a550-62ff151c4f02</AddressId>
<CreationDate>2025-12-06T03:06:39.516904+00:00</CreationDate>
<Id>d1b4ae5c-9e6a-4042-b70f-042058a1b542</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AddressPropertyDto>
<AddressPropertyDto>
<AddressId>4ef3de5f-2254-43a0-a550-62ff151c4f02</AddressId>
<CreationDate>2025-12-06T03:06:39.516904+00:00</CreationDate>
<Id>d1b4ae5c-9e6a-4042-b70f-042058a1b542</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AddressPropertyDto>
</AddressProperties>
<City>sample string 10</City>
<CountryCode>sample string 13</CountryCode>
<CreationDate>2025-12-06T03:06:39.516904+00:00</CreationDate>
<CreatorUserId>f1a3cb03-597b-428c-81ac-93b12992a83d</CreatorUserId>
<EmailAddress>sample string 15</EmailAddress>
<Id>9d264095-ef4f-40fc-b277-ef3556e78450</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>9ff2b705-a49f-4c1d-8063-876a8737ec53</OrganisationId>
<PostCode>sample string 12</PostCode>
<ProfileId>76b717a7-7e37-4363-bc0e-01deb5038663</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.