GET api/PCXMLProspectiveCustomer/GetAllProspectiveCustomerAddressHistory?cccd={cccd}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cccd

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PCXMLProspectiveCustomerAddressHistory
NameDescriptionTypeAdditional information
CCCD

string

None.

ProspectiveCustomerAddressHistoryID

integer

None.

ProspectiveCustomerAddressID

integer

None.

ProspectiveCustomerID

integer

None.

AddressType

string

None.

Address1

string

None.

Address2

string

None.

CityName

string

None.

State

string

None.

CountryID

integer

None.

ZipCode

string

None.

Status

string

None.

LastUpdateDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CCCD": "sample string 1",
    "ProspectiveCustomerAddressHistoryID": 2,
    "ProspectiveCustomerAddressID": 3,
    "ProspectiveCustomerID": 4,
    "AddressType": "sample string 5",
    "Address1": "sample string 6",
    "Address2": "sample string 7",
    "CityName": "sample string 8",
    "State": "sample string 9",
    "CountryID": 10,
    "ZipCode": "sample string 11",
    "Status": "sample string 12",
    "LastUpdateDate": "2025-08-02T20:14:45.0687361+05:30"
  },
  {
    "CCCD": "sample string 1",
    "ProspectiveCustomerAddressHistoryID": 2,
    "ProspectiveCustomerAddressID": 3,
    "ProspectiveCustomerID": 4,
    "AddressType": "sample string 5",
    "Address1": "sample string 6",
    "Address2": "sample string 7",
    "CityName": "sample string 8",
    "State": "sample string 9",
    "CountryID": 10,
    "ZipCode": "sample string 11",
    "Status": "sample string 12",
    "LastUpdateDate": "2025-08-02T20:14:45.0687361+05:30"
  }
]

text/html

Sample:
[{"CCCD":"sample string 1","ProspectiveCustomerAddressHistoryID":2,"ProspectiveCustomerAddressID":3,"ProspectiveCustomerID":4,"AddressType":"sample string 5","Address1":"sample string 6","Address2":"sample string 7","CityName":"sample string 8","State":"sample string 9","CountryID":10,"ZipCode":"sample string 11","Status":"sample string 12","LastUpdateDate":"2025-08-02T20:14:45.0687361+05:30"},{"CCCD":"sample string 1","ProspectiveCustomerAddressHistoryID":2,"ProspectiveCustomerAddressID":3,"ProspectiveCustomerID":4,"AddressType":"sample string 5","Address1":"sample string 6","Address2":"sample string 7","CityName":"sample string 8","State":"sample string 9","CountryID":10,"ZipCode":"sample string 11","Status":"sample string 12","LastUpdateDate":"2025-08-02T20:14:45.0687361+05:30"}]

application/xml, text/xml

Sample:
<ArrayOfPCXMLProspectiveCustomerAddressHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <PCXMLProspectiveCustomerAddressHistory>
    <Address1>sample string 6</Address1>
    <Address2>sample string 7</Address2>
    <AddressType>sample string 5</AddressType>
    <CCCD>sample string 1</CCCD>
    <CityName>sample string 8</CityName>
    <CountryID>10</CountryID>
    <LastUpdateDate>2025-08-02T20:14:45.0687361+05:30</LastUpdateDate>
    <ProspectiveCustomerAddressHistoryID>2</ProspectiveCustomerAddressHistoryID>
    <ProspectiveCustomerAddressID>3</ProspectiveCustomerAddressID>
    <ProspectiveCustomerID>4</ProspectiveCustomerID>
    <State>sample string 9</State>
    <Status>sample string 12</Status>
    <ZipCode>sample string 11</ZipCode>
  </PCXMLProspectiveCustomerAddressHistory>
  <PCXMLProspectiveCustomerAddressHistory>
    <Address1>sample string 6</Address1>
    <Address2>sample string 7</Address2>
    <AddressType>sample string 5</AddressType>
    <CCCD>sample string 1</CCCD>
    <CityName>sample string 8</CityName>
    <CountryID>10</CountryID>
    <LastUpdateDate>2025-08-02T20:14:45.0687361+05:30</LastUpdateDate>
    <ProspectiveCustomerAddressHistoryID>2</ProspectiveCustomerAddressHistoryID>
    <ProspectiveCustomerAddressID>3</ProspectiveCustomerAddressID>
    <ProspectiveCustomerID>4</ProspectiveCustomerID>
    <State>sample string 9</State>
    <Status>sample string 12</Status>
    <ZipCode>sample string 11</ZipCode>
  </PCXMLProspectiveCustomerAddressHistory>
</ArrayOfPCXMLProspectiveCustomerAddressHistory>