| GET | /{Workspace}/TaskTracks/{TaskId} |
|---|
import 'package:servicestack/servicestack.dart';
/**
* GET /{Workspace}/TaskTracks/{TaskId} - Returns List<Track> where Track is in the format defined by the TaskTrack service.All tracks for all teams members (including the requesting user) for the task will be returned.
*/
class TaskTracks implements IConvertible
{
String? Workspace;
String? TaskId;
TaskTracks({this.Workspace,this.TaskId});
TaskTracks.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Workspace = json['Workspace'];
TaskId = json['TaskId'];
return this;
}
Map<String, dynamic> toJson() => {
'Workspace': Workspace,
'TaskId': TaskId
};
getTypeName() => "TaskTracks";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'dev.fieldsquared.com', types: <String, TypeInfo> {
'TaskTracks': TypeInfo(TypeOf.Class, create:() => TaskTracks()),
});
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 /{Workspace}/TaskTracks/{TaskId} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv