| GET | /v1/forms/submissions/{SubmissionUID}/files/{AttachmentId}/content |
|---|
import 'package:servicestack/servicestack.dart';
class FormSubmissionFileContentRequest implements IConvertible
{
String? SubmissionUID;
String? AttachmentId;
FormSubmissionFileContentRequest({this.SubmissionUID,this.AttachmentId});
FormSubmissionFileContentRequest.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() => "FormSubmissionFileContentRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'FormSubmissionFileContentRequest': TypeInfo(TypeOf.Class, create:() => FormSubmissionFileContentRequest()),
});
Dart FormSubmissionFileContentRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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}/content HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl