URL

https://devwebapi.leadmaster.com/api/Automation/GetAllLeads?access_token={access_token}

Description

Get all Leads in leadmaster.

HttpMethod

GET

Request Information

Parameters

NameDescriptionAdditional information
request
The request.

Define this parameter in the request body.

access_token
access_token

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "Limit": 1,
  "fieldsList": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<GetAllRecordsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <Limit>1</Limit>
  <fieldsList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </fieldsList>
</GetAllRecordsModel>

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": "sample string 3"
}

application/xml, text/xml

Sample:
<APIResponseBaseOfstring 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>sample string 3</Result>
  <StatusCode>Continue</StatusCode>
</APIResponseBaseOfstring>