| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
| GET | /Webshop/Dropp/Locations |
|---|
import 'package:servicestack/servicestack.dart';
class WebshopDroppLocationsResult implements IConvertible
{
String? locations;
int? statusCode;
String? message;
WebshopDroppLocationsResult({this.locations,this.statusCode,this.message});
WebshopDroppLocationsResult.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
locations = json['locations'];
statusCode = json['statusCode'];
message = json['message'];
return this;
}
Map<String, dynamic> toJson() => {
'locations': locations,
'statusCode': statusCode,
'message': message
};
getTypeName() => "WebshopDroppLocationsResult";
TypeContext? context = _ctx;
}
class WebshopDroppLocationsRequest implements IConvertible
{
WebshopDroppLocationsRequest();
WebshopDroppLocationsRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "WebshopDroppLocationsRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: <String, TypeInfo> {
'WebshopDroppLocationsResult': TypeInfo(TypeOf.Class, create:() => WebshopDroppLocationsResult()),
'WebshopDroppLocationsRequest': TypeInfo(TypeOf.Class, create:() => WebshopDroppLocationsRequest()),
});
Dart WebshopDroppLocationsRequest DTOs
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.
GET /Webshop/Dropp/Locations HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"locations":"String","statusCode":0,"message":"String"}