/// <summary> /// Returns individual call log record(s) by ID(s). Batch request is supported. /// HTTP Method: get /// Endpoint: /restapi/{apiVersion}/account/{accountId}/call-log/{callRecordId} /// Rate Limit Group: Heavy /// App Permission: ReadCallLog /// User Permission: FullCompanyCallLog /// </summary> public async Task <CompanyCallLogRecord> Get(ReadCompanyCallRecordParameters queryParams = null, RestRequestConfig restRequestConfig = null) { if (callRecordId == null) { throw new ArgumentException("Parameter cannot be null", nameof(callRecordId)); } return(await rc.Get <CompanyCallLogRecord>(Path(), queryParams, restRequestConfig)); }
/// <summary> /// Operation: Get Company Call Log Record(s) /// Http Get /restapi/v1.0/account/{accountId}/call-log/{callRecordId} /// </summary> public async Task <RingCentral.CompanyCallLogRecord> Get(ReadCompanyCallRecordParameters queryParams = null) { if (this.callRecordId == null) { throw new System.ArgumentNullException("callRecordId"); } return(await rc.Get <RingCentral.CompanyCallLogRecord>(this.Path(), queryParams)); }
public async Task <BatchResponse <RingCentral.CompanyCallLogRecord>[]> BatchGet( ReadCompanyCallRecordParameters queryParams = null, RestRequestConfig restRequestConfig = null) { if (!this.Path().Contains(",")) { throw new System.ArgumentException( "In order to make a BatchGet, please specify multiple IDs delimited by ','"); } return(await rc.BatchGet <RingCentral.CompanyCallLogRecord>(this.Path(), queryParams, restRequestConfig)); }
/// <summary> /// Returns individual call log record(s) by ID(s). Batch request is supported. /// HTTP Method: get /// Endpoint: /restapi/{apiVersion}/account/{accountId}/call-log/{callRecordId} /// Rate Limit Group: Heavy /// App Permission: ReadCallLog /// User Permission: FullCompanyCallLog /// </summary> public async Task <CompanyCallLogRecord> Get(ReadCompanyCallRecordParameters queryParams = null, RestRequestConfig restRequestConfig = null) { return(await rc.Get <CompanyCallLogRecord>(Path(), queryParams, restRequestConfig)); }