GET/partners/customers/{domainId}/subscriptions/{subscriptionId}
Gets an active subscription.
OAuth 2.0 authentication. For more information, see Authentication and Authorization.
partner
partner.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required example : 10000001 |
| subscriptionId | string | Subscription ID required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required readOnly : true |
| subscriptionId | integer | Subscription ID required |
| productId | string |
required Allowed values : STD_T, ADV_T, STD, ADV |
| plan | string | Contract type
Applicable contract types by plan group
required Allowed values : TRIAL, MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| planStartDate | string | Start date required format : date readOnly : true |
| planEndDate | string | End date
format : date readOnly : true nullable : true |
| licenseAssignType | string | License assignment type
|
| licenseCount | integer | Number of licenses nullable : true |
| status | string | Subscription status
required Allowed values : ACTIVE, SUSPENDED_TRIALEND |
| renewal | object (renewal) | This model specifies renewal of a paid subscription. Use the type property to choose whether to renew the subscription with the current conditions or to change them. It is also possible to reduce the number of licenses upon renewal. |
| Property | Type | Description |
|---|---|---|
| subscriptionId | integer | Subscription ID required |
| type | string | Subscription renewal type
required Allowed values : STAY, CHANGE, CANCEL |
| productId | string | Paid plan ID
Allowed values : STD, ADV |
| plan | string | Paid contract type
Applicable contract types by plan group
Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | Number of licenses to apply at the time of renewal maximum : 1000000 |
example
1{2 "domainId": 10000001,3 "subscriptionId": 12345,4 "productId": "STD",5 "plan": "MONTHLY",6 "planStartDate": "2021-11-01",7 "planEndDate": "2021-11-30",8 "memberCount": 100,9 "maxMemberCount": 100,10 "status": "ACTIVE",11 "renewal": {12 "subscriptionId": 12345,13 "type": "STAY",14 "productId": "STD",15 "plan": "MONTHLY",16 "maxMemberCount": 10017 }18}