| GET | /ercot-doc-save/{TypeId} |
|---|
import 'package:servicestack/servicestack.dart';
class ErcotDocSaveRequest implements IConvertible
{
int? typeId;
ErcotDocSaveRequest({this.typeId});
ErcotDocSaveRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
typeId = json['typeId'];
return this;
}
Map<String, dynamic> toJson() => {
'typeId': typeId
};
getTypeName() => "ErcotDocSaveRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'catalog_jobs_dev.power.dev', types: <String, TypeInfo> {
'ErcotDocSaveRequest': TypeInfo(TypeOf.Class, create:() => ErcotDocSaveRequest()),
});
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 /ercot-doc-save/{TypeId} HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: text/jsv