<back to all web services

EloquaConfigurationRequest

The following routes are available for this service:
POST/RestApi/eloqua/config
import 'package:servicestack/servicestack.dart';

class EloquaConfigurationRequest implements IConvertible
{
    String? SiteId;
    String? Username;
    String? Password;
    String? CompanyName;
    String? FormPostUrl;

    EloquaConfigurationRequest({this.SiteId,this.Username,this.Password,this.CompanyName,this.FormPostUrl});
    EloquaConfigurationRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        SiteId = json['SiteId'];
        Username = json['Username'];
        Password = json['Password'];
        CompanyName = json['CompanyName'];
        FormPostUrl = json['FormPostUrl'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'SiteId': SiteId,
        'Username': Username,
        'Password': Password,
        'CompanyName': CompanyName,
        'FormPostUrl': FormPostUrl
    };

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

TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
    'EloquaConfigurationRequest': TypeInfo(TypeOf.Class, create:() => EloquaConfigurationRequest()),
});

Dart EloquaConfigurationRequest DTOs

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

HTTP + OTHER

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

POST /RestApi/eloqua/config HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"SiteId":"String","Username":"String","Password":"String","CompanyName":"String","FormPostUrl":"String"}