Operations

PartnerSessionCounts

https://www.glance.net/services/activityservice.asmx?op=PartnerSessionCounts

This call returns counts of numbers of sessions started within the given date range, broken down by session type and status.

Call Required Description
partnerId
apiKey
type
Optional "C" Cobrowse or "G" Screen Share (blank returns all)
status
Required "A" Active or "C" Completed sessions
startRange
Required date range of session starting times endRange

For active session query generally you'd use the current date/time for endRange and current date minus a day or two for startRange (depending on typical maximum length of your sessions).

Sample Output

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfSessionCount
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.glancenetworks.com/services">
    <sessionCount>
        <type>C</type>
        <status>C</status>
        <count>141</count>
        <averageDuration>748</averageDuration>
    </sessionCount>
    <sessionCount>
        <type>C</type>
        <status>Q</status>
        <count>2</count>
    <averageDuration>106</averageDuration>
    </sessionCount>
    <sessionCount>
        <type>C</type>
        <status>T</status>
        <count>24</count>
        <averageDuration>127</averageDuration>
    </sessionCount>
    <sessionCount>
        <type>C</type>
        <status>X</status>
        <count>2</count>
        <averageDuration>905</averageDuration>
    </sessionCount>
    <sessionCount>
        <type>G</type>
        <status>C</status>
        <count>123</count>
        <averageDuration>619</averageDuration>
    </sessionCount>
</ArrayOfSessionCount>

PartnerSessionCountsEnding (v3.2.4)

https://www.glance.net/services/activityservice.asmx?op=PartnerSessionCountsEnding

This call returns counts of numbers of sessions ended within the given date/time range, broken down by session type and status.

Input Parameters

Call Required Description
partnerId
apiKey
type
Optional "C" Cobrowse or "G" Screenshare (blank returns all)
startRange
Required date range of session ending times endRange

PartnerActiveSessions

https://www.glance.net/services/activityservice.asmx?op=PartnerActiveSessions

This returns essentially the list in the Glance Account Activity tab, an array of all currently Active or Waiting sessions for all users in your Glance Group (organization). It does not return all session fields or detail guest information but that can be retrieved for a specific session with PartnerUserSessions.

An Active (A) session has at least one each of Agent/Host and Visitor/Guest connected. A Waiting (W) session has been started and is still waiting for the other party to join.

Input Parameters

  • partnerId
  • apiKey

PartnerCompletedSessions (v3.2.4)

https://www.glance.net/services/activityservice.asmx?op=PartnerCompletedSessions

Returns a list of completed sessions started within the date/time range, grouped by user.

Input Parameters

Parameter Description
partnerId
apiKey
startRange
endRange
date range of session ending times endRange
The maximum range is 31 days.
sessionKey
Optional, if supplied then only sessions with that key are returned.
nResults
Number of sessions to return in this call, must be between 1 and 1000
nextId
Next starting id for pagination of results. For the first (or a single) call
pass 0. On subsequent calls, pass the value returned by the previous
call.

PartnerCompletedSessionsEnding (v3.2.4)

http://www.glance.net/services/activityservice.asmx?op=PartnerCompletedSessionsEnding

Same as PartnerCompletedSessions except returns a list of completed sessions ended within the date/time range.

PartnerUserSessions

http://www.glance.net/services/activityservice.asmx?op=PartnerUserSessions

This operation returns a list of sessions for a particular user.

Input Parameters

Parameter Description
partnerId
apiKey
partnerUserId
User whose session(s) are retrieved
startRange
Date/time range for which to return sessions (starting within that range)
endRange
The maximum range is 31 days
status
Must be either "A" to return Active (in-progress) sessions or '"C" for
Completed sessions
sessionKey
Optional, if supplied then only sessions with that key are returned

Sample Results

<?xml version="1.0" encoding="utf-8"?>
<userSessions>
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.glancenetworks.com/services">
    <validUser>true</validUser>
    <sessions>
        <session>...</session>
        <session>...</session>
    </sessions>
</userSessions>

By continuing to use the site, you agree to the use of cookies. Learn More