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