| GET,OPTIONS | /v1/webix/gantt/links |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class WebixGanttLink implements IConvertible
{
int? id;
int? source;
int? target;
int? type;
WebixGanttLink({this.id,this.source,this.target,this.type});
WebixGanttLink.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
source = json['source'];
target = json['target'];
type = json['type'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'source': source,
'target': target,
'type': type
};
getTypeName() => "WebixGanttLink";
TypeContext? context = _ctx;
}
class WebixGanttLinkResponse extends WebixGanttLink implements IConvertible
{
WebixGanttLinkResponse();
WebixGanttLinkResponse.fromJson(Map<String, dynamic> json) : super.fromJson(json);
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
return this;
}
Map<String, dynamic> toJson() => super.toJson();
getTypeName() => "WebixGanttLinkResponse";
TypeContext? context = _ctx;
}
class WebixGanttLinkRequest implements IConvertible
{
WebixGanttLinkRequest();
WebixGanttLinkRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "WebixGanttLinkRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'WebixGanttLink': TypeInfo(TypeOf.Class, create:() => WebixGanttLink()),
'WebixGanttLinkResponse': TypeInfo(TypeOf.Class, create:() => WebixGanttLinkResponse()),
'WebixGanttLinkRequest': TypeInfo(TypeOf.Class, create:() => WebixGanttLinkRequest()),
});
Dart WebixGanttLinkRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/webix/gantt/links HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <WebixGanttLinkResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal"> <id>0</id> <source>0</source> <target>0</target> <type>0</type> </WebixGanttLinkResponse>