code: public ApiSuccessResponse startRecording(String id, StartRecordingBody startRecordingBody) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = startRecordingWithHttpInfo(id, startRecordingBody);
          return resp.getData();
      }
docs: Start recording a call
  Start recording the specified call. Recording stops when the call is completed or you send [/voice/calls/{id}/stop-recording](/reference/workspace/Voice/index.html#stopRecording) on either the call or the DN.
  @param id The connection ID of the call. (required)
  @param startRecordingBody Request parameters. (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body