GET api/PatientProfile/GetAllAddresses
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseOfAddressList| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Status | integer |
None. |
|
| Result | AddressList |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"Status": 3,
"Result": {
"ListOfAddresses": [
{
"AddressId": 1,
"Address": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"Country": "sample string 5",
"PinCode": "sample string 6",
"IsCurrentAddress": true
},
{
"AddressId": 1,
"Address": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"Country": "sample string 5",
"PinCode": "sample string 6",
"IsCurrentAddress": true
}
]
}
}
application/xml, text/xml
Sample:
<ResponseOfAddressListwxNvi4_Se xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PatientProfile">
<d2p1:ListOfAddresses>
<d2p1:UpdateAddressModel>
<d2p1:Address>sample string 2</d2p1:Address>
<d2p1:City>sample string 3</d2p1:City>
<d2p1:Country>sample string 5</d2p1:Country>
<d2p1:IsCurrentAddress>true</d2p1:IsCurrentAddress>
<d2p1:PinCode>sample string 6</d2p1:PinCode>
<d2p1:State>sample string 4</d2p1:State>
<d2p1:AddressId>1</d2p1:AddressId>
</d2p1:UpdateAddressModel>
<d2p1:UpdateAddressModel>
<d2p1:Address>sample string 2</d2p1:Address>
<d2p1:City>sample string 3</d2p1:City>
<d2p1:Country>sample string 5</d2p1:Country>
<d2p1:IsCurrentAddress>true</d2p1:IsCurrentAddress>
<d2p1:PinCode>sample string 6</d2p1:PinCode>
<d2p1:State>sample string 4</d2p1:State>
<d2p1:AddressId>1</d2p1:AddressId>
</d2p1:UpdateAddressModel>
</d2p1:ListOfAddresses>
</Result>
<Status>3</Status>
</ResponseOfAddressListwxNvi4_Se>