Evo Voice

<back to all web services

UpdateConferenceMemberStatus

Sets the conference member's hold and or mute status.

Requires Authentication
The following routes are available for this service:
PATCH/sessions/{sessionId}/conference/members/{callSid}
import Foundation
import ServiceStack

/**
* Sets the conference member's hold and or mute status.
*/
// @Api(Description="Sets the conference member's hold and or mute status.")
public class UpdateConferenceMemberStatus : Codable
{
    /**
    * The ID of the active session
    */
    // @ApiMember(Description="The ID of the active session")
    public var sessionId:String?

    /**
    * The sid of the active call that is on the voice device
    */
    // @ApiMember(Description="The sid of the active call that is on the voice device")
    public var callSid:String?

    /**
    * Hold?
    */
    // @ApiMember(Description="Hold?")
    public var hold:Bool?

    /**
    * Mute?
    */
    // @ApiMember(Description="Mute?")
    public var mute:Bool?

    required public init(){}
}


Swift UpdateConferenceMemberStatus DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /sessions/{sessionId}/conference/members/{callSid} HTTP/1.1 
Host: evovoice.io 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateConferenceMemberStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Sessions">
  <CallSid>String</CallSid>
  <Hold>false</Hold>
  <Mute>false</Mute>
  <SessionId>String</SessionId>
</UpdateConferenceMemberStatus>