Rest - Contacts - Staff - Sessions

From Views API Documentation
Jump to navigation Jump to search

Purpose

This is a read only service. It is a search API to return sessions that the staff record is associated with.

Base URL

https://app.viewsapp.net/api/restful/contacts/staff/<id>/sessions

Usage

curl --url <Base URL>?q=<query> -u<username>:<password> -H Content-Type:text/xml 

Calling the Base URL without any parameters will return all Sessions that the staff record is associated with, regardless of their attendance status.

Parameter:

  • q - string - A string to search the results for
  • SessionGroupID - int - Restrict the results to a given Session Group
  • Attended - int - 1 = Attended, 0 = Registered Only