GetTimeOfLastSync

Allows you to read back the last sync time set by SetTimeOfLastSync.

Tags: GetTimeOfLastSync, GetTimeOfLastSyncResponse

Request XML

POST /xxx/Service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/GetTimeOfLastSync"

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetTimeOfLastSync xmlns="http://ongoingsystems.se/WSI">
      <UserName>string</UserName>
      <Password>string</Password>
      <GoodsOwnerId>int</GoodsOwnerId>
      <IntegrationType>string</IntegrationType>
    </GetTimeOfLastSync>
  </soap:Body>
</soap:Envelope>

Request specification

GetTimeOfLastSync
UserName string(50) Req. Your username
Password string(50) Req. Your password
GoodsOwnerId int Req. The id of your client
IntegrationType string Req. The name of your integration (free text).

Response XML

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetTimeOfLastSyncResponse xmlns="http://ongoingsystems.se/WSI">
      <GetTimeOfLastSyncResult>dateTime</GetTimeOfLastSyncResult>
    </GetTimeOfLastSyncResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetTimeOfLastSyncResponse
GetTimeOfLastSyncResult dateTime