Class PowerFormsApi


  • public class PowerFormsApi
    extends Object
    • Constructor Detail

      • PowerFormsApi

        public PowerFormsApi()
      • PowerFormsApi

        public PowerFormsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • createPowerForm

        public PowerForm createPowerForm​(String accountId,
                                         PowerForm powerForm)
                                  throws ApiException
        Creates a new PowerForm.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        powerForm - (optional)
        Returns:
        PowerForm
        Throws:
        ApiException - if fails to make API call
      • deletePowerForm

        public void deletePowerForm​(String accountId,
                                    String powerFormId)
                             throws ApiException
        Delete a PowerForm.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        powerFormId - (required)
        Throws:
        ApiException - if fails to make API call
      • deletePowerForms

        public PowerFormsResponse deletePowerForms​(String accountId,
                                                   PowerFormsRequest powerFormsRequest)
                                            throws ApiException
        Deletes one or more PowerForms
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        powerFormsRequest - (optional)
        Returns:
        PowerFormsResponse
        Throws:
        ApiException - if fails to make API call
      • getPowerForm

        public PowerForm getPowerForm​(String accountId,
                                      String powerFormId)
                               throws ApiException
        Returns a single PowerForm.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        powerFormId - (required)
        Returns:
        PowerForm
        Throws:
        ApiException - if fails to make API call
      • getPowerFormData

        public PowerFormsFormDataResponse getPowerFormData​(String accountId,
                                                           String powerFormId)
                                                    throws ApiException
        Returns the form data associated with the usage of a PowerForm.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        powerFormId - (required)
        Returns:
        PowerFormsFormDataResponse
        Throws:
        ApiException
      • listPowerFormSenders

        public PowerFormSendersResponse listPowerFormSenders​(String accountId)
                                                      throws ApiException
        Returns the list of PowerForms available to the user.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        Returns:
        PowerFormSendersResponse
        Throws:
        ApiException
      • listPowerForms

        public PowerFormsResponse listPowerForms​(String accountId)
                                          throws ApiException
        Returns the list of PowerForms available to the user.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        Returns:
        PowerFormsResponse
        Throws:
        ApiException
      • updatePowerForm

        public PowerForm updatePowerForm​(String accountId,
                                         String powerFormId,
                                         PowerForm powerForm)
                                  throws ApiException
        Creates a new PowerForm.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        powerFormId - (required)
        powerForm - (optional)
        Returns:
        PowerForm
        Throws:
        ApiException - if fails to make API call