TicketUserServices

<back to all web services

WebshopDroppLocationsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<WebshopDroppLocationsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Locations>String</Locations>
  <Message>String</Message>
  <StatusCode>0</StatusCode>
</WebshopDroppLocationsResult>