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/sponsorships/adlocations

options: string
in query

(no description)

Response Example (200 OK)
{
  "Criteria": "string",
  "CriteriaItems": "string",
  "TotalRecordAvailable": "string",
  "ModelItems": "string",
  "Results": "string"
}

POST /api/sponsorships/adlocations

Request Example
{
  "Top": "string",
  "Take": "string",
  "Skip": "string",
  "Filter": "string",
  "OrderBy": "string",
  "CalendarStartDate": "string",
  "CalendarEndDate": "string",
  "TenantId": "integer",
  "Criteria": "string",
  "HasAdsAssigned": "boolean",
  "Type": "string",
  "DomainId": "string"
}
Response Example (200 OK)
{
  "Criteria": "string",
  "CriteriaItems": "string",
  "TotalRecordAvailable": "string",
  "ModelItems": "string",
  "Results": "string"
}

GET /api/sponsorships/adlocations/adtypeplacement/{siteid}/{sitepageid}/{positiontypeid}

siteid: integer
in path

(no description)

sitepageid: integer
in path

(no description)

positiontypeid: string
in path

(no description)

Response Example (200 OK)
{
  "SiteId": "integer",
  "SitePageId": "integer",
  "PositionTypeId": "string",
  "AdvertisingTypeId": "string"
}

POST /api/sponsorships/adlocations/adtypeplacement/save

Request Example
{
  "SiteId": "integer",
  "SitePageId": "integer",
  "PositionTypeId": "string",
  "AdvertisingTypeId": "string"
}
Response Example (200 OK)
{
  "SitePageId": "integer",
  "DomainId": "string",
  "SiteId": "integer",
  "Domain": "string",
  "Type": "string",
  "Title": "string",
  "RelativePath": "string",
  "TotalRecordAvailable": "integer",
  "TopOfPageAd": "string",
  "BottomOfPageAd": "string"
}

GET /api/sponsorships/adlocations/allowedsitemodule/lookup

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

GET /api/sponsorships/customadlocations

options: string
in query

(no description)

Response Example (200 OK)
[
  {
    "CustomAdLocationId": "integer",
    "Name": "string",
    "Actions": "string"
  }
]

GET /api/sponsorships/customadlocations/{customadlocationid}

customadlocationid: integer
in path

(no description)

Response Example (200 OK)
{
  "CustomAdLocationId": "integer",
  "Name": "string"
}

DELETE /api/sponsorships/customadlocations/{customadlocationid}

customadlocationid: integer
in path

(no description)

200 OK

OK

POST /api/sponsorships/customadlocations/save

Request Example
{
  "CustomAdLocationId": "integer",
  "Name": "string"
}
Response Example (200 OK)
{
  "CustomAdLocationId": "integer",
  "Name": "string",
  "Actions": "string"
}

GET /api/sponsorships/displayad/{adid}

adid: integer
in path

(no description)

Response Example (200 OK)
{
  "AdId": "integer",
  "AuditId": "integer",
  "ContactId": "string",
  "ContactName": "string",
  "Title": "string",
  "StartDate": "string",
  "EndDate": "string",
  "DestinationUrl": "string",
  "OpenInNewWindow": "boolean",
  "AdAreaId": "string",
  "Width": "integer",
  "Height": "integer",
  "BannerImage": "string",
  "Placements": "string"
}

POST /api/sponsorships/displayad/save

Request Example
{
  "AdId": "integer",
  "AuditId": "integer",
  "ContactId": "string",
  "ContactName": "string",
  "Title": "string",
  "StartDate": "string",
  "EndDate": "string",
  "DestinationUrl": "string",
  "OpenInNewWindow": "boolean",
  "AdAreaId": "string",
  "Width": "integer",
  "Height": "integer",
  "BannerImage": "string",
  "Placements": "string"
}
Response Example (200 OK)
{
  "AdId": "integer",
  "Contact": "string",
  "Description": "string",
  "IsActive": "boolean",
  "EndDate": "string",
  "ActivePlacements": "integer",
  "TotalRecordAvailable": "integer",
  "TotalPlacements": "integer"
}

GET /api/sponsorships/displayads

Request Example
{
  "Top": "string",
  "Take": "string",
  "Skip": "string",
  "Filter": "string",
  "OrderBy": "string",
  "CalendarStartDate": "string",
  "CalendarEndDate": "string",
  "TenantId": "integer",
  "Active": "boolean",
  "ExpiredWithinTheLastTwoWeeks": "boolean",
  "AllExpired": "boolean",
  "Criteria": "string"
}
Response Example (200 OK)
{
  "Criteria": "string",
  "CriteriaItems": "string",
  "TotalRecordAvailable": "string",
  "ModelItems": "string",
  "Results": "string"
}

GET /api/sponsorships/pages/sp-cp

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

GET /api/sponsorships/sponsors

options: string
in query

(no description)

Response Example (200 OK)
{
  "Criteria": "string",
  "CriteriaItems": "string",
  "TotalRecordAvailable": "string",
  "ModelItems": "string",
  "Results": "string"
}

POST /api/sponsorships/sponsors

Request Example
{
  "Top": "string",
  "Take": "string",
  "Skip": "string",
  "Filter": "string",
  "OrderBy": "string",
  "CalendarStartDate": "string",
  "CalendarEndDate": "string",
  "TenantId": "integer",
  "SponsorId": "string",
  "Criteria": "string"
}
Response Example (200 OK)
{
  "Criteria": "string",
  "CriteriaItems": "string",
  "TotalRecordAvailable": "string",
  "ModelItems": "string",
  "Results": "string"
}

GET /api/sponsorships/sponsors/{sponsorid}

sponsorid: integer
in path

(no description)

Response Example (200 OK)
{
  "SponsorId": "integer",
  "AuditId": "integer",
  "ContactId": "integer",
  "Contact": "string",
  "SponsorshipTypeId": "integer",
  "Price": "string",
  "StartDate": "string",
  "EndDate": "string"
}

POST /api/sponsorships/sponsors/{sponsorid}

sponsorid: integer
in path

(no description)

Request Example
{
  "SponsorId": "integer",
  "AuditId": "integer",
  "ContactId": "integer",
  "Contact": "string",
  "SponsorshipTypeId": "integer",
  "Price": "string",
  "StartDate": "string",
  "EndDate": "string"
}
Response Example (200 OK)
{
  "SponsorId": "integer",
  "SponsorName": "string",
  "Level": "string",
  "StartDate": "string",
  "EndDate": "string",
  "Price": "number",
  "TotalRecordAvailable": "integer",
  "Actions": "string"
}

DELETE /api/sponsorships/sponsors/{sponsorid}/{auditid}

sponsorid: integer
in path

(no description)

auditid: integer
in path

(no description)

200 OK

OK

GET /api/sponsorships/sponsors/banners/{sponsorid}

sponsorid: integer
in path

(no description)

Response Example (200 OK)
{
  "SponsorId": "integer",
  "Banners": "string"
}

GET /api/sponsorships/types

options: string
in query

(no description)

Response Example (200 OK)
[
  {
    "SponsorshipTypeId": "integer",
    "SponsorshipLevel": "string",
    "BenefitPackage": "string",
    "Price": "number",
    "TotalQuantity": "integer",
    "CurrentlyActive": "boolean"
  }
]

GET /api/sponsorships/types/{sponsorshiptypeid}

sponsorshiptypeid: integer
in path

(no description)

Response Example (200 OK)
{
  "SponsorshipTypeId": "integer",
  "AuditId": "integer",
  "Name": "string",
  "Description": "string",
  "SponsorBenefitId": "string",
  "MaxQuantity": "integer",
  "LengthInMonths": "string",
  "SaleableItem": "string"
}

POST /api/sponsorships/types/{sponsorshiptypeid}

sponsorshiptypeid: integer
in path

(no description)

Request Example
{
  "SponsorshipTypeId": "integer",
  "AuditId": "integer",
  "Name": "string",
  "Description": "string",
  "SponsorBenefitId": "string",
  "MaxQuantity": "integer",
  "LengthInMonths": "string",
  "SaleableItem": "string"
}
Response Example (200 OK)
{
  "SponsorshipTypeId": "integer",
  "SponsorshipLevel": "string",
  "BenefitPackage": "string",
  "Price": "number",
  "TotalQuantity": "integer",
  "CurrentlyActive": "boolean"
}

DELETE /api/sponsorships/types/{sponsorshiptypeid}/{auditid}

sponsorshiptypeid: integer
in path

(no description)

auditid: integer
in path

(no description)

200 OK

OK

GET /api/sponsorships/types/lookup

200 OK

OK

type
Response Example (200 OK)
[
  {
    "Expression": "string",
    "ElementType": "string",
    "Provider": "string"
  }
]

Schema Definitions

SponsorshipTypeListItem: object

SponsorshipTypeId: integer
SponsorshipLevel: string
BenefitPackage: string
Price: number
TotalQuantity: integer
CurrentlyActive: boolean
Example
{
  "SponsorshipTypeId": "integer",
  "SponsorshipLevel": "string",
  "BenefitPackage": "string",
  "Price": "number",
  "TotalQuantity": "integer",
  "CurrentlyActive": "boolean"
}

SponsorshipTypeAddEditModel: object

SponsorshipTypeId: integer
AuditId: integer
Name: string
Description: string
SponsorBenefitId: string
MaxQuantity: integer
LengthInMonths: string
SaleableItem: string
Example
{
  "SponsorshipTypeId": "integer",
  "AuditId": "integer",
  "Name": "string",
  "Description": "string",
  "SponsorBenefitId": "string",
  "MaxQuantity": "integer",
  "LengthInMonths": "string",
  "SaleableItem": "string"
}

Object: object

Example
"object"

IQueryable: object

Expression: string
ElementType: string
Provider: string
Example
{
  "Expression": "string",
  "ElementType": "string",
  "Provider": "string"
}

ListViewReturnModel<SponsorshipListItem>: 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"
}

SponsorsAdvancedFilter: object

Top: string
Take: string
Skip: string
Filter: string
OrderBy: string
CalendarStartDate: string
CalendarEndDate: string
TenantId: integer
SponsorId: string
Criteria: string
Example
{
  "Top": "string",
  "Take": "string",
  "Skip": "string",
  "Filter": "string",
  "OrderBy": "string",
  "CalendarStartDate": "string",
  "CalendarEndDate": "string",
  "TenantId": "integer",
  "SponsorId": "string",
  "Criteria": "string"
}

SponsorAddEditModel: object

SponsorId: integer
AuditId: integer
ContactId: integer
Contact: string
SponsorshipTypeId: integer
Price: string
StartDate: string
EndDate: string
Example
{
  "SponsorId": "integer",
  "AuditId": "integer",
  "ContactId": "integer",
  "Contact": "string",
  "SponsorshipTypeId": "integer",
  "Price": "string",
  "StartDate": "string",
  "EndDate": "string"
}

SponsorshipListItem: object

SponsorId: integer
SponsorName: string
Level: string
StartDate: string
EndDate: string
Price: number
TotalRecordAvailable: integer
Actions: string
Example
{
  "SponsorId": "integer",
  "SponsorName": "string",
  "Level": "string",
  "StartDate": "string",
  "EndDate": "string",
  "Price": "number",
  "TotalRecordAvailable": "integer",
  "Actions": "string"
}

SponsorBannersModel: object

SponsorId: integer
Banners: string
Example
{
  "SponsorId": "integer",
  "Banners": "string"
}

ListViewReturnModel<DisplayAdsCollectionItemModel>: 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"
}

DisplayAdsAdvancedFilter: object

Top: string
Take: string
Skip: string
Filter: string
OrderBy: string
CalendarStartDate: string
CalendarEndDate: string
TenantId: integer
Active: boolean
ExpiredWithinTheLastTwoWeeks: boolean
AllExpired: boolean
Criteria: string
Example
{
  "Top": "string",
  "Take": "string",
  "Skip": "string",
  "Filter": "string",
  "OrderBy": "string",
  "CalendarStartDate": "string",
  "CalendarEndDate": "string",
  "TenantId": "integer",
  "Active": "boolean",
  "ExpiredWithinTheLastTwoWeeks": "boolean",
  "AllExpired": "boolean",
  "Criteria": "string"
}

AddEditDisplayAdModel: object

AdId: integer
AuditId: integer
ContactId: string
ContactName: string
Title: string
StartDate: string
EndDate: string
DestinationUrl: string
OpenInNewWindow: boolean
AdAreaId: string
Width: integer
Height: integer
BannerImage: string
Placements: string
Example
{
  "AdId": "integer",
  "AuditId": "integer",
  "ContactId": "string",
  "ContactName": "string",
  "Title": "string",
  "StartDate": "string",
  "EndDate": "string",
  "DestinationUrl": "string",
  "OpenInNewWindow": "boolean",
  "AdAreaId": "string",
  "Width": "integer",
  "Height": "integer",
  "BannerImage": "string",
  "Placements": "string"
}

DisplayAdsCollectionItemModel: object

AdId: integer
Contact: string
Description: string
IsActive: boolean
EndDate: string
ActivePlacements: integer
TotalRecordAvailable: integer
TotalPlacements: integer
Example
{
  "AdId": "integer",
  "Contact": "string",
  "Description": "string",
  "IsActive": "boolean",
  "EndDate": "string",
  "ActivePlacements": "integer",
  "TotalRecordAvailable": "integer",
  "TotalPlacements": "integer"
}

ListViewReturnModel<AdLocationsCollectionModel>: 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"
}

AdLocationsAdvanceFilter: object

Top: string
Take: string
Skip: string
Filter: string
OrderBy: string
CalendarStartDate: string
CalendarEndDate: string
TenantId: integer
Criteria: string
HasAdsAssigned: boolean
Type: string
DomainId: string
Example
{
  "Top": "string",
  "Take": "string",
  "Skip": "string",
  "Filter": "string",
  "OrderBy": "string",
  "CalendarStartDate": "string",
  "CalendarEndDate": "string",
  "TenantId": "integer",
  "Criteria": "string",
  "HasAdsAssigned": "boolean",
  "Type": "string",
  "DomainId": "string"
}

GenericLookUpChoice<Int32>: object

Id: integer
Name: string
ExtraData: string
CssColor: string
IsSelected: boolean
IsDeleted: boolean
Order: integer
Example
{
  "Id": "integer",
  "Name": "string",
  "ExtraData": "string",
  "CssColor": "string",
  "IsSelected": "boolean",
  "IsDeleted": "boolean",
  "Order": "integer"
}

AdLocationAdPlacementViewModel: object

SiteId: integer
SitePageId: integer
PositionTypeId: string
AdvertisingTypeId: string
Example
{
  "SiteId": "integer",
  "SitePageId": "integer",
  "PositionTypeId": "string",
  "AdvertisingTypeId": "string"
}

AdLocationsCollectionModel: object

SitePageId: integer
DomainId: string
SiteId: integer
Domain: string
Type: string
Title: string
RelativePath: string
TotalRecordAvailable: integer
TopOfPageAd: string
BottomOfPageAd: string
Example
{
  "SitePageId": "integer",
  "DomainId": "string",
  "SiteId": "integer",
  "Domain": "string",
  "Type": "string",
  "Title": "string",
  "RelativePath": "string",
  "TotalRecordAvailable": "integer",
  "TopOfPageAd": "string",
  "BottomOfPageAd": "string"
}

SitePagesAndCustomPages: object

Id: string
Name: string
ExtraData: string
CssColor: string
IsSelected: boolean
IsDeleted: boolean
Order: integer
SiteModuleTypeId: string
Example
{
  "Id": "string",
  "Name": "string",
  "ExtraData": "string",
  "CssColor": "string",
  "IsSelected": "boolean",
  "IsDeleted": "boolean",
  "Order": "integer",
  "SiteModuleTypeId": "string"
}

CustomAdLocationItemModel: object

CustomAdLocationId: integer
Name: string
Actions: string
Example
{
  "CustomAdLocationId": "integer",
  "Name": "string",
  "Actions": "string"
}

AddEditCustomAdLocationViewModel: object

CustomAdLocationId: integer
Name: string
Example
{
  "CustomAdLocationId": "integer",
  "Name": "string"
}

Boolean: object

Example
"object"