ACM Replacement
ACM Replacement is technically a 4 step process that is done using 'ACMService' datatype in VDW and calling API:
- Deactivate old ACM using serial number.
- Get 'id'.
- Get Status using 'id' from Deactivation. Loop this step until completed or deactivation is confirmed.
- Activate the new ACM using serial number.
- Get 'id'.
- Get Status using id from Activation. Loop this step until completed or activation is confirmed.
Deactivating an ACM
This is done in VDW using DataType 'ACMService' and CallMethod 'DeactivateACM'. This shall post deactivation in the API for a certain ACM serial number.
Required: ACM Serial Number
Input Paramters:. ACMSerialNumber (string)
Output Parameters:
- SerialNumber (string)
- Id (integer)
- Created (datetime)
- Updated (datetime)
- currentStepnumber (integer)
- currentStepName (string)
- isComplete (boolean)
- hasError (boolean)
- Error (string)
- Result (boolean)
If successful will show a Result of 'True'.
If failed will show a Result of 'False'.
ACM Get Status
Content Author can call device activation and deactivation status using the API from VDW. This is done using DataType called 'ACMService' and CallMethod called 'GetActivationStatus'.
Required: 'id' Input Parameters: 'id' (String)This is a GUID generated for an activated/deactivated ACM by the API.
Output Parameters:
- SerialNumber (string)
- id (integer)
- Created (datetime)
- Updated (datetime)
- currentStepnumber (integer)
- currentStepName (string)
- isComplete (boolean)
- hasError (boolean)
- Error (string)
- Result (boolean)
This step is to kept on loop until the device activation/deactivation status is confirmed.
If successful will show a Result of 'True'.
If failed will show a Result of 'False'.
Activate ACM
Content Author can activate a device using the API from VDW. This is done using DataType called 'ACMService' and CallMethod called 'ActivateACM'.
Required:ACM Serial Number and Country Code. Input Parameters:
- ACMSerialNumber (string)
- CountryCode (string)
Output Parameters:
- SerialNumber (string)
- Id (string)
- Created (datetime)
- Updated (datetime)
- currentStepnumber (integer)
- currentStepName (string)
- isComplete (boolean)
- hasError (boolean)
- Error (string)
- Result (boolean)
If successful will show a Result of 'True'.
If failed will show a Result of 'False'.