| POST | /devops/api/diagnostics/error |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
class GenerateErrorRq implements IConvertible
{
GenerateErrorRq();
GenerateErrorRq.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "GenerateErrorRq";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: <String, TypeInfo> {
'GenerateErrorRq': TypeInfo(TypeOf.Class, create:() => GenerateErrorRq()),
});
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.
POST /devops/api/diagnostics/error HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}