SubscriptionStatusUpdate_API

Description

Parameters

Passed

Returned

This method sets a selected subscription's statuses to specified values.

If you pass NULL for some status it is remained unchanged.

To pass NULL, use '-2147483648' value.

3 1

Syntax

Copy
ErrorMessage BM::SubscriptionStatusUpdate_API(

  Int SubscriptionID;

  Int Status;

  Int ServStatus.

)

returns

Copy
Str ErrorMessage – message after subscription statuses has been updated: "Operation done."

Special Notes

  • Int SubscriptionID – subscription ID;
  • Int Status – subscription status (10 – Ordered, 15 – Trial, 30 – Active, 40 – Graced, 50 – Expired, 60 – Terminated, 70 – Canceled);
  • Int ServStatus – subscription service status (10 – Not Provisioned, 20 – Provisioning, 30 – Stopped, 40 – Starting, 50 – Running, 60 – Stopping, 70 – Removing, 80 – Changing Plan, 90 – Removed).