| GET | /v1/AttachmentDownloadByConversation/{AttachmentId}/{ConversationDetailId} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class AttachmentDownloadByConversationRequest implements IConvertible
{
String? AttachmentId;
String? ConversationDetailId;
AttachmentDownloadByConversationRequest({this.AttachmentId,this.ConversationDetailId});
AttachmentDownloadByConversationRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
AttachmentId = json['AttachmentId'];
ConversationDetailId = json['ConversationDetailId'];
return this;
}
Map<String, dynamic> toJson() => {
'AttachmentId': AttachmentId,
'ConversationDetailId': ConversationDetailId
};
getTypeName() => "AttachmentDownloadByConversationRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'AttachmentDownloadByConversationRequest': TypeInfo(TypeOf.Class, create:() => AttachmentDownloadByConversationRequest()),
});
Dart AttachmentDownloadByConversationRequest 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/AttachmentDownloadByConversation/{AttachmentId}/{ConversationDetailId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv