POST api/v7/TransactionLookups/CustomerByAccountToken

Search for last customer entry recorded with an email address and return the customer with basic transaction data.

Request Information

URI Parameters

None.

Body Parameters

This field takes a set of comma separated list of account tokens to search

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>

Response Information

Resource Description

The item data for the matching item based on the request message

CustomerByAccountTokenResponse
NameDescriptionType
CustomerID

string
EmployeeID

string
FirstName

string
LastName

string
EmailAddress

string
Phone

string
TransactionData

TransactionInfo

Response Formats

application/json, text/json

Sample:
{
  "CustomerID": "sample string 1",
  "EmployeeID": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "EmailAddress": "sample string 5",
  "Phone": "sample string 6",
  "TransactionData": {
    "RetailStoreID": "sample string 1",
    "WorkstationID": "sample string 2",
    "OperatorID": "sample string 3",
    "SequenceNumber": 4,
    "BusinessDayDate": "2018-01-01T00:00:00"
  }
}

application/xml, text/xml

Sample:
<ResponseXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerID>sample string 1</CustomerID>
  <EmployeeID>sample string 2</EmployeeID>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 4</LastName>
  <EmailAddress>sample string 5</EmailAddress>
  <Phone>sample string 6</Phone>
  <Transaction>
    <RetailStoreID>sample string 1</RetailStoreID>
    <WorkstationID>sample string 2</WorkstationID>
    <OperatorID>sample string 3</OperatorID>
    <SequenceNumber>4</SequenceNumber>
    <BusinessDateTime>2018-01-01T00:00:00</BusinessDateTime>
  </Transaction>
</ResponseXml>