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)
200 OK
OK
Response Example (200 OK)
{
"BenefitPackageId": "integer",
"Name": "string",
"Description": "string",
"ActiveDates": "string",
"BenefitItems": "string",
"ForceSave": "boolean"
}
POST /api/benefitpackages/{benefitpackageid}
undefined
benefitpackageid:
integer
in path
(no description)
Request Example
{
"BenefitPackageId": "integer",
"Name": "string",
"Description": "string",
"ActiveDates": "string",
"BenefitItems": "string",
"ForceSave": "boolean"
}
OK
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)
OK
Response Example (200 OK)
{
"BenefitPackageId": "integer",
"AssignmentItem": "string"
}
GET /api/benefitpackages/copy/{benefitpackageid}
benefitpackageid:
integer
in path
(no description)
200 OK
OK
Response Example (200 OK)
{
"BenefitPackageId": "integer",
"Name": "string",
"Description": "string",
"ActiveDates": "string",
"BenefitItems": "string",
"ForceSave": "boolean",
"InactiveBenefitItems": "string"
}
POST /api/benefitpackages/copy/{benefitpackageid}
undefined
benefitpackageid:
integer
in path
(no description)
Request Example
{
"BenefitPackageId": "integer",
"Name": "string",
"Description": "string",
"ActiveDates": "string",
"BenefitItems": "string",
"ForceSave": "boolean",
"InactiveBenefitItems": "string"
}
OK
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"
}
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"
}