| Requires any of the roles: | Client, Admin, Partner |
| GET | /configurations |
|---|
import 'package:servicestack/servicestack.dart';
// @DataContract
class ConfigurationsLookup implements IConvertible
{
// @DataMember(Order=2)
int? TenantsId;
// @DataMember(Order=3)
String? Name;
// @DataMember(Order=4)
String? Description;
// @DataMember(Order=5)
int? AvatarsId;
// @DataMember(Order=6)
int? MessageTonesId;
// @DataMember(Order=7)
int? StatusCodesId;
ConfigurationsLookup({this.TenantsId,this.Name,this.Description,this.AvatarsId,this.MessageTonesId,this.StatusCodesId});
ConfigurationsLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
Name = json['Name'];
Description = json['Description'];
AvatarsId = json['AvatarsId'];
MessageTonesId = json['MessageTonesId'];
StatusCodesId = json['StatusCodesId'];
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId,
'Name': Name,
'Description': Description,
'AvatarsId': AvatarsId,
'MessageTonesId': MessageTonesId,
'StatusCodesId': StatusCodesId
};
getTypeName() => "ConfigurationsLookup";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'ConfigurationsLookup': TypeInfo(TypeOf.Class, create:() => ConfigurationsLookup()),
});
Dart ConfigurationsLookup 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 /configurations HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"TenantsId":0,"Name":"String","Description":"String","AvatarsId":0,"MessageTonesId":0,"StatusCodesId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]