Page tree

GET

/:site_number/connections/assignments

Returns a list of connection assignments that are grouped by connection type and sorted by Oldest Due Date.   

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/connections/assignments?&pageIndex=0&pageSize=50

Notes

pageIndex and pageSize are not required for the API to work properly. These fields allow you to limit the number of records returned at one time and the point when you begin pulling information. If you do not enter this information, the index default is 0 and the size default is 50.  

For example, you are looking for all the individuals with the first name John. 300 records match your criteria. If you leave the defaults, the first 50 matches display. If you change the pageIndex to 2, the next 50 matches are returned.

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • A user with the following rights:

    • Ability to Assign Contacts

    • View 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.

pageIndex – (Optional) Page number for the search results; begins with the 0 value entered for the first set of results.

pageSize – (Optional) Number of results to return per page. 

Return Data

{
    "Page": [
        {
            "ConnectionTypeId": 17,
            "ConnectionTypeDescription": "Org-Notification of Concern",
            "ContactType": "Inward",
            "EarliestDueDate": "11/19/2010",
            "EarliestDueDateLong": "Friday, November 19, 2010",
            "TotalConnections": 1
        },
        {
            "ConnectionTypeId": 1,
            "ConnectionTypeDescription": "Pastor Visit",
            "ContactType": "Outward",
            "EarliestDueDate": "11/19/2010",
            "EarliestDueDateLong": "Friday, November 19, 2010",
            "TotalConnections": 3
        },
        {
            "ConnectionTypeId": 14,
            "ConnectionTypeDescription": "Phone Call",
            "ContactType": "Outward",
            "EarliestDueDate": "11/19/2010",
            "EarliestDueDateLong": "Friday, November 19, 2010",
            "TotalConnections": 3
        }
    ],
    "PageCount": 1,
    "PageIndex": 0,
    "PageSize": 10
}