GET api/Tickets/{id}

List of Tickets used for a specific Disposal Transaction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Disposal Transaction (Dump) Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of _apiTicket
NameDescriptionTypeAdditional information
Id

integer

None.

Number

integer

None.

Value

decimal number

None.

IsUsed

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Number": 2,
    "Value": 3.1,
    "IsUsed": true
  },
  {
    "Id": 1,
    "Number": 2,
    "Value": 3.1,
    "IsUsed": true
  }
]

application/xml, text/xml

Sample:
<ArrayOf_apiTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WasteMart.Models">
  <_apiTicket>
    <Id>1</Id>
    <IsUsed>true</IsUsed>
    <Number>2</Number>
    <Value>3.1</Value>
  </_apiTicket>
  <_apiTicket>
    <Id>1</Id>
    <IsUsed>true</IsUsed>
    <Number>2</Number>
    <Value>3.1</Value>
  </_apiTicket>
</ArrayOf_apiTicket>