Trendsic Platform Service

<back to all web services

ShareDocumentRequest

The following routes are available for this service:
GET,OPTIONS/share/{Token}/document
import 'package:servicestack/servicestack.dart';

class ShareDocumentRequest implements IConvertible
{
    String? Token;

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

    fromMap(Map<String, dynamic> json) {
        Token = json['Token'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Token': Token
    };

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

TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
    'ShareDocumentRequest': TypeInfo(TypeOf.Class, create:() => ShareDocumentRequest()),
});

Dart ShareDocumentRequest 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 /share/{Token}/document HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json