Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated with new look + changes from Cindy

Decription

GET

/:site_number/individuals/:individual_id/staff

Returns a list of organization staff information that staff information that the supplied Individual (IndvId) is associated with.

...

Example

...

Info

...

code
icon
false
https

http://secure.accessacs.com/api_accessacs_mobile/v2/

<sitenumber>

12345/individuals/

<IndvId>

123/staff&pageIndex=0

&pageSize=5

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.  

Request Header

...

Query Parameter

sitenumberFor 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 rights to view Organization records

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.

IndvId - individual_id  Individual ID associated with the record.

...

 Values from Individual Search and Organization Staff APIs.

Return Data

Code Block
{
    "Page": [
        {
            "StaffId": 84,
            "IndvId": 102,
            "OrgId": 200,
            "Org_RefName": "All Saints",
            "Position": "Pastor",
            "PositionCode": "Volunteer",
            "DateAdded": "4/9/2010",
            "DateRemoved": "",
            "StaffStatus": "Full Time",
            "PrimaryOrg": false,
            "LayStaff": true,
            "Ordained": false,
            "DateOrdained": "",
            "Licensed": false,
            "DateLicensed": "",
            "MailToOrg": false
        }
    ],
    "PageCount": 1,
    "PageIndex": 0,
    "PageSize": 10
}