TicketUserServices

<back to all web services

WebshopSettingsGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
GET/Webshop/Settings/{OwnerId}
WebshopSettingsGetRequest Parameters:
NameParameterData TypeRequiredDescription
OwnerIdpathintNo
WebshopSettingsResult Parameters:
NameParameterData TypeRequiredDescription
ItemformWebshopSettingsNo
StatusCodeformintNo
MessageformstringNo
WebshopSettings Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
OwnerIdformintNo
OrderEmailformstringNo
PickupAllowedformboolNo
DroppAllowedformboolNo
ShippedAllowedformboolNo
PickupAddressformstringNo
PickupDescriptionformstringNo
DroppFeeMinorformintNo
ShippedFeeMinorformintNo
LegacyTeamNumberformstringNo
CreatedAtformDateTimeNo
UpdatedAtformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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"}