POST api/Customer/GetCustomerAddress

Request Information

URI Parameters

None.

Body Parameters

GetCustomerAddressRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UserId

integer

None.

Token

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UserId": 1,
  "Token": "e6ecc78d-13a7-4e30-8ce4-2160222d142b"
}

application/xml, text/xml

Sample:
<GetCustomerAddressRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <CustomerId>1</CustomerId>
  <Token>e6ecc78d-13a7-4e30-8ce4-2160222d142b</Token>
  <UserId>1</UserId>
</GetCustomerAddressRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetCustomerAddressRequest'.

Response Information

Resource Description

GetBaseCustomerAddressResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Token

globally unique identifier

None.

BaseObjects

Collection of BaseCustomerAddressModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Token": "6ac22199-dd09-4958-b5f0-2a3faf94a173",
  "BaseObjects": [
    {
      "CustomerId": 1,
      "AddressLine1": "sample string 1",
      "AddressLine2": "sample string 2",
      "AddressLine3": "sample string 3",
      "Town": "sample string 4",
      "County": "sample string 5",
      "Country": "sample string 6",
      "PostCode": "sample string 7",
      "Tel": "sample string 8",
      "Latitude": "sample string 9",
      "Longitude": "sample string 10",
      "IsDeleted": true,
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:26:07.4541697+00:00",
      "LastUpdated": "2026-03-20T14:26:07.4541697+00:00",
      "Id": 1
    },
    {
      "CustomerId": 1,
      "AddressLine1": "sample string 1",
      "AddressLine2": "sample string 2",
      "AddressLine3": "sample string 3",
      "Town": "sample string 4",
      "County": "sample string 5",
      "Country": "sample string 6",
      "PostCode": "sample string 7",
      "Tel": "sample string 8",
      "Latitude": "sample string 9",
      "Longitude": "sample string 10",
      "IsDeleted": true,
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:26:07.4541697+00:00",
      "LastUpdated": "2026-03-20T14:26:07.4541697+00:00",
      "Id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<GetBaseCustomerAddressResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
    <d2p1:BaseCustomerAddressModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-20T14:26:07.4541697+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:26:07.4541697+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3>
      <d2p1:Country>sample string 6</d2p1:Country>
      <d2p1:County>sample string 5</d2p1:County>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Latitude>sample string 9</d2p1:Latitude>
      <d2p1:Longitude>sample string 10</d2p1:Longitude>
      <d2p1:PostCode>sample string 7</d2p1:PostCode>
      <d2p1:Tel>sample string 8</d2p1:Tel>
      <d2p1:Town>sample string 4</d2p1:Town>
    </d2p1:BaseCustomerAddressModel>
    <d2p1:BaseCustomerAddressModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-20T14:26:07.4541697+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:26:07.4541697+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 3</d2p1:AddressLine3>
      <d2p1:Country>sample string 6</d2p1:Country>
      <d2p1:County>sample string 5</d2p1:County>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Latitude>sample string 9</d2p1:Latitude>
      <d2p1:Longitude>sample string 10</d2p1:Longitude>
      <d2p1:PostCode>sample string 7</d2p1:PostCode>
      <d2p1:Tel>sample string 8</d2p1:Tel>
      <d2p1:Town>sample string 4</d2p1:Town>
    </d2p1:BaseCustomerAddressModel>
  </BaseObjects>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <Token>6ac22199-dd09-4958-b5f0-2a3faf94a173</Token>
</GetBaseCustomerAddressResponse>