GET v1/Shops/{shopId}/TicketStatuses

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

Request Information

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

The Id of the Ticket.

integer

Required

Name

The name of this ticket type.

string

Required

Max length: 50

ShopOwnerId

The shop owner id to which this ticket type is bound.

integer

None.

IconFileId

The icon id which is shown in the UI.

integer

None.

Sequence

The sequence for this ticket type.

integer

Required

TicketStatusBase

The base status id.

TicketStatusBaseEnum

None.

IsDefaultForStatusId

The default next status.

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>Todo</TicketStatusBase>
    <IsDefaultForStatusId>1</IsDefaultForStatusId>
  </TicketStatus>
  <TicketStatus>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <ShopOwnerId>1</ShopOwnerId>
    <IconFileId>1</IconFileId>
    <Sequence>3</Sequence>
    <TicketStatusBase>Todo</TicketStatusBase>
    <IsDefaultForStatusId>1</IsDefaultForStatusId>
  </TicketStatus>
</ArrayOfTicketStatus>