GrowthZone REST API API Reference
undefined
API Endpoint
https://app.memberzone.org
Request Content-Types: application/json
Response Content-Types: application/json
Schemes: https
Version: v1.0
Paths
GET /api/roles
200 OK
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"Description": "string",
"UsersCount": "integer",
"Actions": "string"
}
]
GET /api/roles/{roleid}
roleid:
integer
in path
(no description)
200 OK
OK
Response Example (200 OK)
{
"Name": "string",
"Description": "string",
"RoleId": "integer",
"AuditId": "integer",
"UserNotInDev": "boolean",
"HasChapters": "boolean",
"HideChapterStaff": "boolean",
"RoleTypeId": "string",
"HasContactRelationshipRestriction": "boolean",
"Areas": "string",
"CssClass": "string"
}
POST /api/roles/{roleid}
undefined
roleid:
string
in path
(no description)
Request Example
{
"Name": "string",
"Description": "string",
"RoleId": "integer",
"AuditId": "integer",
"UserNotInDev": "boolean",
"HasChapters": "boolean",
"HideChapterStaff": "boolean",
"RoleTypeId": "string",
"HasContactRelationshipRestriction": "boolean",
"Areas": "string",
"CssClass": "string"
}
200 OK
OK
Response Example (200 OK)
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"Description": "string",
"UsersCount": "integer",
"Actions": "string"
}
DELETE /api/roles/{roleid}/{auditid}
roleid:
integer
in path
(no description)
auditid:
integer
in path
(no description)
200 OK
OK
POST /api/roles/accessroles/masssupdate/load
undefined
Request Example
{
"SelectedIds": "string",
"CurrentAdvancedFilter": "string",
"RecordsToUpdate": "integer",
"RoleId": "string"
}
OK
Response Example (200 OK)
{
"SelectedIds": "string",
"CurrentAdvancedFilter": "string",
"RecordsToUpdate": "integer",
"RoleId": "string"
}
POST /api/roles/accessroles/massupdate/save
undefined
Request Example
{
"SelectedIds": "string",
"CurrentAdvancedFilter": "string",
"RecordsToUpdate": "integer",
"RoleId": "string"
}
200 OK
OK
GET /api/roles/lookup
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"ExtraData": "string"
}
]
GET /api/roles/lookup/drop/membership/roles
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"ExtraData": "string"
}
]
GET /api/roles/lookup/member
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"ExtraData": "string"
}
]
GET /api/roles/lookup/roletype
200 OK
OK
type
Response Example (200 OK)
[
{
"IsSelected": "boolean",
"PreviouslySelected": "boolean",
"Id": "integer",
"Name": "string",
"Order": "integer"
}
]
GET /api/roles/lookup/staff
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"ExtraData": "string"
}
]
POST /api/roles/massupdate
Request Example
{
"Top": "string",
"Take": "string",
"Skip": "string",
"Filter": "string",
"OrderBy": "string",
"CalendarStartDate": "string",
"CalendarEndDate": "string",
"TenantId": "integer",
"ContactType": "string",
"MembershipTypeId": "string",
"MembershipLevelId": "string",
"StatusTypeOptions": "string",
"OrganizationContact": "string",
"IsPrimaryContact": "boolean",
"NonPrimaryContact": "boolean",
"ExcludeStaff": "boolean",
"Criteria": "string",
"HideContactTypeFilterField": "boolean"
}
Response Example (200 OK)
{
"Criteria": "string",
"CriteriaItems": "string",
"TotalRecordAvailable": "string",
"ModelItems": "string",
"Results": "string"
}
POST /api/roles/massupdate/load/contacts
undefined
Request Example
{
"CurrentAdvancedFilter": "string",
"TotalRecordAvailable": "string",
"RoleId": "string"
}
200 OK
OK
Response Example (200 OK)
{
"CurrentAdvancedFilter": "string",
"TotalRecordAvailable": "string",
"RoleId": "string"
}
POST /api/roles/massupdate/save/contacts
undefined
Request Example
{
"CurrentAdvancedFilter": "string",
"TotalRecordAvailable": "string",
"RoleId": "string"
}
200 OK
OK
POST /api/roles/massupdate/view/contacts
undefined
Request Example
{
"Top": "string",
"Take": "string",
"Skip": "string",
"Filter": "string",
"OrderBy": "string",
"CalendarStartDate": "string",
"CalendarEndDate": "string",
"MembershipTypeId": "string",
"MembershipLevelId": "string",
"StatusTypeOptions": "string",
"OrganizationContact": "string",
"IsPrimaryContact": "boolean",
"NonPrimaryContact": "boolean",
"ExcludeStaff": "boolean",
"Criteria": "string"
}
Response Example (200 OK)
{
"Criteria": "string",
"CriteriaItems": "string",
"TotalRecordAvailable": "string",
"ModelItems": "string",
"Results": "string"
}
GET /api/roles/user
200 OK
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"Description": "string",
"UsersCount": "integer",
"Actions": "string"
}
]
POST /api/roles/user/{roleid}
undefined
roleid:
string
in path
(no description)
Request Example
{
"Name": "string",
"Description": "string"
}
200 OK
OK
Response Example (200 OK)
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"Description": "string",
"UsersCount": "integer",
"Actions": "string"
}
POST /api/roles/user/{roleid}/access
undefined
roleid:
integer
in path
(no description)
Request Example
{
"Name": "string",
"Description": "string",
"RoleId": "integer",
"AuditId": "integer",
"UserNotInDev": "boolean",
"HasChapters": "boolean",
"HideChapterStaff": "boolean",
"RoleTypeId": "string",
"HasContactRelationshipRestriction": "boolean",
"Areas": "string",
"CssClass": "string",
"ShowAllAreas": "boolean"
}
200 OK
OK
Response Example (200 OK)
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"Description": "string",
"UsersCount": "integer",
"Actions": "string"
}
GET /api/roles/userrole/{roleid}
roleid:
integer
in path
(no description)
200 OK
OK
Response Example (200 OK)
{
"Name": "string",
"Description": "string",
"RoleId": "integer",
"AuditId": "integer",
"UserNotInDev": "boolean",
"HasChapters": "boolean",
"HideChapterStaff": "boolean",
"RoleTypeId": "string",
"HasContactRelationshipRestriction": "boolean",
"Areas": "string",
"CssClass": "string",
"ShowAllAreas": "boolean"
}
GET /api/roles/userrolelookup
OK
Response Example (200 OK)
[
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"ExtraData": "string"
}
]
GET /api/roles/users/{roleid}
roleid:
integer
in path
(no description)
200 OK
OK
Response Example (200 OK)
{
"RoleId": "integer",
"RoleTypeId": "string",
"IsStaffRole": "boolean",
"Name": "string",
"Users": "string"
}
POST /api/roles/users/{roleid}/list
undefined
roleid:
integer
in path
(no description)
Request Example
{
"Top": "string",
"Take": "string",
"Skip": "string",
"Filter": "string",
"OrderBy": "string",
"CalendarStartDate": "string",
"CalendarEndDate": "string",
"TenantId": "integer",
"RoleId": "integer",
"Criteria": "string"
}
OK
Response Example (200 OK)
{
"Criteria": "string",
"CriteriaItems": "string",
"TotalRecordAvailable": "string",
"ModelItems": "string",
"Results": "string"
}
Schema Definitions
RoleCollectionItemModel: object
- Id: integer
- RoleId: integer
- Name: string
- RoleTypeId: string
- Description: string
- UsersCount: integer
- Actions: string
Example
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"Description": "string",
"UsersCount": "integer",
"Actions": "string"
}
BaseRoleAddEditModel: object
- Name: string
- Description: string
Example
{
"Name": "string",
"Description": "string"
}
UserRoleAddEditModel: object
- Name: string
- Description: string
- RoleId: integer
- AuditId: integer
- UserNotInDev: boolean
- HasChapters: boolean
- HideChapterStaff: boolean
- RoleTypeId: string
- HasContactRelationshipRestriction: boolean
- Areas: string
- CssClass: string
- ShowAllAreas: boolean
Example
{
"Name": "string",
"Description": "string",
"RoleId": "integer",
"AuditId": "integer",
"UserNotInDev": "boolean",
"HasChapters": "boolean",
"HideChapterStaff": "boolean",
"RoleTypeId": "string",
"HasContactRelationshipRestriction": "boolean",
"Areas": "string",
"CssClass": "string",
"ShowAllAreas": "boolean"
}
RoleAddEditModel: object
- Name: string
- Description: string
- RoleId: integer
- AuditId: integer
- UserNotInDev: boolean
- HasChapters: boolean
- HideChapterStaff: boolean
- RoleTypeId: string
- HasContactRelationshipRestriction: boolean
- Areas: string
- CssClass: string
Example
{
"Name": "string",
"Description": "string",
"RoleId": "integer",
"AuditId": "integer",
"UserNotInDev": "boolean",
"HasChapters": "boolean",
"HideChapterStaff": "boolean",
"RoleTypeId": "string",
"HasContactRelationshipRestriction": "boolean",
"Areas": "string",
"CssClass": "string"
}
RoleChoiceCollectionItemModel: object
- Id: integer
- RoleId: integer
- Name: string
- RoleTypeId: string
- ExtraData: string
Example
{
"Id": "integer",
"RoleId": "integer",
"Name": "string",
"RoleTypeId": "string",
"ExtraData": "string"
}
ItemChoiceModel: object
- IsSelected: boolean
- PreviouslySelected: boolean
- Id: integer
- Name: string
- Order: integer
Example
{
"IsSelected": "boolean",
"PreviouslySelected": "boolean",
"Id": "integer",
"Name": "string",
"Order": "integer"
}
RoleUsersViewModel: object
- RoleId: integer
- RoleTypeId: string
- IsStaffRole: boolean
- Name: string
- Users: string
Example
{
"RoleId": "integer",
"RoleTypeId": "string",
"IsStaffRole": "boolean",
"Name": "string",
"Users": "string"
}
ListViewReturnModel<RoleUsers>: object
- Criteria: string
- CriteriaItems: string
- TotalRecordAvailable: string
-
We typically only return a subset of what is available on the server, but lets show the user what was available
- ModelItems: string
- Results: string
Example
{
"Criteria": "string",
"CriteriaItems": "string",
"TotalRecordAvailable": "string",
"ModelItems": "string",
"Results": "string"
}
RoleUsersAdvancesFilter: object
- Top: string
- Take: string
- Skip: string
- Filter: string
- OrderBy: string
- CalendarStartDate: string
- CalendarEndDate: string
- TenantId: integer
- RoleId: integer
- Criteria: string
Example
{
"Top": "string",
"Take": "string",
"Skip": "string",
"Filter": "string",
"OrderBy": "string",
"CalendarStartDate": "string",
"CalendarEndDate": "string",
"TenantId": "integer",
"RoleId": "integer",
"Criteria": "string"
}
ListViewReturnModel<AccessLevelsMassUpdateContactModel>: object
- Criteria: string
- CriteriaItems: string
- TotalRecordAvailable: string
-
We typically only return a subset of what is available on the server, but lets show the user what was available
- ModelItems: string
- Results: string
Example
{
"Criteria": "string",
"CriteriaItems": "string",
"TotalRecordAvailable": "string",
"ModelItems": "string",
"Results": "string"
}
AccessLevelsMassUpdateContactAdvancedFilter: object
- Top: string
- Take: string
- Skip: string
- Filter: string
- OrderBy: string
- CalendarStartDate: string
- CalendarEndDate: string
- TenantId: integer
- ContactType: string
- MembershipTypeId: string
- MembershipLevelId: string
- StatusTypeOptions: string
- OrganizationContact: string
- IsPrimaryContact: boolean
- NonPrimaryContact: boolean
- ExcludeStaff: boolean
- Criteria: string
- HideContactTypeFilterField: boolean
Example
{
"Top": "string",
"Take": "string",
"Skip": "string",
"Filter": "string",
"OrderBy": "string",
"CalendarStartDate": "string",
"CalendarEndDate": "string",
"TenantId": "integer",
"ContactType": "string",
"MembershipTypeId": "string",
"MembershipLevelId": "string",
"StatusTypeOptions": "string",
"OrganizationContact": "string",
"IsPrimaryContact": "boolean",
"NonPrimaryContact": "boolean",
"ExcludeStaff": "boolean",
"Criteria": "string",
"HideContactTypeFilterField": "boolean"
}
AccessLevelMassUpdateViewModel: object
- SelectedIds: string
- CurrentAdvancedFilter: string
- RecordsToUpdate: integer
- RoleId: string
Example
{
"SelectedIds": "string",
"CurrentAdvancedFilter": "string",
"RecordsToUpdate": "integer",
"RoleId": "string"
}
ListViewReturnModel<IndividualToMassUpdateRoleIdItem>: object
- Criteria: string
- CriteriaItems: string
- TotalRecordAvailable: string
-
We typically only return a subset of what is available on the server, but lets show the user what was available
- ModelItems: string
- Results: string
Example
{
"Criteria": "string",
"CriteriaItems": "string",
"TotalRecordAvailable": "string",
"ModelItems": "string",
"Results": "string"
}
IndividualToMassUpdateRoleIdItemFilter: object
- Top: string
- Take: string
- Skip: string
- Filter: string
- OrderBy: string
- CalendarStartDate: string
- CalendarEndDate: string
- MembershipTypeId: string
- MembershipLevelId: string
- StatusTypeOptions: string
- OrganizationContact: string
- IsPrimaryContact: boolean
- NonPrimaryContact: boolean
- ExcludeStaff: boolean
- Criteria: string
Example
{
"Top": "string",
"Take": "string",
"Skip": "string",
"Filter": "string",
"OrderBy": "string",
"CalendarStartDate": "string",
"CalendarEndDate": "string",
"MembershipTypeId": "string",
"MembershipLevelId": "string",
"StatusTypeOptions": "string",
"OrganizationContact": "string",
"IsPrimaryContact": "boolean",
"NonPrimaryContact": "boolean",
"ExcludeStaff": "boolean",
"Criteria": "string"
}