URL

http://webapi.leadmaster.com/api/LMWebAPI/GetLastUpdatedOpportunities?minutes={minutes}&access_token={access_token}

Description

Get last updated opportunities for the given time frame

HttpMethod

GET

Request Information

Parameters

NameDescriptionAdditional information
minutes
Within how much minutes updated opportunities need to be fetched.

Define this parameter in the request URI.

access_token
Token required for the authentication.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "recordIDField": 1,
    "oppNameField": "sample string 2",
    "oppDescField": "sample string 3",
    "salesStatusField": "sample string 4",
    "oppTypeField": "sample string 5",
    "oppNoteField": "sample string 6",
    "oppTotalField": 7.0,
    "totalQuantityField": 8,
    "ListOpportunitiesProducts": [
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      },
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      },
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      }
    ]
  },
  {
    "recordIDField": 1,
    "oppNameField": "sample string 2",
    "oppDescField": "sample string 3",
    "salesStatusField": "sample string 4",
    "oppTypeField": "sample string 5",
    "oppNoteField": "sample string 6",
    "oppTotalField": 7.0,
    "totalQuantityField": 8,
    "ListOpportunitiesProducts": [
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      },
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      },
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      }
    ]
  },
  {
    "recordIDField": 1,
    "oppNameField": "sample string 2",
    "oppDescField": "sample string 3",
    "salesStatusField": "sample string 4",
    "oppTypeField": "sample string 5",
    "oppNoteField": "sample string 6",
    "oppTotalField": 7.0,
    "totalQuantityField": 8,
    "ListOpportunitiesProducts": [
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      },
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      },
      {
        "productDescField": "sample string 1",
        "productCodeField": "sample string 2",
        "productNumberField": "sample string 3",
        "unitPriceField": 4.1,
        "quantityField": 5,
        "productTotalField": 6.1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfOpportunitiesObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <OpportunitiesObject>
    <ListOpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
    </ListOpportunitiesProducts>
    <oppDescField>sample string 3</oppDescField>
    <oppNameField>sample string 2</oppNameField>
    <oppNoteField>sample string 6</oppNoteField>
    <oppTotalField>7</oppTotalField>
    <oppTypeField>sample string 5</oppTypeField>
    <recordIDField>1</recordIDField>
    <salesStatusField>sample string 4</salesStatusField>
    <totalQuantityField>8</totalQuantityField>
  </OpportunitiesObject>
  <OpportunitiesObject>
    <ListOpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
    </ListOpportunitiesProducts>
    <oppDescField>sample string 3</oppDescField>
    <oppNameField>sample string 2</oppNameField>
    <oppNoteField>sample string 6</oppNoteField>
    <oppTotalField>7</oppTotalField>
    <oppTypeField>sample string 5</oppTypeField>
    <recordIDField>1</recordIDField>
    <salesStatusField>sample string 4</salesStatusField>
    <totalQuantityField>8</totalQuantityField>
  </OpportunitiesObject>
  <OpportunitiesObject>
    <ListOpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
      <OpportunitiesProducts>
        <productCodeField>sample string 2</productCodeField>
        <productDescField>sample string 1</productDescField>
        <productNumberField>sample string 3</productNumberField>
        <productTotalField>6.1</productTotalField>
        <quantityField>5</quantityField>
        <unitPriceField>4.1</unitPriceField>
      </OpportunitiesProducts>
    </ListOpportunitiesProducts>
    <oppDescField>sample string 3</oppDescField>
    <oppNameField>sample string 2</oppNameField>
    <oppNoteField>sample string 6</oppNoteField>
    <oppTotalField>7</oppTotalField>
    <oppTypeField>sample string 5</oppTypeField>
    <recordIDField>1</recordIDField>
    <salesStatusField>sample string 4</salesStatusField>
    <totalQuantityField>8</totalQuantityField>
  </OpportunitiesObject>
</ArrayOfOpportunitiesObject>