| GET | /workflow/{DocumentId}/redo-requests/pending |
|---|
import 'package:servicestack/servicestack.dart';
class GetPendingWorkflowRedoRequests implements IConvertible
{
int? documentId;
GetPendingWorkflowRedoRequests({this.documentId});
GetPendingWorkflowRedoRequests.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
documentId = json['documentId'];
return this;
}
Map<String, dynamic> toJson() => {
'documentId': documentId
};
getTypeName() => "GetPendingWorkflowRedoRequests";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: <String, TypeInfo> {
'GetPendingWorkflowRedoRequests': TypeInfo(TypeOf.Class, create:() => GetPendingWorkflowRedoRequests()),
});
Dart GetPendingWorkflowRedoRequests DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /workflow/{DocumentId}/redo-requests/pending HTTP/1.1
Host: etc-api.vsmlab.vn
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"id":0,"documentId":0,"stepId":0,"stepName":"String","requestedBy":0,"requestedByName":"String","approverId":0,"approverName":"String","status":0,"reason":"String","comment":"String","createdAt":"0001-01-01T00:00:00.0000000+07:06","actionAt":"0001-01-01T00:00:00.0000000+07:06"}]