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

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)

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"
}
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

Request Example
{
  "SelectedIds": "string",
  "CurrentAdvancedFilter": "string",
  "RecordsToUpdate": "integer",
  "RoleId": "string"
}
Response Example (200 OK)
{
  "SelectedIds": "string",
  "CurrentAdvancedFilter": "string",
  "RecordsToUpdate": "integer",
  "RoleId": "string"
}

POST /api/roles/accessroles/massupdate/save

Request Example
{
  "SelectedIds": "string",
  "CurrentAdvancedFilter": "string",
  "RecordsToUpdate": "integer",
  "RoleId": "string"
}
200 OK

OK

GET /api/roles/lookup

Response Example (200 OK)
[
  {
    "Id": "integer",
    "RoleId": "integer",
    "Name": "string",
    "RoleTypeId": "string",
    "ExtraData": "string"
  }
]

GET /api/roles/lookup/drop/membership/roles

Response Example (200 OK)
[
  {
    "Id": "integer",
    "RoleId": "integer",
    "Name": "string",
    "RoleTypeId": "string",
    "ExtraData": "string"
  }
]

GET /api/roles/lookup/member

Response Example (200 OK)
[
  {
    "Id": "integer",
    "RoleId": "integer",
    "Name": "string",
    "RoleTypeId": "string",
    "ExtraData": "string"
  }
]

GET /api/roles/lookup/roletype

Response Example (200 OK)
[
  {
    "IsSelected": "boolean",
    "PreviouslySelected": "boolean",
    "Id": "integer",
    "Name": "string",
    "Order": "integer"
  }
]

GET /api/roles/lookup/staff

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

Request Example
{
  "CurrentAdvancedFilter": "string",
  "TotalRecordAvailable": "string",
  "RoleId": "string"
}
Response Example (200 OK)
{
  "CurrentAdvancedFilter": "string",
  "TotalRecordAvailable": "string",
  "RoleId": "string"
}

POST /api/roles/massupdate/save/contacts

Request Example
{
  "CurrentAdvancedFilter": "string",
  "TotalRecordAvailable": "string",
  "RoleId": "string"
}
200 OK

OK

POST /api/roles/massupdate/view/contacts

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

Response Example (200 OK)
[
  {
    "Id": "integer",
    "RoleId": "integer",
    "Name": "string",
    "RoleTypeId": "string",
    "Description": "string",
    "UsersCount": "integer",
    "Actions": "string"
  }
]

POST /api/roles/user/{roleid}

roleid: string
in path

(no description)

Request Example
{
  "Name": "string",
  "Description": "string"
}
Response Example (200 OK)
{
  "Id": "integer",
  "RoleId": "integer",
  "Name": "string",
  "RoleTypeId": "string",
  "Description": "string",
  "UsersCount": "integer",
  "Actions": "string"
}

POST /api/roles/user/{roleid}/access

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"
}
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)

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

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)

OK

Response Example (200 OK)
{
  "RoleId": "integer",
  "RoleTypeId": "string",
  "IsStaffRole": "boolean",
  "Name": "string",
  "Users": "string"
}

POST /api/roles/users/{roleid}/list

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"
}
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"
}

Object: object

Example
"object"

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"
}

IndividualsMassUpdateRoleId: object

CurrentAdvancedFilter: string
TotalRecordAvailable: string
RoleId: string
Example
{
  "CurrentAdvancedFilter": "string",
  "TotalRecordAvailable": "string",
  "RoleId": "string"
}