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 .csv suffix or ?format=csv
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: team.evovoice.io
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"sessionId":"String","callSid":"String","hold":false,"mute":false}