GET smartlot/v2/updates/{APIKey}/{siteCode}

This method returns last datetime of the data being updated for the given site

Request Information

Parameters

NameDescriptionAdditional information
siteCode

Define this parameter in the request URI.

APIKey
The API key provided during registration. Available on settings page.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Entity": "sample string 1",
    "FileName": "sample string 2",
    "UpdateTime": "2019-12-13T18:32:56.6372131+00:00"
  },
  {
    "Entity": "sample string 1",
    "FileName": "sample string 2",
    "UpdateTime": "2019-12-13T18:32:56.6372131+00:00"
  },
  {
    "Entity": "sample string 1",
    "FileName": "sample string 2",
    "UpdateTime": "2019-12-13T18:32:56.6372131+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUpdatesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartAPI.Web.ViewModels">
  <UpdatesViewModel>
    <Entity>sample string 1</Entity>
    <FileName>sample string 2</FileName>
    <UpdateTime>2019-12-13T18:32:56.6372131+00:00</UpdateTime>
  </UpdatesViewModel>
  <UpdatesViewModel>
    <Entity>sample string 1</Entity>
    <FileName>sample string 2</FileName>
    <UpdateTime>2019-12-13T18:32:56.6372131+00:00</UpdateTime>
  </UpdatesViewModel>
  <UpdatesViewModel>
    <Entity>sample string 1</Entity>
    <FileName>sample string 2</FileName>
    <UpdateTime>2019-12-13T18:32:56.6372131+00:00</UpdateTime>
  </UpdatesViewModel>
</ArrayOfUpdatesViewModel>