GET api/Customer/GetExtendedRequestorCustomer/{id}

Gets Customer's details.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

customer's Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ExtendedRequestorCustomer
NameDescriptionTypeAdditional information
IdCustomer

Customer Id

integer

None.

Name

Name

string

None.

Phones

Phones

Collection of string

None.

Emails

Emails

Collection of string

None.

EmailDomains

EmailDomains

Collection of string

None.

TimeZoneId

The time zone identifier (TimeZoneInfo.Id Property)

string

None.

Web

Web

string

None.

StreetNumber

StreetNumber

string

None.

City

City

string

None.

PostalCode

PostalCode

string

None.

CountryCode

CountryCode

string

None.

Descrtiption

Descrtiption

string

None.

Location

The customer's location

string

None.

CustomerGroups

All customer's groups.

Collection of CustomerGroupData

None.

Tags

All customer's tags.

Collection of TagData

None.

FieldData

User's custom fields data

Collection of CustomerCustomFieldData

None.

HavePhoto

True if photo does exists.

boolean

None.

PhotoLastUpdatedUtc

The date when the photo was changed. If the value is null the photo does not exist.

date

None.

CustomCustomerFieldsHash

CustomCustomerFieldsHash

integer

None.

Disabled

If true the customer is disabled

boolean

None.

ExternalId

Id from another system to identificate user

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IdCustomer": 1,
  "Name": "sample string 1",
  "Phones": [
    "sample string 1",
    "sample string 2"
  ],
  "Emails": [
    "sample string 1",
    "sample string 2"
  ],
  "EmailDomains": [
    "sample string 1",
    "sample string 2"
  ],
  "TimeZoneId": null,
  "Web": "sample string 3",
  "StreetNumber": "sample string 4",
  "City": "sample string 5",
  "PostalCode": "sample string 6",
  "CountryCode": "sample string 7",
  "Descrtiption": "sample string 8",
  "Location": "sample string 9",
  "CustomerGroups": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Color": "sample string 3",
      "Description": "sample string 4"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Color": "sample string 3",
      "Description": "sample string 4"
    }
  ],
  "Tags": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Static": true,
      "Color": "sample string 4",
      "Type": 1
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Static": true,
      "Color": "sample string 4",
      "Type": 1
    }
  ],
  "FieldData": [
    {
      "CustomFieldId": 1,
      "DateValue": "2024-04-27T20:18:26.3950003+02:00",
      "DoubleValue": 1.1,
      "LongValue": 1,
      "TextBoxValue": "sample string 2",
      "CheckBoxValue": true,
      "FieldItem": {
        "Id": 1,
        "Title": "sample string 2"
      }
    },
    {
      "CustomFieldId": 1,
      "DateValue": "2024-04-27T20:18:26.3950003+02:00",
      "DoubleValue": 1.1,
      "LongValue": 1,
      "TextBoxValue": "sample string 2",
      "CheckBoxValue": true,
      "FieldItem": {
        "Id": 1,
        "Title": "sample string 2"
      }
    }
  ],
  "HavePhoto": true,
  "PhotoLastUpdatedUtc": "2024-04-27T20:18:26.3950003+02:00",
  "CustomCustomerFieldsHash": 11,
  "Disabled": true,
  "ExternalId": "sample string 13"
}

application/xml, text/xml

Sample:
<ExtendedRequestorCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures">
  <City>sample string 5</City>
  <CountryCode>sample string 7</CountryCode>
  <CustomCustomerFieldsHash>11</CustomCustomerFieldsHash>
  <CustomerGroups>
    <CustomerGroupData>
      <Color>sample string 3</Color>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CustomerGroupData>
    <CustomerGroupData>
      <Color>sample string 3</Color>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </CustomerGroupData>
  </CustomerGroups>
  <Descrtiption>sample string 8</Descrtiption>
  <Disabled>true</Disabled>
  <EmailDomains xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EmailDomains>
  <Emails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Emails>
  <ExternalId>sample string 13</ExternalId>
  <FieldData>
    <CustomerCustomFieldData>
      <CheckBoxValue>true</CheckBoxValue>
      <CustomFieldId>1</CustomFieldId>
      <DateValue>2024-04-27T20:18:26.3950003+02:00</DateValue>
      <DoubleValue>1.1</DoubleValue>
      <FieldItem>
        <Id>1</Id>
        <Title>sample string 2</Title>
      </FieldItem>
      <LongValue>1</LongValue>
      <TextBoxValue>sample string 2</TextBoxValue>
    </CustomerCustomFieldData>
    <CustomerCustomFieldData>
      <CheckBoxValue>true</CheckBoxValue>
      <CustomFieldId>1</CustomFieldId>
      <DateValue>2024-04-27T20:18:26.3950003+02:00</DateValue>
      <DoubleValue>1.1</DoubleValue>
      <FieldItem>
        <Id>1</Id>
        <Title>sample string 2</Title>
      </FieldItem>
      <LongValue>1</LongValue>
      <TextBoxValue>sample string 2</TextBoxValue>
    </CustomerCustomFieldData>
  </FieldData>
  <HavePhoto>true</HavePhoto>
  <IdCustomer>1</IdCustomer>
  <Location>sample string 9</Location>
  <Name>sample string 1</Name>
  <Phones xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Phones>
  <PhotoLastUpdatedUtc>2024-04-27T20:18:26.3950003+02:00</PhotoLastUpdatedUtc>
  <PostalCode>sample string 6</PostalCode>
  <StreetNumber>sample string 4</StreetNumber>
  <Tags>
    <TagData>
      <Color>sample string 4</Color>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Static>true</Static>
      <Type>Ticket</Type>
    </TagData>
    <TagData>
      <Color>sample string 4</Color>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Static>true</Static>
      <Type>Ticket</Type>
    </TagData>
  </Tags>
  <TimeZoneId i:nil="true" />
  <Web>sample string 3</Web>
</ExtendedRequestorCustomer>