GetLastModifiedTime

This call is to retrieve the DateTime for when the Settings and/or Employees were last modified for the location.

Response Parameters
  • Message string — Returns a PAR POS Error message if the request did not go through. Otherwise, this field will be null.
  • ResultCode int — Returns one of the following:
    • 0 = Request went through successfully
    • 1 = Request returned an unknown error
    • 2 = Request was not valid
    • 3 = Server is currently unavailable and unable to receive the request
    • 4 = Access Denied
  • EmployeesOnlyLastModifiedTime DateTimeOffset? — Date and time corresponding to the most recent Employees modification at the location, in location's local time
  • SettingsLastModified DateTimeOffset? — Date and time corresponding to the most recent Employees or Settings modification at the location, whichever is more recent when taken into consideration together, in location's local time.
  • SettingsOnlyLastModifiedTime DateTimeOffset? — Date and time corresponding to the most recent Settings modification at the location, in location's local time
Headers
  • SOAPAction
    Type: string
    required
Body
required
application/json

SOAP envelope for GetLastModifiedTime request. No parameters required.

Responses
  • text/xml; charset=utf-8
Request Example for post/GetLastModifiedTime
cURL
curl --request POST \
  --url 'https://{server_name_goes_here}.parpos.com/Settings2.svc?GetLastModifiedTime' \
  --header 'Content-Type: text/xml; charset=utf-8' \
  --header 'AccessToken: your-access-token' \
  --header 'LocationToken: your-location-token' \
  --header 'SOAPAction: "http://www.brinksoftware.com/webservices/settings/v2/ISettingsWebService2/GetLastModifiedTime"' \
  --data '<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v2="http://www.brinksoftware.com/webservices/settings/v2">
    <soapenv:Header/>
    <soapenv:Body>
      <v2:GetLastModifiedTime/>
    </soapenv:Body>
  </soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <GetLastModifiedTimeResponse xmlns="http://www.brinksoftware.com/webservices/settings/v2">
      <GetLastModifiedTimeResult>
        <Message>Success</Message>
        <ResultCode>0</ResultCode>
        <EmployeesOnlyLastModifiedTime>2024-01-15T10:30:00+00:00</EmployeesOnlyLastModifiedTime>
        <SettingsLastModified>2024-01-15T10:30:00+00:00</SettingsLastModified>
        <SettingsOnlyLastModifiedTime>2024-01-10T08:00:00+00:00</SettingsOnlyLastModifiedTime>
      </GetLastModifiedTimeResult>
    </GetLastModifiedTimeResponse>
  </s:Body>
</s:Envelope>