code: public void retrieveCall(
              String connId,
              KeyValueCollection reasons,
              KeyValueCollection extensions
      ) throws WorkspaceApiException {
          try {
              VoicecallsidanswerData retrieveData = new VoicecallsidanswerData();
              retrieveData.setReasons(Util.toKVList(reasons));
              retrieveData.setExtensions(Util.toKVList(extensions));
              RetrieveData data = new RetrieveData();
              data.data(retrieveData);
  
              ApiSuccessResponse response = this.voiceApi.retrieve(connId, data);
              throwIfNotOk("retrieveCall", response);
  
          } catch (ApiException e) {
              throw new WorkspaceApiException("retrieveCall failed.", e);
          }
      }
docs: Retrieve the specified call from hold.
  @param connId The connection ID of the call.
  @param reasons Information on causes for, and results of, actions taken by the user of the current DN. For details about reasons, refer to the [*Genesys Events and Models Reference Manual*](https://docs.genesys.com/Documentation/System/Current/GenEM/Reasons). (optional)
  @param extensions Media device/hardware reason codes and similar information. For details about extensions, refer to the [*Genesys Events and Models Reference Manual*](https://docs.genesys.com/Documentation/System/Current/GenEM/Extensions). (optional)