Page tree

GET

/:site_number/connections/teams

Returns a list of teams and the team member count.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/connections/teams?q=a

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • A user with the following rights:

    • Ability to add connections

    • Full rights to at least one Connection Type

Request Header

Basic Authorization is used to determine security rights for the user credentials supplied using the following parameters.

username: "jadams"

password: "password231"

URL Parameters

site_number – The site number to gather data for.

Query String Parameters

q= search string on Team Name

    Examples:  Team

               Visit

               Our

               1

               a

Return Data

[
  {
    "TeamId": 1,
    "TeamName": "Our Visiting Team 1 For 2008-9",
    "TeamMemberCount": 3
  },
  {
    "TeamId": 2,
    "TeamName": "Our Visiting Team 2 for 2008-9",
    "TeamMemberCount": 3
  },
  {
    "TeamId": 3,
    "TeamName": "Our Visiting Team 3 for 2008-9",
    "TeamMemberCount": 4
  },
  {
    "TeamId": 4,
    "TeamName": "Our Visiting Team 4 for 2008-9",
    "TeamMemberCount": 8
  }
]