Billhighway Cloud API

<back to all web services

IvrStatusRequest

The following routes are available for this service:
GET/ivr/status
import 'package:servicestack/servicestack.dart';

class IvrStatusResponse extends IvrStatusResponse implements IHaveErrorField, IConvertible
{
    String? Status;
    String? Message;
    // @ApiMember(ExcludeInSchema=true)
    bool? IsError;

    IvrStatusResponse({this.Status,this.Message,this.IsError});
    IvrStatusResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        Status = json['Status'];
        Message = json['Message'];
        IsError = json['IsError'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'Status': Status,
        'Message': Message,
        'IsError': IsError
    });

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

class IvrStatusRequest extends IvrStatusRequest implements IConvertible
{
    IvrStatusRequest();
    IvrStatusRequest.fromJson(Map<String, dynamic> json) : super.fromJson(json);
    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson();
    getTypeName() => "IvrStatusRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: <String, TypeInfo> {
    'IvrStatusResponse': TypeInfo(TypeOf.Class, create:() => IvrStatusResponse()),
    'IvrStatusRequest': TypeInfo(TypeOf.Class, create:() => IvrStatusRequest()),
});

Dart IvrStatusRequest 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

HTTP + JSON

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

GET /ivr/status HTTP/1.1 
Host: devapi.billhighway.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Status":"String","Message":"String","IsError":false}