<back to all web services

DECMonitorContentAnalysisDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/content-analysis-progress
import 'package:servicestack/servicestack.dart';

class DECEnableContentAnalysisDto implements IConvertible
{
    int? Progress;
    String? DataCenterApiKey;
    List<String>? SiteNames;
    String? StatusMessage;

    DECEnableContentAnalysisDto({this.Progress,this.DataCenterApiKey,this.SiteNames,this.StatusMessage});
    DECEnableContentAnalysisDto.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Progress = json['Progress'];
        DataCenterApiKey = json['DataCenterApiKey'];
        SiteNames = JsonConverters.fromJson(json['SiteNames'],'List<String>',context!);
        StatusMessage = json['StatusMessage'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Progress': Progress,
        'DataCenterApiKey': DataCenterApiKey,
        'SiteNames': JsonConverters.toJson(SiteNames,'List<String>',context!),
        'StatusMessage': StatusMessage
    };

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

class DECMonitorContentAnalysisDto implements IConvertible
{
    List<DECEnableContentAnalysisDto>? DataCenterProgress;

    DECMonitorContentAnalysisDto({this.DataCenterProgress});
    DECMonitorContentAnalysisDto.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        DataCenterProgress = JsonConverters.fromJson(json['DataCenterProgress'],'List<DECEnableContentAnalysisDto>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'DataCenterProgress': JsonConverters.toJson(DataCenterProgress,'List<DECEnableContentAnalysisDto>',context!)
    };

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

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

Dart DECMonitorContentAnalysisDto 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.

GET /RestApi/sitefinity/data-intelligence/content-analysis-progress HTTP/1.1 
Host: www.asg.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"DataCenterProgress":[{"Progress":0,"DataCenterApiKey":"String","SiteNames":["String"],"StatusMessage":"String"}]}