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