import 'package:servicestack/servicestack.dart';
class GetNavigatorInfo implements IConvertible
{
String? ViewId;
String? ExplorerID;
String? NavigationPath;
GetNavigatorInfo({this.ViewId,this.ExplorerID,this.NavigationPath});
GetNavigatorInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ViewId = json['ViewId'];
ExplorerID = json['ExplorerID'];
NavigationPath = json['NavigationPath'];
return this;
}
Map<String, dynamic> toJson() => {
'ViewId': ViewId,
'ExplorerID': ExplorerID,
'NavigationPath': NavigationPath
};
getTypeName() => "GetNavigatorInfo";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: <String, TypeInfo> {
'GetNavigatorInfo': TypeInfo(TypeOf.Class, create:() => GetNavigatorInfo()),
});
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 /csv/oneway/GetNavigatorInfo HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ViewId":"00000000-0000-0000-0000-000000000000","ExplorerID":"00000000-0000-0000-0000-000000000000","NavigationPath":"String"}