Billhighway Cloud API

<back to all web services

IvrUserInfoRequest

The following routes are available for this service:
GET/ivr/userUser InfoMore description about User Info Service.
import 'package:servicestack/servicestack.dart';

class IvrUserInfoResponse extends IvrUserInfoResponse implements IConvertible
{
    IvrUserInfoResponse();
    IvrUserInfoResponse.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() => "IvrUserInfoResponse";
    TypeContext? context = _ctx;
}

class IvrUserInfoRequest extends IvrUserInfoRequest implements IConvertible
{
    IvrUserInfoRequest();
    IvrUserInfoRequest.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() => "IvrUserInfoRequest";
    TypeContext? context = _ctx;
}

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

Dart IvrUserInfoRequest DTOs

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

HTTP + XML

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

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

<IvrUserInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.IVR">
  <AsOfDate xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0001-01-01T00:00:00</AsOfDate>
  <AvailableCredit xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0</AvailableCredit>
  <CurrentAmountDue xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0</CurrentAmountDue>
  <IsGroupValid xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">false</IsGroupValid>
  <IsUserValid xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">false</IsUserValid>
  <LastPaymentAmount xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0</LastPaymentAmount>
  <LastPaymentDate xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0001-01-01T00:00:00</LastPaymentDate>
  <PastDueAmount xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0</PastDueAmount>
  <TotalBalance xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.IVR">0</TotalBalance>
</IvrUserInfoResponse>