tvpl.api

<back to all web services

GetRevisionRequestsRequest

Requires Authentication
The following routes are available for this service:
GET/user-state/revision-requests
import 'package:servicestack/servicestack.dart';

class GetRevisionRequestsRequest implements IConvertible
{
    int? workflowId;
    int? stepId;

    GetRevisionRequestsRequest({this.workflowId,this.stepId});
    GetRevisionRequestsRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        workflowId = json['workflowId'];
        stepId = json['stepId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'workflowId': workflowId,
        'stepId': stepId
    };

    getTypeName() => "GetRevisionRequestsRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: <String, TypeInfo> {
    'GetRevisionRequestsRequest': TypeInfo(TypeOf.Class, create:() => GetRevisionRequestsRequest()),
});

Dart GetRevisionRequestsRequest DTOs

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

HTTP + JSV

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

GET /user-state/revision-requests HTTP/1.1 
Host: etc-api.vsmlab.vn 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	0: String
}