POST api/Customer/GetCustomerProfileForTokenService

Request Information

URI Parameters

None.

Body Parameters

GetCustomerProfileForTokenServiceRequest
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "e1ace226-958f-4fb5-b94b-4e7173913413"
}

application/xml, text/xml

Sample:
<GetCustomerProfileForTokenServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <CustomerId>e1ace226-958f-4fb5-b94b-4e7173913413</CustomerId>
</GetCustomerProfileForTokenServiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetCustomerProfileForTokenServiceResponse
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Email

string

None.

Gender

integer

None.

MigrationFlag

integer

None.

IsLazyRegistration

integer

None.

PartnerTypeCode

integer

None.

SharedDataPermission

boolean

None.

IsCanceled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "Gender": 1,
  "MigrationFlag": 4,
  "IsLazyRegistration": 5,
  "PartnerTypeCode": 6,
  "SharedDataPermission": true,
  "IsCanceled": true
}

application/xml, text/xml

Sample:
<GetCustomerProfileForTokenServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <Gender>1</Gender>
  <IsCanceled>true</IsCanceled>
  <IsLazyRegistration>5</IsLazyRegistration>
  <LastName>sample string 2</LastName>
  <MigrationFlag>4</MigrationFlag>
  <PartnerTypeCode>6</PartnerTypeCode>
  <SharedDataPermission>true</SharedDataPermission>
</GetCustomerProfileForTokenServiceResponse>