GET api/Customer/GetExtendedRequestorUser/{id}

Gets the details about Customer user's account.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

(Optional) UserName or User id. If specified, the administration role is required. If not specified, the logged in user details are returned.

string

None.

Body Parameters

None.

Response Information

Resource Description

HttpStatusCode 200 OK.

GetExtendedRequestorUserResult
NameDescriptionTypeAdditional information
User

User details of the Requestor user account.

ExtendedRequestorUser

None.

AccountExists

True if the Requestor user account exists.

boolean

None.

IsInApprovalProcess

True if the UserName is still in approval process.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "User": {
    "CustomUserFieldsHash": 1,
    "FieldData": [
      {
        "CustomFieldId": 1,
        "DateValue": "2024-12-22T18:23:47.4967662+01:00",
        "DoubleValue": 1.1,
        "LongValue": 1,
        "TextBoxValue": "sample string 2",
        "CheckBoxValue": true,
        "FieldItem": {
          "Id": 1,
          "Title": "sample string 2"
        }
      },
      {
        "CustomFieldId": 1,
        "DateValue": "2024-12-22T18:23:47.4967662+01:00",
        "DoubleValue": 1.1,
        "LongValue": 1,
        "TextBoxValue": "sample string 2",
        "CheckBoxValue": true,
        "FieldItem": {
          "Id": 1,
          "Title": "sample string 2"
        }
      }
    ],
    "UserProviderKey": "sample string 2",
    "UserName": "sample string 3",
    "Email": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "MiddleName": "sample string 7",
    "DisplayName": "sample string 8",
    "NoteBesideName": "sample string 9",
    "FullName": "sample string 10",
    "IsApproved": true,
    "IsEndUser": true,
    "IsSmartUser": true,
    "IsOperator": true,
    "IsSuperOperator": true,
    "IsAdministrator": true,
    "TimeZoneId": null,
    "ExternalAccount": true,
    "EmailAccount": true,
    "Customer": "sample string 20",
    "CustomerId": 1,
    "Customers": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Phones": [
      "sample string 1",
      "sample string 2"
    ],
    "AdditionalInformation": "sample string 21",
    "OperatorGroupIds": [
      1,
      2
    ],
    "InternalGroupIds": [
      1,
      2
    ],
    "Color": "sample string 22",
    "Initials": "sample string 23",
    "PhotoLastUpdatedUtc": "2024-12-22T18:23:47.4967662+01:00",
    "LastUpdatedUtc": "2024-12-22T18:23:47.4967662+01:00",
    "Language": 0,
    "Anonymized": true,
    "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
      }
    ],
    "ExternalId": "sample string 25",
    "ManagerKey": "sample string 26",
    "Company": "sample string 27",
    "Department": "sample string 28",
    "Division": "sample string 29",
    "EmployeeId": "sample string 30",
    "SecondaryEmails": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "AccountExists": true,
  "IsInApprovalProcess": true
}

application/xml, text/xml

Sample:
<GetExtendedRequestorUserResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results.Customer">
  <AccountExists>true</AccountExists>
  <IsInApprovalProcess>true</IsInApprovalProcess>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures">
    <d2p1:AdditionalInformation>sample string 21</d2p1:AdditionalInformation>
    <d2p1:Anonymized>true</d2p1:Anonymized>
    <d2p1:Color>sample string 22</d2p1:Color>
    <d2p1:Company>sample string 27</d2p1:Company>
    <d2p1:CustomUserFieldsHash>0</d2p1:CustomUserFieldsHash>
    <d2p1:Customer>sample string 20</d2p1:Customer>
    <d2p1:CustomerId>1</d2p1:CustomerId>
    <d2p1:Customers>
      <d2p1:UserCustomerData>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:UserCustomerData>
      <d2p1:UserCustomerData>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:UserCustomerData>
    </d2p1:Customers>
    <d2p1:Department>sample string 28</d2p1:Department>
    <d2p1:DisplayName>sample string 8</d2p1:DisplayName>
    <d2p1:Division>sample string 29</d2p1:Division>
    <d2p1:Email>sample string 4</d2p1:Email>
    <d2p1:EmailAccount>true</d2p1:EmailAccount>
    <d2p1:EmployeeId>sample string 30</d2p1:EmployeeId>
    <d2p1:ExternalAccount>true</d2p1:ExternalAccount>
    <d2p1:ExternalId>sample string 25</d2p1:ExternalId>
    <d2p1:FieldData i:nil="true" />
    <d2p1:FirstName>sample string 5</d2p1:FirstName>
    <d2p1:FullName>sample string 10</d2p1:FullName>
    <d2p1:Initials>sample string 23</d2p1:Initials>
    <d2p1:InternalGroupIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:InternalGroupIds>
    <d2p1:IsAdministrator>true</d2p1:IsAdministrator>
    <d2p1:IsApproved>true</d2p1:IsApproved>
    <d2p1:IsEndUser>true</d2p1:IsEndUser>
    <d2p1:IsOperator>true</d2p1:IsOperator>
    <d2p1:IsSmartUser>true</d2p1:IsSmartUser>
    <d2p1:IsSuperOperator>true</d2p1:IsSuperOperator>
    <d2p1:Language>en</d2p1:Language>
    <d2p1:LastName>sample string 6</d2p1:LastName>
    <d2p1:LastUpdatedUtc>2024-12-22T18:23:47.4967662+01:00</d2p1:LastUpdatedUtc>
    <d2p1:ManagerKey>sample string 26</d2p1:ManagerKey>
    <d2p1:MiddleName>sample string 7</d2p1:MiddleName>
    <d2p1:NoteBesideName>sample string 9</d2p1:NoteBesideName>
    <d2p1:OperatorGroupIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:OperatorGroupIds>
    <d2p1:Phones xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Phones>
    <d2p1:PhotoLastUpdatedUtc>2024-12-22T18:23:47.4967662+01:00</d2p1:PhotoLastUpdatedUtc>
    <d2p1:SecondaryEmails xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:SecondaryEmails>
    <d2p1:Tags>
      <d2p1:TagData>
        <d2p1:Color>sample string 4</d2p1:Color>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:Static>true</d2p1:Static>
        <d2p1:Type>Ticket</d2p1:Type>
      </d2p1:TagData>
      <d2p1:TagData>
        <d2p1:Color>sample string 4</d2p1:Color>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:Static>true</d2p1:Static>
        <d2p1:Type>Ticket</d2p1:Type>
      </d2p1:TagData>
    </d2p1:Tags>
    <d2p1:TimeZoneId i:nil="true" />
    <d2p1:UserName>sample string 3</d2p1:UserName>
    <d2p1:UserProviderKey>sample string 2</d2p1:UserProviderKey>
    <d2p1:CustomUserFieldsHash>1</d2p1:CustomUserFieldsHash>
    <d2p1:FieldData>
      <d2p1:UserCustomFieldData>
        <d2p1:CheckBoxValue>true</d2p1:CheckBoxValue>
        <d2p1:CustomFieldId>1</d2p1:CustomFieldId>
        <d2p1:DateValue>2024-12-22T18:23:47.4967662+01:00</d2p1:DateValue>
        <d2p1:DoubleValue>1.1</d2p1:DoubleValue>
        <d2p1:FieldItem>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Title>sample string 2</d2p1:Title>
        </d2p1:FieldItem>
        <d2p1:LongValue>1</d2p1:LongValue>
        <d2p1:TextBoxValue>sample string 2</d2p1:TextBoxValue>
      </d2p1:UserCustomFieldData>
      <d2p1:UserCustomFieldData>
        <d2p1:CheckBoxValue>true</d2p1:CheckBoxValue>
        <d2p1:CustomFieldId>1</d2p1:CustomFieldId>
        <d2p1:DateValue>2024-12-22T18:23:47.4967662+01:00</d2p1:DateValue>
        <d2p1:DoubleValue>1.1</d2p1:DoubleValue>
        <d2p1:FieldItem>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Title>sample string 2</d2p1:Title>
        </d2p1:FieldItem>
        <d2p1:LongValue>1</d2p1:LongValue>
        <d2p1:TextBoxValue>sample string 2</d2p1:TextBoxValue>
      </d2p1:UserCustomFieldData>
    </d2p1:FieldData>
  </User>
</GetExtendedRequestorUserResult>