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 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

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

    /**
    * 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")
    String? callSid;

    /**
    * Hold?
    */
    // @ApiMember(Description="Hold?")
    bool? hold;

    /**
    * Mute?
    */
    // @ApiMember(Description="Mute?")
    bool? mute;

    UpdateConferenceMemberStatus({this.sessionId,this.callSid,this.hold,this.mute});
    UpdateConferenceMemberStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        sessionId = json['sessionId'];
        callSid = json['callSid'];
        hold = json['hold'];
        mute = json['mute'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'sessionId': sessionId,
        'callSid': callSid,
        'hold': hold,
        'mute': mute
    };

    getTypeName() => "UpdateConferenceMemberStatus";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'evovoice.io', types: <String, TypeInfo> {
    'UpdateConferenceMemberStatus': TypeInfo(TypeOf.Class, create:() => UpdateConferenceMemberStatus()),
});

Dart UpdateConferenceMemberStatus DTOs

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

HTTP + 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: evovoice.io 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"sessionId":"String","callSid":"String","hold":false,"mute":false}