URL

http://webapi.leadmaster.com/api/Automation/GetLastUpdatedOppProducts

Description

Get last updated opportunities for the given time frame

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"
}

application/xml, text/xml

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

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": [
    {
      "productNameField": "sample string 1",
      "productDescField": "sample string 2",
      "unitPriceField": 3.1,
      "productCodeField": "sample string 4",
      "QBItemId": "sample string 5",
      "IsActive": true,
      "IsTaxable": true,
      "IncomeAccountRef": "sample string 8",
      "ExpenseAccountRef": "sample string 9",
      "AssetAccountRef": "sample string 10",
      "TrackQuantityOnHand": true,
      "QBProductId": 12,
      "productNumberField": "sample string 13",
      "quantityField": 14
    },
    {
      "productNameField": "sample string 1",
      "productDescField": "sample string 2",
      "unitPriceField": 3.1,
      "productCodeField": "sample string 4",
      "QBItemId": "sample string 5",
      "IsActive": true,
      "IsTaxable": true,
      "IncomeAccountRef": "sample string 8",
      "ExpenseAccountRef": "sample string 9",
      "AssetAccountRef": "sample string 10",
      "TrackQuantityOnHand": true,
      "QBProductId": 12,
      "productNumberField": "sample string 13",
      "quantityField": 14
    },
    {
      "productNameField": "sample string 1",
      "productDescField": "sample string 2",
      "unitPriceField": 3.1,
      "productCodeField": "sample string 4",
      "QBItemId": "sample string 5",
      "IsActive": true,
      "IsTaxable": true,
      "IncomeAccountRef": "sample string 8",
      "ExpenseAccountRef": "sample string 9",
      "AssetAccountRef": "sample string 10",
      "TrackQuantityOnHand": true,
      "QBProductId": 12,
      "productNumberField": "sample string 13",
      "quantityField": 14
    }
  ]
}

application/xml, text/xml

Sample:
<APIResponseBaseOfArrayOfOppProduct6ZPUqztj 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>
    <OppProduct>
      <AssetAccountRef>sample string 10</AssetAccountRef>
      <ExpenseAccountRef>sample string 9</ExpenseAccountRef>
      <IncomeAccountRef>sample string 8</IncomeAccountRef>
      <IsActive>true</IsActive>
      <IsTaxable>true</IsTaxable>
      <QBItemId>sample string 5</QBItemId>
      <QBProductId>12</QBProductId>
      <TrackQuantityOnHand>true</TrackQuantityOnHand>
      <productCodeField>sample string 4</productCodeField>
      <productDescField>sample string 2</productDescField>
      <productNameField>sample string 1</productNameField>
      <productNumberField>sample string 13</productNumberField>
      <quantityField>14</quantityField>
      <unitPriceField>3.1</unitPriceField>
    </OppProduct>
    <OppProduct>
      <AssetAccountRef>sample string 10</AssetAccountRef>
      <ExpenseAccountRef>sample string 9</ExpenseAccountRef>
      <IncomeAccountRef>sample string 8</IncomeAccountRef>
      <IsActive>true</IsActive>
      <IsTaxable>true</IsTaxable>
      <QBItemId>sample string 5</QBItemId>
      <QBProductId>12</QBProductId>
      <TrackQuantityOnHand>true</TrackQuantityOnHand>
      <productCodeField>sample string 4</productCodeField>
      <productDescField>sample string 2</productDescField>
      <productNameField>sample string 1</productNameField>
      <productNumberField>sample string 13</productNumberField>
      <quantityField>14</quantityField>
      <unitPriceField>3.1</unitPriceField>
    </OppProduct>
    <OppProduct>
      <AssetAccountRef>sample string 10</AssetAccountRef>
      <ExpenseAccountRef>sample string 9</ExpenseAccountRef>
      <IncomeAccountRef>sample string 8</IncomeAccountRef>
      <IsActive>true</IsActive>
      <IsTaxable>true</IsTaxable>
      <QBItemId>sample string 5</QBItemId>
      <QBProductId>12</QBProductId>
      <TrackQuantityOnHand>true</TrackQuantityOnHand>
      <productCodeField>sample string 4</productCodeField>
      <productDescField>sample string 2</productDescField>
      <productNameField>sample string 1</productNameField>
      <productNumberField>sample string 13</productNumberField>
      <quantityField>14</quantityField>
      <unitPriceField>3.1</unitPriceField>
    </OppProduct>
  </Result>
  <StatusCode>Continue</StatusCode>
</APIResponseBaseOfArrayOfOppProduct6ZPUqztj>