Trendsic Platform Service

<back to all web services

WebixGanttAssignmentChangeRequest

Requires Authentication
The following routes are available for this service:
POST/v1/webix/gantt/assignments
DELETE,PUT,OPTIONS/v1/webix/gantt/assignments/{id}
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 WebixGanttAssignmentChangeRequest extends WebixGanttAssignment implements IConvertible
{
    WebixGanttAssignmentChangeRequest();
    WebixGanttAssignmentChangeRequest.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() => "WebixGanttAssignmentChangeRequest";
    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()),
    'WebixGanttAssignmentChangeRequest': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignmentChangeRequest()),
});

Dart WebixGanttAssignmentChangeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/webix/gantt/assignments HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id":"String","resource":"String","task":"String","value":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id":"String","resource":"String","task":"String","value":"String"}