| Requires any of the roles: | Worker, Agent, Administrator |
| GET,OPTIONS | /v1/cad-drawing/{AttachmentId}/{VersionNo} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/cad-drawing/{AttachmentId} |
import 'package:servicestack/servicestack.dart';
class CadDrawingRequest implements IConvertible
{
String? AttachmentId;
int? VersionNo;
CadDrawingRequest({this.AttachmentId,this.VersionNo});
CadDrawingRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
AttachmentId = json['AttachmentId'];
VersionNo = json['VersionNo'];
return this;
}
Map<String, dynamic> toJson() => {
'AttachmentId': AttachmentId,
'VersionNo': VersionNo
};
getTypeName() => "CadDrawingRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'CadDrawingRequest': TypeInfo(TypeOf.Class, create:() => CadDrawingRequest()),
});
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/cad-drawing/{AttachmentId}/{VersionNo} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv