Register Method

<< Click to Display Table of Contents >>

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

Register Method

iVend Retail 6.6 - Web API Help

Register 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 : Register Method

The Unique Identifier for mobile device(eg. deviceId).

The API token.

Registers the specified device with iVend API.

Syntax

Visual Basic

C#

C++/CLI

'Declaration
Public Function Register( _
   ByVal deviceId As String, _
   ByVal apiToken As String _
As Boolean
'Usage
Dim instance As IntegrationService
Dim deviceId As String
Dim apiToken As String
Dim value As Boolean
value = instance.Register(deviceId, apiToken)
public bool Register(
   string deviceId,
   string apiToken
)
public:
bool Register(
   String^ deviceId,
   String^ apiToken
)

Parameters

deviceId

The Unique Identifier for mobile device(eg. deviceId).

apiToken

The API token.

Return Value

true if device successfully registered otherwise false.

Exceptions

Exception

Description

System.Exception

This device is already registered with another token. or A device is already registered with this token. or Invalid Api Token. + apiToken

WebFaultException

This device is already registered with another token. or A device is already registered with this token. or Invalid Api Token. + apiToken

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