PATCH | /sessions/{sessionId}/conference/members/{callSid} |
---|
import java.math.*
import java.util.*
import java.io.InputStream
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")
open 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")
open var callSid:String? = null
/**
* Hold?
*/
@ApiMember(Description="Hold?")
open var hold:Boolean? = null
/**
* Mute?
*/
@ApiMember(Description="Mute?")
open var mute:Boolean? = null
}
Kotlin UpdateConferenceMemberStatus DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"sessionId":"String","callSid":"String","hold":false,"mute":false}