| All Verbs | /DumpLCData/{LCAddress} |
|---|
import 'package:servicestack/servicestack.dart';
class DumpLCData implements IConvertible
{
/**
* LC address
*/
// @ApiMember(Description="LC address", IsRequired=true)
String? LCAddress;
DumpLCData({this.LCAddress});
DumpLCData.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
LCAddress = json['LCAddress'];
return this;
}
Map<String, dynamic> toJson() => {
'LCAddress': LCAddress
};
getTypeName() => "DumpLCData";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'DumpLCData': TypeInfo(TypeOf.Class, create:() => DumpLCData()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /DumpLCData/{LCAddress} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"LCAddress":"String"}