GET/partners/customers/{domainId}/option-product-orders

Gets scheduled tasks for options.

Authorization

oauth2

OAuth 2.0 authentication. For more information, see Authentication and Authorization.

Scope

partner
partner.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/partners/customers/{domainId}/option-product-orders

Path Parameters

ParameterTypeDescription
domainId integer 

Domain ID


required
example : 10000001 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
optionProductOrders array (OptionProductOrders) 

The partner can add, update and delete options of its customers on a scheduled date.

 

OptionProductOrders

PropertyTypeDescription
subscriptionId integer 

Subscription ID

  • It is null if an option is scheduled to be added after a subscription.
  • It is the subscriptionId if an option is scheduled to be added for the subscription currently in use.
 
optionProductId string 

Option ID

  • LINE WORKS options
    • ACV2: Archive (Talk)
    • DRV: Drive
    • SSTG2: Shared Storage
    • BCT: Extend contacts

required
Allowed values : ACV2, DRV, SSTG2, BCT 
subOptionId string 

Sub option ID

  • LINE WORKS options
    • If the option ID is ACV2
      • ACV200: Archive (Talk) Trial
      • ACV201: Archive (Talk)
    • If the option ID is DRV
      • DRV00: Drive Trial (for STD)
      • DRV01: Drive (for STD)
      • DRV_PS_T: Drive Plus Trial (for STD)
      • DRV_PS: Drive Plus (for STD)
      • DRV_PA_T: Drive Plus Trial (for ADV)
      • DRV_PA: Drive Plus (for ADV)
    • If the option ID is SSTG2
      • SSTG201: Shared Storage (1 TB)
      • SSTG202: Shared Storage (5 TB)
      • SSTG203: Shared Storage (10 TB)
      • SSTG204: Shared Storage (25 TB)
      • SSTG205: Shared Storage (50 TB)
      • SSTG206: Shared Storage (100 TB)
      • SSTG207: Shared Storage (500 TB)
    • If the option ID is BCT
      • BCT01: Extend contacts (up to 250,000 contacts)
      • BCT02: Extend contacts (up to 500,000 contacts)
      • BCT03: Extend contacts (up to 1,500,000 contacts)
      • BCT04: Extend contacts (up to 5,000,000 contacts)

required
Allowed values : ACV200, ACV201, DRV00, DRV01, DRV_PS_T, DRV_PS, DRV_PA_T, DRV_PA, SSTG201, SSTG202, SSTG203, SSTG204, SSTG205, SSTG206, SSTG207, BCT01, BCT02, BCT03, BCT04 
type string 

Scheduled task type

  • APPLY: Apply for an option
  • START_PAID_SERVICE: Convert an option to paid
  • CHANGE_QUANTITY: Update the quantity of an option
  • CANCEL: Cancel an option

required
Allowed values : APPLY, START_PAID_SERVICE, CHANGE_QUANTITY, CANCEL 
quantity integer 

Quantity

  • It is 1 if optionProductId is SSTG2 or BCT.
  • It is null if not.

readOnly : true
nullable : true 
applyDate string 

Scheduled date


required
format : date 

Response Example

example

1{2  "optionProductOrders": [3    {4      "subscriptionId": 0,5      "optionProductId": "ACV2",6      "subOptionId": "ACV201",7      "type": "APPLY",8      "quantity": null,9      "applyDate": "2021-11-01"10    },11    {12      "subscriptionId": 0,13      "optionProductId": "SSTG2",14      "subOptionId": "SSTG202",15      "type": "APPLY",16      "quantity": null,17      "applyDate": "2021-11-01"18    }19  ]20}