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/benefitpackages

options: string
in query

(no description)

Response Example (200 OK)
[
  {
    "BenefitPackageId": "integer",
    "Id": "integer",
    "Name": "string",
    "Description": "string",
    "ActivePeriodStart": "string",
    "ActivePeriodEnd": "string",
    "Assignments": "integer",
    "Actions": "string"
  }
]

GET /api/benefitpackages/{benefitpackageid}

benefitpackageid: integer
in path

(no description)

Response Example (200 OK)
{
  "BenefitPackageId": "integer",
  "Name": "string",
  "Description": "string",
  "ActiveDates": "string",
  "BenefitItems": "string",
  "ForceSave": "boolean"
}

POST /api/benefitpackages/{benefitpackageid}

benefitpackageid: integer
in path

(no description)

Request Example
{
  "BenefitPackageId": "integer",
  "Name": "string",
  "Description": "string",
  "ActiveDates": "string",
  "BenefitItems": "string",
  "ForceSave": "boolean"
}
Response Example (200 OK)
{
  "BenefitPackageId": "integer",
  "Id": "integer",
  "Name": "string",
  "Description": "string",
  "ActivePeriodStart": "string",
  "ActivePeriodEnd": "string",
  "Assignments": "integer",
  "Actions": "string"
}

DELETE /api/benefitpackages/{benefitpackageid}

benefitpackageid: integer
in path

(no description)

200 OK

OK

GET /api/benefitpackages/{benefitpackageid}/assignmentlist

benefitpackageid: integer
in path

(no description)

Response Example (200 OK)
{
  "BenefitPackageId": "integer",
  "AssignmentItem": "string"
}

GET /api/benefitpackages/copy/{benefitpackageid}

benefitpackageid: integer
in path

(no description)

Response Example (200 OK)
{
  "BenefitPackageId": "integer",
  "Name": "string",
  "Description": "string",
  "ActiveDates": "string",
  "BenefitItems": "string",
  "ForceSave": "boolean",
  "InactiveBenefitItems": "string"
}

POST /api/benefitpackages/copy/{benefitpackageid}

benefitpackageid: integer
in path

(no description)

Request Example
{
  "BenefitPackageId": "integer",
  "Name": "string",
  "Description": "string",
  "ActiveDates": "string",
  "BenefitItems": "string",
  "ForceSave": "boolean",
  "InactiveBenefitItems": "string"
}
Response Example (200 OK)
{
  "BenefitPackageId": "integer",
  "Id": "integer",
  "Name": "string",
  "Description": "string",
  "ActivePeriodStart": "string",
  "ActivePeriodEnd": "string",
  "Assignments": "integer",
  "Actions": "string"
}

Schema Definitions

BenefitPackageCollectionItemModel: object

BenefitPackageId: integer
Id: integer
Name: string
Description: string
ActivePeriodStart: string
ActivePeriodEnd: string
Assignments: integer
Actions: string
Example
{
  "BenefitPackageId": "integer",
  "Id": "integer",
  "Name": "string",
  "Description": "string",
  "ActivePeriodStart": "string",
  "ActivePeriodEnd": "string",
  "Assignments": "integer",
  "Actions": "string"
}

BenefitPackageAddEditModel: object

BenefitPackageId: integer
Name: string
Description: string
ActiveDates: string
BenefitItems: string
ForceSave: boolean
Example
{
  "BenefitPackageId": "integer",
  "Name": "string",
  "Description": "string",
  "ActiveDates": "string",
  "BenefitItems": "string",
  "ForceSave": "boolean"
}

Object: object

Example
"object"

BenefitPackageCopyModel: object

BenefitPackageId: integer
Name: string
Description: string
ActiveDates: string
BenefitItems: string
ForceSave: boolean
InactiveBenefitItems: string
Example
{
  "BenefitPackageId": "integer",
  "Name": "string",
  "Description": "string",
  "ActiveDates": "string",
  "BenefitItems": "string",
  "ForceSave": "boolean",
  "InactiveBenefitItems": "string"
}

BenefitPackageAssignmentModel: object

BenefitPackageId: integer
AssignmentItem: string
Example
{
  "BenefitPackageId": "integer",
  "AssignmentItem": "string"
}