URL
https://devwebapi.leadmaster.com/api/Automation/GetOpportunity?access_token={access_token}
Description
Get the Opportunity in leadmaster.
HttpMethod
GET
Request Information
Parameters
| Name | Description | Additional 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:
{
"OppID": 1
}
application/xml, text/xml
Sample:
<GetOpportunityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel"> <OppID>1</OppID> </GetOpportunityModel>
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>