GET api/Ticket/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Ticket| Name | Description | Type | Additional information |
|---|---|---|---|
| TicketNumber | string |
None. |
|
| TicketId | integer |
None. |
|
| TicketRandom | integer |
None. |
|
| TicketSourceId | integer |
None. |
|
| ExpirationDate | date |
None. |
|
| BeginDate | date |
None. |
|
| SalesNumber | integer |
None. |
|
| SalesCartItemId | integer |
None. |
|
| MachineId | integer |
None. |
|
| Cashier | string |
None. |
|
| Dtimestamp | date |
None. |
|
| TicketLinesId | integer |
None. |
|
| RowLine1 | string |
None. |
|
| RowLine2 | string |
None. |
|
| RowLine3 | string |
None. |
|
| RowLine4 | string |
None. |
|
| RowLine5 | string |
None. |
|
| RowLine6 | string |
None. |
|
| RowColor | string |
None. |
|
| RowState | string |
None. |
|
| RowAction | string |
None. |
|
| TicketLines | Collection of TicketLine |
None. |
Response Formats
application/json, text/json
Sample:
{
"TicketNumber": "sample string 1",
"TicketId": 1,
"TicketRandom": 1,
"TicketSourceId": 1,
"ExpirationDate": "2026-06-05T16:34:05.3855882-05:00",
"BeginDate": "2026-06-05T16:34:05.3855882-05:00",
"SalesNumber": 1,
"SalesCartItemId": 1,
"MachineId": 1,
"Cashier": "sample string 2",
"Dtimestamp": "2026-06-05T16:34:05.3855882-05:00",
"TicketLinesId": 1,
"RowLine1": "sample string 3",
"RowLine2": "sample string 4",
"RowLine3": "sample string 5",
"RowLine4": "sample string 6",
"RowLine5": "sample string 7",
"RowLine6": "sample string 8",
"RowColor": "sample string 9",
"RowState": "sample string 10",
"RowAction": "sample string 11",
"TicketLines": []
}
application/xml, text/xml
Sample:
<Ticket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VersaiAPI.Business"> <BeginDate>2026-06-05T16:34:05.3855882-05:00</BeginDate> <Cashier>sample string 2</Cashier> <Dtimestamp>2026-06-05T16:34:05.3855882-05:00</Dtimestamp> <ExpirationDate>2026-06-05T16:34:05.3855882-05:00</ExpirationDate> <MachineId>1</MachineId> <RowAction>sample string 11</RowAction> <RowColor>sample string 9</RowColor> <RowLine1>sample string 3</RowLine1> <RowLine2>sample string 4</RowLine2> <RowLine3>sample string 5</RowLine3> <RowLine4>sample string 6</RowLine4> <RowLine5>sample string 7</RowLine5> <RowLine6>sample string 8</RowLine6> <RowState>sample string 10</RowState> <SalesCartItemId>1</SalesCartItemId> <SalesNumber>1</SalesNumber> <TicketId>1</TicketId> <TicketLines /> <TicketLinesId>1</TicketLinesId> <TicketNumber>sample string 1</TicketNumber> <TicketRandom>1</TicketRandom> <TicketSourceId>1</TicketSourceId> </Ticket>