Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

Returns a list of connections assigned to the user by the Connection TypeId.

Request Verb

GET

URL

https://secure.accessacs.com/api_accessacs_mobile/v2/<sitenumber>/connections/assignments/<connectionTypeId>?pageIndex=<0-based int>&pageSize=<int>

Request Header

Authorization -– Use to determine security rights to authorize the person logged in.
For example:
username: adams
password: password231

Sitenumber –- The site number to gather data for.

Query Parameters

sitenumber –- The site number to gather data for.

connectionTypeId – The connection type ID you want to return information about.

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

pageSize – Number of results to return per page.

Sample JSON Returned Dataa

{
    "Page": [
        {
            "ConnectionId": 2045,
            "ConnectionTypeId": 1,
            "ConnectionTypeDescription": "Pastor Visit",
            "ContactType": "Outward",
            "DueDate": "11/19/2010",
            "DueDateLong": "Friday, November 19, 2010",
            "Completed": false,
            "TeamMemberCount": 1,
            "ContactInformation": {
                "IndvId": 789,
                "FamId": 1397,
                "FamilyPosition": "Head",
                "Title": "Mr.",
                "FirstName": "Richard",
                "LastName": "Farrell",
                "MiddleName": null,
                "GoesByName": null,
                "Suffix": null,
                "PictureUrl": ""
            },
            "TeamMembers": []
        },
        {
            "ConnectionId": 2067,
            "ConnectionTypeId": 1,
            "ConnectionTypeDescription": "Pastor Visit",
            "ContactType": "Outward",
            "DueDate": "11/19/2010",
            "DueDateLong": "Friday, November 19, 2010",
            "Completed": false,
            "TeamMemberCount": 1,
            "ContactInformation": {
                "IndvId": 310,
                "FamId": 1166,
                "FamilyPosition": "Child",
                "Title": "Miss",
                "FirstName": "Mary",
                "LastName": "Ferguson",
                "MiddleName": null,
                "GoesByName": null,
                "Suffix": null,
                "PictureUrl": <Full Picture Url>
            },
            "TeamMembers": []
        },
        {
            "ConnectionId": 2071,
            "ConnectionTypeId": 1,
            "ConnectionTypeDescription": "Pastor Visit",
            "ContactType": "Outward",
            "DueDate": "12/20/2010",
            "DueDateLong": "Monday, December 20, 2010",
            "Completed": false,
            "TeamMemberCount": 1,
            "ContactInformation": {
                "IndvId": 77,
                "FamId": 1042,
                "FamilyPosition": "Spouse",
                "Title": "Mrs.",
                "FirstName": "Jane",
                "LastName": "Aaron",
                "MiddleName": null,
                "GoesByName": null,
                "Suffix": null,
                "PictureUrl": <Full Picture Url>
            },
            "TeamMembers": []
        }
    ],
    "PageCount": 1,
    "PageIndex": 0,
    "PageSize": 10
}