/// <summary> /// Operation: Get Call Session Status /// Http Get /restapi/v1.0/account/{accountId}/telephony/sessions/{telephonySessionId} /// </summary> public async Task <RingCentral.CallSession> Get(ReadCallSessionStatusParameters queryParams = null) { if (this.telephonySessionId == null) { throw new System.ArgumentNullException("telephonySessionId"); } return(await rc.Get <RingCentral.CallSession>(this.Path(), queryParams)); }
/// <summary> /// Returns the status of a call session by ID. /// HTTP Method: get /// Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId} /// Rate Limit Group: Light /// App Permission: CallControl /// </summary> public async Task <CallSessionObject> Get(ReadCallSessionStatusParameters queryParams = null, RestRequestConfig restRequestConfig = null) { if (telephonySessionId == null) { throw new ArgumentException("Parameter cannot be null", nameof(telephonySessionId)); } return(await rc.Get <CallSessionObject>(Path(), queryParams, restRequestConfig)); }
/// <summary> /// Returns the status of a call session by ID. /// HTTP Method: get /// Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId} /// Rate Limit Group: Light /// App Permission: CallControl /// </summary> public async Task <CallSession> Get(ReadCallSessionStatusParameters queryParams = null, RestRequestConfig restRequestConfig = null) { return(await rc.Get <CallSession>(Path(), queryParams, restRequestConfig)); }