| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
| GET | /Webshop/Dropp/Locations |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class WebshopDroppLocationsRequest
{
}
public static class WebshopDroppLocationsResult
{
public String locations = null;
public Integer statusCode = null;
public String message = null;
public String getLocations() { return locations; }
public WebshopDroppLocationsResult setLocations(String value) { this.locations = value; return this; }
public Integer getStatusCode() { return statusCode; }
public WebshopDroppLocationsResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public WebshopDroppLocationsResult setMessage(String value) { this.message = value; return this; }
}
}
Java 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"}