code: public ApiSuccessResponse asyncPutOnHold(String id, PutOnHoldData putOnHoldData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = asyncPutOnHoldWithHttpInfo(id, putOnHoldData);
          return resp.getData();
      }
docs: Put the interaction chat on hold
  Put the interaction chat on hold.
  @param id The ID of the interaction. (required)
  @param putOnHoldData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body