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