GET api/Customer/GetDetails?customerId={customerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

CustomerDetails
NameDescriptionTypeAdditional 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": "a5489002-c36c-4be3-9733-9c8fae5deb98",
  "County": "sample string 12",
  "DateOfBirth": "2025-07-07T13:35:35.673773+01: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": "701d89fd-dc4b-40a7-a402-03e76f988617",
  "IsLocked": true,
  "LastName": "sample string 20",
  "MobileNumber": "sample string 21",
  "PostCode": "sample string 22",
  "TitleId": "bab09509-ae70-4d87-9311-50fcb3fdc5b5",
  "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>a5489002-c36c-4be3-9733-9c8fae5deb98</CountryId>
  <County>sample string 12</County>
  <DateOfBirth>2025-07-07T13:35:35.673773+01: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>701d89fd-dc4b-40a7-a402-03e76f988617</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>bab09509-ae70-4d87-9311-50fcb3fdc5b5</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>