UpdateSynchronizationStatus Method

<< Click to Display Table of Contents >>

Navigation:  CXS.Retail.API Assembly > Namespaces > CXS.Retail.API Namespace > Classes > IntegrationService > Methods >

UpdateSynchronizationStatus Method

iVend Retail 6.6 - Web API Help

UpdateSynchronizationStatus Method

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C# Language Filter: C++/CLI

[TCheckBoxFormControlObj] Visual Basic (Declaration)

[TCheckBoxFormControlObj] Visual Basic (Usage)

[TCheckBoxFormControlObj] C#

[TCheckBoxFormControlObj] C++/CLI

CXS.Retail.API Namespace > IntegrationService Class : UpdateSynchronizationStatus Method

The device id of the mobile device for which the status need to be update.

The API token.

The last successfully sync record number.

The last record number for which error occures.

The error message comes in last record sync.

Flag to identify status needs to be update for Initialization or Synchronization.

Update the data synchronization status for device.

Syntax

Visual Basic

C#

C++/CLI

'Declaration
Public Function UpdateSynchronizationStatus( _
   ByVal deviceId As String, _
   ByVal apiToken As String, _
   ByVal lastRecordNumber As Integer, _
   ByVal lastErrorRecordNumber As Integer, _
   ByVal lastErrorMessage As String, _
   ByVal isInitialized As Boolean _
As Boolean
'Usage
Dim instance As IntegrationService
Dim deviceId As String
Dim apiToken As String
Dim lastRecordNumber As Integer
Dim lastErrorRecordNumber As Integer
Dim lastErrorMessage As String
Dim isInitialized As Boolean
Dim value As Boolean
value = instance.UpdateSynchronizationStatus(deviceId, apiToken, lastRecordNumber, lastErrorRecordNumber, lastErrorMessage, isInitialized)
public bool UpdateSynchronizationStatus(
   string deviceId,
   string apiToken,
   int lastRecordNumber,
   int lastErrorRecordNumber,
   string lastErrorMessage,
   bool isInitialized
)
public:
bool UpdateSynchronizationStatus(
   String^ deviceId,
   String^ apiToken,
   int lastRecordNumber,
   int lastErrorRecordNumber,
   String^ lastErrorMessage,
   bool isInitialized
)

Parameters

deviceId

The device id of the mobile device for which the status need to be update.

apiToken

The API token.

lastRecordNumber

The last successfully sync record number.

lastErrorRecordNumber

The last record number for which error occures.

lastErrorMessage

The error message comes in last record sync.

isInitialized

Flag to identify status needs to be update for Initialization or Synchronization.

Return Value

true if XXXX, false otherwise

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IntegrationService Class

IntegrationService Members

Send Feedback