PATCH | /sessions/{sessionId}/conference/members/{callSid} |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
/**
* Sets the conference member's hold and or mute status.
*/
@Api(Description="Sets the conference member's hold and or mute status.")
open class UpdateConferenceMemberStatus
{
/**
* The ID of the active session
*/
@ApiMember(Description="The ID of the active session")
var sessionId:String? = null
/**
* 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")
var callSid:String? = null
/**
* Hold?
*/
@ApiMember(Description="Hold?")
var hold:Boolean? = null
/**
* Mute?
*/
@ApiMember(Description="Mute?")
var mute:Boolean? = null
}
Kotlin UpdateConferenceMemberStatus DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
sessionId: String,
callSid: String,
hold: False,
mute: False
}