URL

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

Description

Trigger on account created, on account updated, on contact created, on contact updated, on opportunity created, on opportunity updated, on case created, on case updated.

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:
{
  "Minutes": 1,
  "access_token": "sample string 2",
  "Entity": "sample string 3",
  "TriggerEvent": "sample string 4"
}

application/xml, text/xml

Sample:
<LMEntityUpsertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <Entity>sample string 3</Entity>
  <Minutes>1</Minutes>
  <TriggerEvent>sample string 4</TriggerEvent>
  <access_token>sample string 2</access_token>
</LMEntityUpsertModel>

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>