| Requires any of the roles: | Agent, Administrator |
| GET | /v1/DocumentDownload/{DocumentId} |
|---|
import 'package:servicestack/servicestack.dart';
class DocumentDownloadRequest implements IConvertible
{
String? DocumentId;
DocumentDownloadRequest({this.DocumentId});
DocumentDownloadRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DocumentId = json['DocumentId'];
return this;
}
Map<String, dynamic> toJson() => {
'DocumentId': DocumentId
};
getTypeName() => "DocumentDownloadRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'DocumentDownloadRequest': TypeInfo(TypeOf.Class, create:() => DocumentDownloadRequest()),
});
Dart DocumentDownloadRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/DocumentDownload/{DocumentId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml