| GET | /api/temporarylinkdetails/{DocumentID} | 
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class TemporaryLinkDetailsResponse implements IConvertible
{
    String? Title;
    String? Message;
    String? SubMessage;
    int? NumberOfAttachments;
    int? TotalSizeInBytes;
    bool? IsValid;
    TemporaryLinkDetailsResponse({this.Title,this.Message,this.SubMessage,this.NumberOfAttachments,this.TotalSizeInBytes,this.IsValid});
    TemporaryLinkDetailsResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        Title = json['Title'];
        Message = json['Message'];
        SubMessage = json['SubMessage'];
        NumberOfAttachments = json['NumberOfAttachments'];
        TotalSizeInBytes = json['TotalSizeInBytes'];
        IsValid = json['IsValid'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'Title': Title,
        'Message': Message,
        'SubMessage': SubMessage,
        'NumberOfAttachments': NumberOfAttachments,
        'TotalSizeInBytes': TotalSizeInBytes,
        'IsValid': IsValid
    };
    getTypeName() => "TemporaryLinkDetailsResponse";
    TypeContext? context = _ctx;
}
class GetTemporaryLinkDetails implements IConvertible
{
    String? DocumentID;
    GetTemporaryLinkDetails({this.DocumentID});
    GetTemporaryLinkDetails.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        DocumentID = json['DocumentID'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'DocumentID': DocumentID
    };
    getTypeName() => "GetTemporaryLinkDetails";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: <String, TypeInfo> {
    'TemporaryLinkDetailsResponse': TypeInfo(TypeOf.Class, create:() => TemporaryLinkDetailsResponse()),
    'GetTemporaryLinkDetails': TypeInfo(TypeOf.Class, create:() => GetTemporaryLinkDetails()),
});
Dart GetTemporaryLinkDetails DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/temporarylinkdetails/{DocumentID} HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Title":"String","Message":"String","SubMessage":"String","NumberOfAttachments":0,"TotalSizeInBytes":0,"IsValid":false}