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