GET

/:site_number/orgs/:org_id/staff

Returns a list of staff that are associated with the supplied Organization's ID.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/orgs/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.  

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:

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.

org_id  – The identification number of the organization you want to return data for.  Values from Organization List API.

Return Data

{
  "Page": [
    {
      "ContactInformation": {
        "Country": "USA",
        "Company": null,
        "Address": "1314 Hobart Dr",
        "Address2": null,
        "City": "Florence",
        "State": "SC",
        "Zipcode": "29501",
        "CityStateZip": "Florence, SC 29501",
        "Email": "john.doe@csacstechnologies.com",
        "EmailListed": true,
        "PhoneNumber": "843-667-8262",
        "PhoneListed": true,
        "IndvId": 287,
        "FamId": 1155,
        "FamilyPosition": "Head",
        "Title": "Rev.",
        "FirstName": "John",
        "LastName": "Doe",
        "MiddleName": null,
        "GoesByName": null,
        "Suffix": null,
        "PictureUrl": ""
      },
      "StaffId": 30,
      "IndvId": 287,
      "OrgId": 826,
      "Org_RefName": "All Saints",
      "Position": "Youth Pastor",
      "PositionCode": "Paid Staff",
      "DateAdded": "12/31/2005",
      "DateRemoved": "",
      "StaffStatus": "Part Time",
      "PrimaryOrg": false,
      "LayStaff": false,
      "Ordained": false,
      "DateOrdained": "",
      "Licensed": false,
      "DateLicensed": "",
      "MailToOrg": false
    },
    {
      "ContactInformation": {
        "Country": "USA",
        "Company": null,
        "Address": "1400 Cabrillo Dr",
        "Address2": null,
        "City": "Florence",
        "State": "SC",
        "Zipcode": "29505",
        "CityStateZip": "Florence, SC 29505",
        "Email": null,
        "EmailListed": true,
        "PhoneNumber": "843-655-1284",
        "PhoneListed": true,
        "IndvId": 196,
        "FamId": 1110,
        "FamilyPosition": "Head",
        "Title": "Rev.",
        "FirstName": "Jane",
        "LastName": "Doe",
        "MiddleName": null,
        "GoesByName": "Jane",
        "Suffix": null,
        "PictureUrl": ""
      },
      "StaffId": 21,
      "IndvId": 196,
      "OrgId": 826,
      "Org_RefName": "All Saints",
      "Position": "Pastor",
      "PositionCode": "Ordained Minister",
      "DateAdded": "12/30/2004",
      "DateRemoved": "",
      "StaffStatus": "Full Time",
      "PrimaryOrg": true,
      "LayStaff": false,
      "Ordained": false,
      "DateOrdained": "",
      "Licensed": false,
      "DateLicensed": "",
      "MailToOrg": false
    }
  ],
  "PageCount": 1,
  "PageIndex": 0,
  "PageSize": 50
}