| All Verbs | /GetAreas |
|---|
import 'package:servicestack/servicestack.dart';
class GetAreas implements IConvertible
{
/**
* Stockroom name
*/
// @ApiMember(Description="Stockroom name")
String? StockroomName;
GetAreas({this.StockroomName});
GetAreas.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
StockroomName = json['StockroomName'];
return this;
}
Map<String, dynamic> toJson() => {
'StockroomName': StockroomName
};
getTypeName() => "GetAreas";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'GetAreas': TypeInfo(TypeOf.Class, create:() => GetAreas()),
});
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.
POST /GetAreas HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"StockroomName":"String"}