| Requires any of the roles: | Client, Admin, Partner |
| GET | /action_documents |
|---|
import 'package:servicestack/servicestack.dart';
// @DataContract
class ActionDocumentsLookup implements IConvertible
{
// @DataMember(Order=2)
int? TenantsId;
// @DataMember(Order=3)
int? ActionsId;
// @DataMember(Order=4)
String? DocumentUrl;
ActionDocumentsLookup({this.TenantsId,this.ActionsId,this.DocumentUrl});
ActionDocumentsLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
ActionsId = json['ActionsId'];
DocumentUrl = json['DocumentUrl'];
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId,
'ActionsId': ActionsId,
'DocumentUrl': DocumentUrl
};
getTypeName() => "ActionDocumentsLookup";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'ActionDocumentsLookup': TypeInfo(TypeOf.Class, create:() => ActionDocumentsLookup()),
});
Dart ActionDocumentsLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /action_documents HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"TenantsId":0,"ActionsId":0,"DocumentUrl":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]