<back to all web services

RenderMessage

The following routes are available for this service:
All Verbs/RestApi/sitefinity/inlineediting/render
import 'package:servicestack/servicestack.dart';

class RenderMessage implements IConvertible
{
    String? PageId;
    String? ControlId;
    String? DataItemId;
    String? FieldName;
    String? Url;

    RenderMessage({this.PageId,this.ControlId,this.DataItemId,this.FieldName,this.Url});
    RenderMessage.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        PageId = json['PageId'];
        ControlId = json['ControlId'];
        DataItemId = json['DataItemId'];
        FieldName = json['FieldName'];
        Url = json['Url'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'PageId': PageId,
        'ControlId': ControlId,
        'DataItemId': DataItemId,
        'FieldName': FieldName,
        'Url': Url
    };

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

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

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

POST /RestApi/sitefinity/inlineediting/render HTTP/1.1 
Host: www.asg.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"PageId":"String","ControlId":"String","DataItemId":"String","FieldName":"String","Url":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

(string)