Page tree

GET

/:site_number/account

Returns the account and security information for the user supplied for the Basic Authorization.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/account

Required Permissions

No permissions are required for this API.

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

{
  "SiteNumber": 12345,
  "Email": "jadams@example.com",
  "UserName": "jadams",
  "SiteName": "Community Church ",
  "IndvId": 113,
  "FamId": 1068,
  "FirstName": "James",
  "LastName": "Adams",
  "Phone": "111-111-1111",
  "DateCreated": "10/26/2007",
  "Address": "111 Home Ave",
  "Address2": "",
  "City": "Florence",
  "State": "SC    	",
  "ZipCode": "29501",
  "SecurityRole": "Layleader",
  "CalendarDisabled": false,
  "internalCalendarEnabled": false,
  "OrgsAvailable": true,
  "UnifiedLoginID": "4e2c3ad3-4262-4dc7-9a09-d3b3c9752e27",
  "CustomerId": "7976eab3-fc01-489e-9ea0-26c8df57ffae",
  "Rights": {
	"LocatePerson": "A",
	"SearchAllClasses": "N",
	"ViewClassRosters": "A",
	"SearchAllActivities": "N",
	"ViewActivityRosters": "A",
	"AccessReportsArea": "N",
	"LeadershipPositions": "N",
	"GlobalPreferences": "N",
	"UploadRecords": "N",
	"ViewPostAttendance": "A",
	"ChangeRequests": "N",
	"ViewPersonalDetail": "A",
	"AddEditProfiles": "N",
	"AccessUnlistedContactInfo": "A",
	"ViewStatistics": "N",
	"ViewContributions": "A",
	"ViewAddComments": "A",
	"ViewFamilyPosition": "A",
	"ViewEditMemberStatus": "A",
	"ViewEditDateJoined": "A",
	"ViewEditJoinedHow": "A",
	"ViewEditOpenCategory1": "A",
	"ViewEditOpenCategory2": "A",
	"ViewEditOpenCategory3": "A",
	"ViewEditOpenCategory4": "A",
	"ViewEditOpenCategory5": "A",
	"ViewEditOpenCategory6": "A",
	"ViewEditOpenCategory7": "A",
	"ViewEditOpenCategory8": "A",
	"ViewEditOpenCategory9": "A",
	"ViewEditOpenCategory10": "A",
	"ViewEditOpenCategory11": "A",
	"ViewEditOpenCategory12": "A",
	"ViewEditOpenField1": "A",
	"ViewEditOpenField2": "A",
	"ViewEditOpenField3": "A",
	"ViewEditOpenField4": "A",
	"ViewEditOpenDate1": "A",
	"ViewEditOpenDate2": "A",
	"ViewEditOpenDate3": "A",
	"ViewEditOpenDate4": "A",
	"ViewEditOpenDate5": "A",
	"ViewEditOpenDate6": "A",
	"ViewEditDateofBirth": "A",
	"LocateFamily": "N",
	"ViewEditFamilyOpenCategory1": "A",
	"ViewEditFamilyOpenCategory2": "A",
	"ViewEditFamilyOpenCategory3": "A",
	"ViewEditFamilyOpenField1": "A",
	"ViewEditFamilyOpenField2": "A",
	"ViewEditFamilyOpenField3": "A",
	"AdvancedSearches": "N",
	"ExporttoFile": "A",
	"PrintMailingLabels": "A",
	"SpecialGroups": "N",
	"GroupNaming": "N",
	"CalendarLocations": "N",
	"CalendarTypes": "N",
	"OnlineDirectories": "A",
	"PersonalPhotos": "A",
	"OtherMemberPhotos": "A",
	"ViewAllContacts": "N",
	"GroupMemberContacts": "A",
	"AssignedContactsOnly": "N",
	"CreateChangeRequest": "A",
	"ApproveEvents": "N",
	"E-mailNotifications": "N",
	"MarkWorshipAttendance": "N",
	"ViewSmallGroupSetup": "N",
	"CreateNewGroups": "N",
	"DeleteGroups": "N",
	"Addmemberstogroup": "A",
	"Removememberfromgroup": "N",
	"AssignConnections": "N",
	"ViewEditSmallGroupCategories": "N",
	"ViewAllConnections": "N",
	"LocateOrganizations": "N",
	"OnlineGivingReport": "N",
	"EventSetup": "A",
	"SearchAllSmallGroups": "N",
	"CopyMembersfromGroups": "N",
	"ViewSmallGroupRosters": "A",
	"DeleteEventRegistrationEvents": "N",
	"PersonalCalendar": "A",
	"AddFamily": "N",
	"DefinePositions": "N",
	"AddEditAttributes": "N",
	"AddEditQualifications": "N",
	"CreateNewOpportunities": "N",
	"PA1": "A",
	"OA1": "A",
	"AssignContacts": "A",
	"EditSmallGroup": "N",
	"IndividualReports": "A",
	"PA6": "A",
	"OA6": "A",
	"GroupE-mail": "A",
	"ReportingServingOpportunities": "N",
	"ViewOutreachHistory": "A",
	"Themes": "N",
	"OpportunityManagement": "N",
	"EditOpportunity": "N",
	"MemberSearch": "N",
	"Removememberfromactivity": "N",
	"Deletememberfromactivity": "N",
	"Editactivityrosterelements": "N",
	"Addmembertoactivity": "N",
	"Removememberfromclass": "N",
	"Deletememberfromclass": "N",
	"Editrosterposition": "N",
	"Addmembertoclass": "A",
	"PA2": "A",
	"PA3": "A",
	"PA4": "A",
	"PA5": "A",
	"OA2": "A",
	"OA3": "A",
	"OA4": "A",
	"OA5": "A",
	"ReassignConnection": "N",
	"AddEditAnouncements": "N",
	"PrayerRequestsModerator": "N",
	"PublishedPrayerRequests": "N",
	"GroupCommunityModerator": "N",
	"Newsletter": "N",
	"Delivery": "N",
	"RecordType": "N",
	"ViewOrganizationContributions": "N",
	"ViewAddOrganizationComments": "N",
	"ReferenceName": "N",
	"ViewLevel": "N",
	"ViewPIN": "N",
	"ViewEditNewsletter": "N",
	"ViewEditActive": "N",
	"ViewEditYearEstablished": "N",
	"ViewEditDateAdded": "N",
	"ViewEditDateLastChanged": "N",
	"ViewEditOrganizationPhotos": "N",
	"OpenORGListID1": "N",
	"OpenORGListID2": "N",
	"OpenORGListID3": "N",
	"OpenORGListID4": "N",
	"OpenORGListID5": "N",
	"OpenORGListID6": "N",
	"OpenORGListID7": "N",
	"OpenORGListID8": "N",
	"OpenORGListID9": "N",
	"OpenORGListID10": "N",
	"StatusID": "N",
	"LanguageID": "N",
	"OpenORGField1": "N",
	"OpenORGField2": "N",
	"OpenORGField3": "N",
	"OpenORGField4": "N",
	"OpenORGField5": "N",
	"OpenORGDate1": "N",
	"OpenORGDate2": "N",
	"OpenORGDate3": "N",
	"OpenORGDate4": "N",
	"OpenORGDate5": "N",
	"OpenORGID2": "N",
	"OpenORGID3": "N",
	"OpenORGID4": "N",
	"OpenORGID5": "N",
	"ViewOrganizationRecord": "N",
	"ViewStaffRoster": "N",
	"AddStafftoOrganization": "N",
	"ResignStafffromOrganization": "N",
	"DeleteStafffromOrganization": "N",
	"GiveOnline": "N",
	"ViewRegistrationList": "N",
	"EventReports": "A",
	"AllowtoSendTextMessage": "N",
	"PersonalPledges": "A",
	"ViewEnvelopeNumber": "N",
	"ViewScheduledGiving": "N",
	"ManageScheduledGiving": "N",
	"OtherMemberPledges": "N"
  },
  "_securityrole": 2
}

Notes

Possible results for SecurityRole include:

  • "Administrator"

  • "Staff"

  • "Layleader"

  • "Member"

  • "Organization"

  • "Nonmember"

  • "Guest"