GET v1/Shops/{shopId}/TicketTypes
Get a list with all TicketTypes, for the given shop.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
The id of the shop. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the TicketTypeBasicInfo objects, ordered by id, ascending.
Collection of TicketType
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
Name | string |
Required Max length: 50 |
|
ShopOwnerId | integer |
None. |
|
IconFileId | integer |
None. |
|
Sequence | integer |
Required |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 1, "IconFileId": 1, "Sequence": 3 }, { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 1, "IconFileId": 1, "Sequence": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfTicketType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TicketType> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>1</ShopOwnerId> <IconFileId>1</IconFileId> <Sequence>3</Sequence> </TicketType> <TicketType> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>1</ShopOwnerId> <IconFileId>1</IconFileId> <Sequence>3</Sequence> </TicketType> </ArrayOfTicketType>