Interface IHardwareIdPromaApi


public interface IHardwareIdPromaApi
API for interacting with hardware ID resources via PROMA (product manager).
Author:
XIMA MEDIA GmbH
  • Method Details

    • swapHardwareId

      <R> StageChain<IPromaResponse<Void>,R> swapHardwareId(IPublicPromaInvocationContext pc, String oldHardwareId, de.xima.proma.restclient.pub.gen.model.PublicHardwareIdResource newHardwareId)
      This method is a post request which swaps the hardware ID of a license.
      Parameters:
      pc - Context for accessing the PROMA APIs.
      oldHardwareId - The current hardware ID of the license.
      newHardwareId - The new hardware ID with which to replace the old one.
      Returns:
      The status code of the http request
    • getHardwareIdsByLicense

      <R> StageChain<IPromaResponse<de.xima.proma.restclient.pub.gen.model.PublicHardwareIdList>,R> getHardwareIdsByLicense(IPublicPromaInvocationContext pc, String licenseKey, String versionUuid)
      This method returns a list of all hardware IDs for an license version.
      Parameters:
      pc - Context for accessing the PROMA APIs.
      licenseKey - the key of the product license for fetching
      versionUuid - the license version for fetching
      Returns:
      A list of all hardware IDs