179 lines
3.7 KiB
Markdown
179 lines
3.7 KiB
Markdown
getSubscriptionTypes
|
|
{
|
|
"userId": "00558000001GxG4AAK",
|
|
"masq": true,
|
|
"accountCode": "A-0000085"
|
|
}
|
|
|
|
|
|
getSubscriptionTypes Results:
|
|
[
|
|
{
|
|
"allowances": [
|
|
{
|
|
"maxAge": 24,
|
|
"minAge": 0,
|
|
"name": "Five Children",
|
|
"numAvailable": 5
|
|
},
|
|
{
|
|
"maxAge": 100,
|
|
"minAge": 25,
|
|
"name": "Two Parents",
|
|
"numAvailable": 2
|
|
}
|
|
],
|
|
"code": "SUB-000006",
|
|
"description": "Adult Family. 2 Adult, 5 Child, 2 Dry 1 Wet Gratis",
|
|
"duration": 1,
|
|
"name": "Adult Family",
|
|
"programMap": [
|
|
{
|
|
"free": true,
|
|
"limitFactor": "Per Membership",
|
|
"maxRegistrations": 1,
|
|
"name": "One Wet",
|
|
"programFamily": "Program Wet",
|
|
"unlimited": false
|
|
},
|
|
{
|
|
"free": true,
|
|
"name": "Drop In",
|
|
"programFamily": "Drop In",
|
|
"unlimited": true
|
|
},
|
|
{
|
|
"free": true,
|
|
"limitFactor": "Per Membership",
|
|
"maxRegistrations": 2,
|
|
"name": "Two Dry",
|
|
"programFamily": "Program Dry",
|
|
"unlimited": false
|
|
}
|
|
],
|
|
"unit": "Year"
|
|
},
|
|
{
|
|
"allowances": [
|
|
{
|
|
"maxAge": 99,
|
|
"minAge": 16,
|
|
"name": "SPECIAL SUBSCRIPTION_ALLOWANCE UNIQUE NAME",
|
|
"numAvailable": 1
|
|
}
|
|
],
|
|
"code": "SUB-000005",
|
|
"duration": 1,
|
|
"name": "Test",
|
|
"programMap": [
|
|
{
|
|
"free": true,
|
|
"limitFactor": "Per Membership-Session",
|
|
"maxRegistrations": 2,
|
|
"name": "SPECIAL SUBSCRIPTIONMAP UNIQUE NAME",
|
|
"programFamily": "SPECIAL PRODUCT_FAMILY UNIQUE NAME",
|
|
"unlimited": false
|
|
},
|
|
{
|
|
"free": true,
|
|
"limitFactor": "Per Membership-Session",
|
|
"maxRegistrations": 1,
|
|
"name": "SubscriptionTest",
|
|
"programFamily": "Test",
|
|
"unlimited": false
|
|
}
|
|
],
|
|
"unit": "Year"
|
|
},
|
|
{
|
|
"allowances": [
|
|
{
|
|
"maxAge": 99,
|
|
"minAge": 16,
|
|
"name": "Test",
|
|
"numAvailable": 1
|
|
}
|
|
],
|
|
"code": "SUB-000001",
|
|
"duration": 1,
|
|
"name": "Test",
|
|
"programMap": [],
|
|
"unit": "Year"
|
|
}
|
|
]
|
|
|
|
getRegistrationInfo
|
|
{
|
|
"userId": "00558000001GxG4AAK",
|
|
"masq": true,
|
|
"accountCode": "A-0000085"
|
|
}
|
|
|
|
getRegistrationInfo Results:
|
|
[
|
|
{
|
|
"application": {
|
|
"code": "APL-000101",
|
|
"name": "Subscription Test Application",
|
|
"responses": [],
|
|
"status": "New",
|
|
"type": "Program"
|
|
},
|
|
"code": "R-000017",
|
|
"instanceCode": "INST-000011",
|
|
"instanceName": "Judo_1",
|
|
"name": "Subscription Test Registration",
|
|
"programCode": "PROG-000046",
|
|
"programFamily": "Program Dry",
|
|
"programName": "Judo",
|
|
"registrant": "Test Subscriptions",
|
|
"registrantCode": "C-000052",
|
|
"waitlist": false
|
|
}
|
|
]
|
|
|
|
getMembershipInfo
|
|
00558000001GxG4AAK, A-0000085, <a href="mailto:subscription@techshare.ca" rel="noopener" class="external-link" target="_blank" style="color:#dca0dff;">subscription@techshare.ca</a>, !QAZ2wsx
|
|
|
|
*getMembershipInfo Results*
|
|
[
|
|
{
|
|
"accountCode": "A-0000085",
|
|
"applicationCode": "APL-000100",
|
|
"assigned": true,
|
|
"code": "MEM-000011",
|
|
"contactCode": "C-000052",
|
|
"endDate": 1499126400000,
|
|
"name": "Adult Family Example Membership",
|
|
"startDate": 1467590400000,
|
|
"subscription": {
|
|
"allowances": [],
|
|
"code": "SUB-000006",
|
|
"description": "Adult Family. 2 Adult, 5 Child, 2 Dry 1 Wet Gratis",
|
|
"name": "Adult Family",
|
|
"programMap": []
|
|
}
|
|
}
|
|
]
|
|
|
|
GetApplicationInfo
|
|
{"userId": "00558000001FFPo", "masq": true, "accountCode":"A-0000022", "applicationCode": "APL-000085"}
|
|
|
|
getApplicationInfo Results:
|
|
[
|
|
{
|
|
"code": "APL-000085",
|
|
"name": "Program Registration Application 2016-06-29 03:25:48",
|
|
"responses": [
|
|
{
|
|
"code": "PR-000087",
|
|
"name": "APR-000086",
|
|
"promptCode": "Q-000008",
|
|
"promptGroupCode": "QG-000008",
|
|
"response": "Group Code Test"
|
|
}
|
|
],
|
|
"status": "New",
|
|
"type": "Program"
|
|
}
|
|
] |