Trendsic Platform Service

<back to all web services

MarkupFlattenRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/markup/{AttachmentId}/{VersionNo}/flatten.pdf
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class MarkupFlattenRequest implements IConvertible
{
    String? AttachmentId;
    int? VersionNo;

    MarkupFlattenRequest({this.AttachmentId,this.VersionNo});
    MarkupFlattenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

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

GET /v1/markup/{AttachmentId}/{VersionNo}/flatten.pdf HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl