GET api/Customer/GetDetails?customerId={customerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| MarketingContactByEmail | boolean |
None. |
|
| MarketingContactByPhone | boolean |
None. |
|
| MarketingContactByPost | boolean |
None. |
|
| MarketingContactBySMS | boolean |
None. |
|
| PolicyContactByEmail | boolean |
None. |
|
| PolicyContactByPhone | boolean |
None. |
|
| PolicyContactByPost | boolean |
None. |
|
| PolicyContactBySMS | boolean |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| AddressLine3 | string |
None. |
|
| CountryId | globally unique identifier |
None. |
|
| County | string |
None. |
|
| DateOfBirth | date |
None. |
|
| DaytimeNumber | string |
None. |
|
| EmailAddress | string |
Required |
|
| EveningNumber | string |
None. |
|
| FirstName | string |
None. |
|
| HouseName | string |
None. |
|
| HouseNumber | string |
None. |
|
| Id | globally unique identifier |
None. |
|
| IsLocked | boolean |
None. |
|
| LastName | string |
None. |
|
| MobileNumber | string |
None. |
|
| PostCode | string |
None. |
|
| TitleId | globally unique identifier |
None. |
|
| Town | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"MarketingContactByEmail": true,
"MarketingContactByPhone": true,
"MarketingContactByPost": true,
"MarketingContactBySMS": true,
"PolicyContactByEmail": true,
"PolicyContactByPhone": true,
"PolicyContactByPost": true,
"PolicyContactBySMS": true,
"AddressLine1": "sample string 9",
"AddressLine2": "sample string 10",
"AddressLine3": "sample string 11",
"CountryId": "778bad76-a896-40e2-98bb-0d75e6118e27",
"County": "sample string 12",
"DateOfBirth": "2026-02-04T01:08:56.6643728+00:00",
"DaytimeNumber": "sample string 13",
"EmailAddress": "sample string 14",
"EveningNumber": "sample string 15",
"FirstName": "sample string 16",
"HouseName": "sample string 17",
"HouseNumber": "sample string 18",
"Id": "e938d72e-00ba-4a61-886e-d6ad4d5089c3",
"IsLocked": true,
"LastName": "sample string 20",
"MobileNumber": "sample string 21",
"PostCode": "sample string 22",
"TitleId": "e6f88a58-db25-4219-8e1a-1e59c68f435d",
"Town": "sample string 23"
}
application/xml, text/xml
Sample:
<CustomerDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AddressLine1>sample string 9</AddressLine1> <AddressLine2>sample string 10</AddressLine2> <AddressLine3>sample string 11</AddressLine3> <CountryId>778bad76-a896-40e2-98bb-0d75e6118e27</CountryId> <County>sample string 12</County> <DateOfBirth>2026-02-04T01:08:56.6643728+00:00</DateOfBirth> <DaytimeNumber>sample string 13</DaytimeNumber> <EmailAddress>sample string 14</EmailAddress> <EveningNumber>sample string 15</EveningNumber> <FirstName>sample string 16</FirstName> <HouseName>sample string 17</HouseName> <HouseNumber>sample string 18</HouseNumber> <Id>e938d72e-00ba-4a61-886e-d6ad4d5089c3</Id> <IsLocked>true</IsLocked> <LastName>sample string 20</LastName> <MarketingContactByEmail>false</MarketingContactByEmail> <MarketingContactByPhone>false</MarketingContactByPhone> <MarketingContactBySMS>false</MarketingContactBySMS> <MobileNumber>sample string 21</MobileNumber> <PostCode>sample string 22</PostCode> <TitleId>e6f88a58-db25-4219-8e1a-1e59c68f435d</TitleId> <Town>sample string 23</Town> <MarketingContactByEmail>true</MarketingContactByEmail> <MarketingContactByPhone>true</MarketingContactByPhone> <MarketingContactByPost>true</MarketingContactByPost> <MarketingContactBySMS>true</MarketingContactBySMS> <PolicyContactByEmail>true</PolicyContactByEmail> <PolicyContactByPhone>true</PolicyContactByPhone> <PolicyContactByPost>true</PolicyContactByPost> <PolicyContactBySMS>true</PolicyContactBySMS> </CustomerDetails>