URL

https://devwebapi.leadmaster.com/api/Automation/SearchRecordBasedOnEmail

Description

Searches the record based on email.

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
request
The request.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "access_token": "sample string 1",
  "FieldVal": "sample string 2",
  "Field": "sample string 3"
}

application/xml, text/xml

Sample:
<SearchRecordBasedOnEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <Field>sample string 3</Field>
  <FieldVal>sample string 2</FieldVal>
  <access_token>sample string 1</access_token>
</SearchRecordBasedOnEmail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "IsSuccess": true,
  "Message": "sample string 2",
  "Result": [
    {
      "LeadDBRecordId": 1
    },
    {
      "LeadDBRecordId": 1
    },
    {
      "LeadDBRecordId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<APIResponseBaseOfArrayOfRecordDetails6ZPUqztj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result>
    <RecordDetails>
      <LeadDBRecordId>1</LeadDBRecordId>
    </RecordDetails>
    <RecordDetails>
      <LeadDBRecordId>1</LeadDBRecordId>
    </RecordDetails>
    <RecordDetails>
      <LeadDBRecordId>1</LeadDBRecordId>
    </RecordDetails>
  </Result>
  <StatusCode>Continue</StatusCode>
</APIResponseBaseOfArrayOfRecordDetails6ZPUqztj>