GET

/:site_number/types/comments

Returns the available comment types the user can create change requests for.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/types/comments

Required Permissions

The user must fall into one of the categories below:

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.

Return Data

[
  {
    "CommentTypeID": 1,
    "CommentTypeDesc": "Crisis Date",
    "CommentColor": "fabe28"
  },
  {
    "CommentTypeID": 2,
    "CommentTypeDesc": "Emergency",
    "CommentColor": "990099"
  },
  {
    "CommentTypeID": 3,
    "CommentTypeDesc": "Employer or Business",
    "CommentColor": "ff003c"
  },
  {
    "CommentTypeID": 4,
    "CommentTypeDesc": "Family Comment",
    "CommentColor": "ff8a00"
  },
  {
    "CommentTypeID": 5,
    "CommentTypeDesc": "Org-Comment",
    "CommentColor": "feef49"
  },
  {
    "CommentTypeID": 6,
    "CommentTypeDesc": "Pastor Notes",
    "CommentColor": "85b928"
  },
  {
    "CommentTypeID": 7,
    "CommentTypeDesc": "Personal",
    "CommentColor": "b2a1c7"
  }
]

Notes

CommentColor is a hexadecimal code for the color.