| GET,OPTIONS | /v1/webix/gantt/assignments |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class WebixGanttAssignment implements IConvertible
{
String? id;
String? resource;
String? task;
String? value;
WebixGanttAssignment({this.id,this.resource,this.task,this.value});
WebixGanttAssignment.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
resource = json['resource'];
task = json['task'];
value = json['value'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'resource': resource,
'task': task,
'value': value
};
getTypeName() => "WebixGanttAssignment";
TypeContext? context = _ctx;
}
class WebixGanttAssignmentResponse extends WebixGanttAssignment implements IConvertible
{
WebixGanttAssignmentResponse();
WebixGanttAssignmentResponse.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() => "WebixGanttAssignmentResponse";
TypeContext? context = _ctx;
}
class WebixGanttAssignmentRequest implements IConvertible
{
WebixGanttAssignmentRequest();
WebixGanttAssignmentRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "WebixGanttAssignmentRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'WebixGanttAssignment': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignment()),
'WebixGanttAssignmentResponse': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignmentResponse()),
'WebixGanttAssignmentRequest': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignmentRequest()),
});
Dart WebixGanttAssignmentRequest 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/assignments HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <WebixGanttAssignmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal"> <id>String</id> <resource>String</resource> <task>String</task> <value>String</value> </WebixGanttAssignmentResponse>