/// <summary> /// Operation: Pickup Call /// HTTP Method: POST /// Endpoint: /restapi/v1.0/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/pickup /// Rate Limit Group: Light /// App Permission: CallControl /// User Permission: undefined /// </summary> public async Task <RingCentral.CallParty> Post(RingCentral.PickupTarget pickupTarget, RestRequestConfig restRequestConfig = null) { return(await rc.Post <RingCentral.CallParty>(this.Path(), pickupTarget, null, restRequestConfig)); }
/// <summary> /// Operation: Pickup Call /// HTTP Method: POST /// Endpoint: /restapi/v1.0/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/pickup /// Rate Limit Group: Light /// App Permission: CallControl /// User Permission: undefined /// </summary> public async Task <RingCentral.CallParty> Post(RingCentral.PickupTarget pickupTarget, CancellationToken?cancellationToken = null) { return(await rc.Post <RingCentral.CallParty>(this.Path(), pickupTarget, null, cancellationToken)); }
/// <summary> /// Operation: Pickup Call /// Http Post /restapi/v1.0/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/pickup /// </summary> public async Task <RingCentral.CallParty> Post(RingCentral.PickupTarget pickupTarget) { return(await rc.Post <RingCentral.CallParty>(this.Path(), pickupTarget)); }