POST api/addresses/updatebillingaddress

Request Information

URI Parameters

None.

Body Parameters

AddressDto
NameDescriptionTypeAdditional 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": "c1eb2423-02e7-46cf-9cf5-3a738fb1e474",
  "AddressName": "sample string 2",
  "CreationDate": "2025-12-06T03:07:14.837783+00:00",
  "CreatorUserId": "72610d41-b21c-40d3-afe2-5590658cbdbf",
  "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": "3e322daa-f668-4f89-b01e-656bb8281f63",
  "ProfileId": "febe780b-d28f-45f2-8eb4-b7a85ab9cec7",
  "AddressProperties": [
    {
      "Id": "ea033090-7507-430b-84fd-66ff876cf823",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CreationDate": "2025-12-06T03:07:14.837783+00:00",
      "AddressId": "8b5cefd1-51cc-4463-86b0-347795478cc2"
    },
    {
      "Id": "ea033090-7507-430b-84fd-66ff876cf823",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CreationDate": "2025-12-06T03:07:14.837783+00:00",
      "AddressId": "8b5cefd1-51cc-4463-86b0-347795478cc2"
    }
  ]
}

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>8b5cefd1-51cc-4463-86b0-347795478cc2</AddressId>
      <CreationDate>2025-12-06T03:07:14.837783+00:00</CreationDate>
      <Id>ea033090-7507-430b-84fd-66ff876cf823</Id>
      <Name>sample string 2</Name>
      <Value>sample string 3</Value>
    </AddressPropertyDto>
    <AddressPropertyDto>
      <AddressId>8b5cefd1-51cc-4463-86b0-347795478cc2</AddressId>
      <CreationDate>2025-12-06T03:07:14.837783+00:00</CreationDate>
      <Id>ea033090-7507-430b-84fd-66ff876cf823</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:07:14.837783+00:00</CreationDate>
  <CreatorUserId>72610d41-b21c-40d3-afe2-5590658cbdbf</CreatorUserId>
  <EmailAddress>sample string 15</EmailAddress>
  <Id>c1eb2423-02e7-46cf-9cf5-3a738fb1e474</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>3e322daa-f668-4f89-b01e-656bb8281f63</OrganisationId>
  <PostCode>sample string 12</PostCode>
  <ProfileId>febe780b-d28f-45f2-8eb4-b7a85ab9cec7</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.