Skip to main content
Agent with Pocket specific functionality.

Constructors

NSPocketAgent()

Agent with Pocket specific functionality.

Methods

GetPocketStartupData(String[])

Returns start-up data for SuperOffice Pocket CRM
Returns: CRMScript.NetServer.NSPocketStartupData Example:

GetPushNotificationTagsForDevice(String)

Retrieves current tag value for a device
Returns: CRMScript.Global.String Example:

GetRegisteredDevices(Integer)

Retrieves all registered devices for an associate
Returns: CRMScript.NetServer.NSPocketDeviceInfo[]

RegisterDeviceForPushNotification(NSPocketDeviceInfo)

Registers a device that should receive push notifications when notable events occur
Returns: CRMScript.Global.Void

RunAppointmentAlarmBroker()

Executes the AppointmentAlarmBroker once
Returns: CRMScript.Global.Void

SendPushNotification(Integer[],PocketNotificationMessage)

Sends a push notification to one or more associates
Returns: CRMScript.Global.Void

SetPushNotificationTagsForDevice(String,String)

Returns: CRMScript.Global.Void

SetPushNotificationTagsForUser(Integer,String)

Returns: CRMScript.Global.Void
This will update all registered devices for this user.