| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| GET | /Webshop/Settings/{OwnerId} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class WebshopSettingsGetRequest
{
var ownerId:Int? = null
}
open class WebshopSettingsResult
{
var item:WebshopSettings? = null
var statusCode:Int? = null
var message:String? = null
}
open class WebshopSettings
{
var id:Int? = null
var ownerId:Int? = null
@StringLength(200)
var orderEmail:String? = null
var pickupAllowed:Boolean? = null
var droppAllowed:Boolean? = null
var shippedAllowed:Boolean? = null
@StringLength(300)
var pickupAddress:String? = null
@StringLength(500)
var pickupDescription:String? = null
var droppFeeMinor:Int? = null
var shippedFeeMinor:Int? = null
@StringLength(50)
var legacyTeamNumber:String? = null
var createdAt:Date? = null
var updatedAt:Date? = null
}
Kotlin WebshopSettingsGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Webshop/Settings/{OwnerId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"item":{"id":0,"ownerId":0,"orderEmail":"String","pickupAllowed":false,"droppAllowed":false,"shippedAllowed":false,"pickupAddress":"String","pickupDescription":"String","droppFeeMinor":0,"shippedFeeMinor":0,"legacyTeamNumber":"String","createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"},"statusCode":0,"message":"String"}