POST/partners/customers/{domainId}/subscriptions/{subscriptionId}/reservation
Adds a scheduled task for a subscription. You can add only one of the following scheduled subscriptions: Start a paid subscription (type: START_PAID_SERVICE), Add licenses (type: ADD_LICENSE), or Cancel a subscription (** type: CANCEL**).
OAuth 2.0 authentication. For more information, see Authentication and Authorization.
partner
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required example : 10000001 |
| subscriptionId | string | Subscription ID required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| type | string | Scheduled subscription type
required Allowed values : CANCEL, START_PAID_SERVICE, ADD_LICENSE |
| applyDate | string | Scheduled date
required |
| licenseCount | integer | Number of licenses
maximum : 1000000 |
| plan | Plan
Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE | |
| productId | Plan ID
Allowed values : STD, ADV |
Schedule paid plan conversion from LINE WORKS Free to Advanced monthly contract postpay on 2021-11-01 (available only using a domain)
1{2 "type": "START_PAID_SERVICE",3 "applyDate": "2021-11-01",4 "plan": "MONTHLY",5 "productId": "ADV"6}Schedule the addition of 100 licenses on 2021-08-11
1{2 "type": "ADD_LICENSE",3 "applyDate": "2021-08-11",4 "licenseCount": 1005}Schedule the cancellation of the current subscription on 2021-11-01
1{2 "type": "CANCEL",3 "applyDate": "2021-11-01"4}OK
| Property | Type | Description |
|---|---|---|
| subscriptionId | integer | Subscription ID required |
| type | string | Scheduled subscription type
required Allowed values : CANCEL, START_PAID_SERVICE, ADD_LICENSE |
| applyDate | string | Scheduled date required format : date |
| plan | string | Paid contract type
Applicable contract types by plan group
Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| productId | string | Paid plan ID
Allowed values : STD, ADV |
| licenseCount | integer |
|