GET api/Address/{index}/{rows}/{field}/{order}?id={id}
Returns all addresses for a fellow by Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id can be a FellowId (e.g. 25) or a Pcode (e.g. ABR00003) |
string |
Required |
index | string |
None. |
|
rows | string |
None. |
|
field | string |
None. |
|
order | string |
None. |
Body Parameters
None.
Response Information
Resource Description
AddressName | Description | Type | Additional information |
---|---|---|---|
Line1 | string |
None. |
|
Line2 | string |
None. |
|
Line3 | string |
None. |
|
Town | string |
None. |
|
County | string |
None. |
|
Country | string |
None. |
|
PostCode | string |
None. |
|
Id | integer |
None. |
|
LastUpdatedTimestamp | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Line1": "sample string 1", "Line2": "sample string 2", "Line3": "sample string 3", "Town": "sample string 4", "County": "sample string 5", "Country": "sample string 6", "PostCode": "sample string 7", "Id": 8, "LastUpdatedTimestamp": "2024-04-25T10:26:56.6887014+01:00" }
text/xml
Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models"> <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">8</Id> <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-04-25T10:26:56.6887014+01:00</LastUpdatedTimestamp> <Country>sample string 6</Country> <County>sample string 5</County> <Line1>sample string 1</Line1> <Line2>sample string 2</Line2> <Line3>sample string 3</Line3> <PostCode>sample string 7</PostCode> <Town>sample string 4</Town> </Address>