GET api/Address/GetAllAddressByCustomerId?CustomerId={CustomerId}&PackageId={PackageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

PackageId

integer

None.

Body Parameters

None.

Response Information

Resource Description

DescriptiveResponseOfListOfAddressDTOMobile
NameDescriptionTypeAdditional information
Value

Collection of AddressDTOMobile

None.

CoreValue

string

None.

IsErrorState

boolean

None.

ErrorDescription

string

None.

ErrorMetadata

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": [
    {
      "AddressId": 1,
      "BuildingNo": "sample string 2",
      "Steert": "sample string 3",
      "Floor": "sample string 4",
      "Apartment": "sample string 5",
      "ZoneName": "sample string 6",
      "ZoneId": 1,
      "CityId": 1,
      "CityName": "sample string 7",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "LandMark": "sample string 8",
      "AddressCategoryId": 1,
      "AddressCategoryName": "sample string 9",
      "SubZoneName": "sample string 10",
      "SubZoneId": 1,
      "CustomerId": 1
    },
    {
      "AddressId": 1,
      "BuildingNo": "sample string 2",
      "Steert": "sample string 3",
      "Floor": "sample string 4",
      "Apartment": "sample string 5",
      "ZoneName": "sample string 6",
      "ZoneId": 1,
      "CityId": 1,
      "CityName": "sample string 7",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "LandMark": "sample string 8",
      "AddressCategoryId": 1,
      "AddressCategoryName": "sample string 9",
      "SubZoneName": "sample string 10",
      "SubZoneId": 1,
      "CustomerId": 1
    }
  ],
  "CoreValue": "sample string 1",
  "IsErrorState": true,
  "ErrorDescription": "sample string 3",
  "ErrorMetadata": {}
}

application/xml, text/xml

Sample:
<DescriptiveResponseOfArrayOfAddressDTOMobiles_SlrnjSQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.Entities">
  <CoreValue>sample string 1</CoreValue>
  <ErrorDescription>sample string 3</ErrorDescription>
  <ErrorMetadata />
  <IsErrorState>true</IsErrorState>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO.MobileDTO">
    <d2p1:AddressDTOMobile>
      <d2p1:AddressCategoryId>1</d2p1:AddressCategoryId>
      <d2p1:AddressCategoryName>sample string 9</d2p1:AddressCategoryName>
      <d2p1:AddressId>1</d2p1:AddressId>
      <d2p1:Apartment>sample string 5</d2p1:Apartment>
      <d2p1:BuildingNo>sample string 2</d2p1:BuildingNo>
      <d2p1:CityId>1</d2p1:CityId>
      <d2p1:CityName>sample string 7</d2p1:CityName>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:Floor>sample string 4</d2p1:Floor>
      <d2p1:LandMark>sample string 8</d2p1:LandMark>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:Steert>sample string 3</d2p1:Steert>
      <d2p1:SubZoneId>1</d2p1:SubZoneId>
      <d2p1:SubZoneName>sample string 10</d2p1:SubZoneName>
      <d2p1:ZoneId>1</d2p1:ZoneId>
      <d2p1:ZoneName>sample string 6</d2p1:ZoneName>
    </d2p1:AddressDTOMobile>
    <d2p1:AddressDTOMobile>
      <d2p1:AddressCategoryId>1</d2p1:AddressCategoryId>
      <d2p1:AddressCategoryName>sample string 9</d2p1:AddressCategoryName>
      <d2p1:AddressId>1</d2p1:AddressId>
      <d2p1:Apartment>sample string 5</d2p1:Apartment>
      <d2p1:BuildingNo>sample string 2</d2p1:BuildingNo>
      <d2p1:CityId>1</d2p1:CityId>
      <d2p1:CityName>sample string 7</d2p1:CityName>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:Floor>sample string 4</d2p1:Floor>
      <d2p1:LandMark>sample string 8</d2p1:LandMark>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:Steert>sample string 3</d2p1:Steert>
      <d2p1:SubZoneId>1</d2p1:SubZoneId>
      <d2p1:SubZoneName>sample string 10</d2p1:SubZoneName>
      <d2p1:ZoneId>1</d2p1:ZoneId>
      <d2p1:ZoneName>sample string 6</d2p1:ZoneName>
    </d2p1:AddressDTOMobile>
  </Value>
</DescriptiveResponseOfArrayOfAddressDTOMobiles_SlrnjSQ>