| GET | /report/uplift |
|---|
import 'package:servicestack/servicestack.dart';
class GetResourceResponse implements IConvertible
{
Map<String,String?>? options;
GetResourceResponse({this.options});
GetResourceResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
options = JsonConverters.fromJson(json['options'],'Map<String,String?>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'options': JsonConverters.toJson(options,'Map<String,String?>',context!)
};
getTypeName() => "GetResourceResponse";
TypeContext? context = _ctx;
}
class GenerateUpliftReport implements IConvertible
{
int? upliftId;
GenerateUpliftReport({this.upliftId});
GenerateUpliftReport.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
upliftId = json['upliftId'];
return this;
}
Map<String, dynamic> toJson() => {
'upliftId': upliftId
};
getTypeName() => "GenerateUpliftReport";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'antel.api.dev.86degrees.com', types: <String, TypeInfo> {
'GetResourceResponse': TypeInfo(TypeOf.Class, create:() => GetResourceResponse()),
'Map<String,String?>': TypeInfo(TypeOf.Class, create:() => Map<String,String?>()),
'GenerateUpliftReport': TypeInfo(TypeOf.Class, create:() => GenerateUpliftReport()),
});
Dart GenerateUpliftReport 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 /report/uplift HTTP/1.1 Host: antel.api.dev.86degrees.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{Unable to show example output for type 'GetResourceResponse' using the custom 'other' filter}Cannot dynamically create an instance of type 'WebService.ServiceModel.Base.GetResourceResponse'. Reason: No parameterless constructor defined.