GET v1/Shops/{shopId}/TicketStatuses

Get a list with all TicketStatuses, for the given shop.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopId

The id of the shop.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the TicketStatusBasicInfo objects, ordered by id, ascending.


Collection of TicketStatus
NameDescriptionTypeAdditional information
Id

integer

Required

Name

string

Required

Max length: 50

ShopOwnerId

integer

None.

IconFileId

integer

None.

Sequence

integer

Required

TicketStatusBase

TicketStatusBaseEnum

None.

IsDefaultForStatusId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "ShopOwnerId": 1,
    "IconFileId": 1,
    "Sequence": 3,
    "TicketStatusBase": 1,
    "IsDefaultForStatusId": 1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "ShopOwnerId": 1,
    "IconFileId": 1,
    "Sequence": 3,
    "TicketStatusBase": 1,
    "IsDefaultForStatusId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTicketStatus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TicketStatus>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <ShopOwnerId>1</ShopOwnerId>
    <IconFileId>1</IconFileId>
    <Sequence>3</Sequence>
    <TicketStatusBase>Open</TicketStatusBase>
    <IsDefaultForStatusId>1</IsDefaultForStatusId>
  </TicketStatus>
  <TicketStatus>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <ShopOwnerId>1</ShopOwnerId>
    <IconFileId>1</IconFileId>
    <Sequence>3</Sequence>
    <TicketStatusBase>Open</TicketStatusBase>
    <IsDefaultForStatusId>1</IsDefaultForStatusId>
  </TicketStatus>
</ArrayOfTicketStatus>