GET api/Card/GetHistorybyClientID?clientID={clientID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CardHistoryRequest
NameDescriptionTypeAdditional information
CardNumber

integer

None.

CardType

integer

None.

CardSequence

integer

None.

CurrentDate

date

None.

Product

string

None.

DeviceID

integer

None.

Operation

string

None.

Amount

decimal number

None.

EMoney

decimal number

None.

Tickets

decimal number

None.

InitPass

date

None.

EndPass

date

None.

BusNumber

string

None.

RouteNumber

integer

None.

Stop

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CardNumber": 1,
    "CardType": 2,
    "CardSequence": 3,
    "CurrentDate": "2024-11-16T19:53:53.5469205+00:00",
    "Product": "sample string 5",
    "DeviceID": 6,
    "Operation": "sample string 7",
    "Amount": 8.0,
    "EMoney": 9.0,
    "Tickets": 10.0,
    "InitPass": "2024-11-16T19:53:53.5469205+00:00",
    "EndPass": "2024-11-16T19:53:53.5469205+00:00",
    "BusNumber": "sample string 13",
    "RouteNumber": 14,
    "Stop": "sample string 15"
  },
  {
    "CardNumber": 1,
    "CardType": 2,
    "CardSequence": 3,
    "CurrentDate": "2024-11-16T19:53:53.5469205+00:00",
    "Product": "sample string 5",
    "DeviceID": 6,
    "Operation": "sample string 7",
    "Amount": 8.0,
    "EMoney": 9.0,
    "Tickets": 10.0,
    "InitPass": "2024-11-16T19:53:53.5469205+00:00",
    "EndPass": "2024-11-16T19:53:53.5469205+00:00",
    "BusNumber": "sample string 13",
    "RouteNumber": 14,
    "Stop": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCardController.CardHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <CardController.CardHistoryRequest>
    <Amount>8</Amount>
    <BusNumber>sample string 13</BusNumber>
    <CardNumber>1</CardNumber>
    <CardSequence>3</CardSequence>
    <CardType>2</CardType>
    <CurrentDate>2024-11-16T19:53:53.5469205+00:00</CurrentDate>
    <DeviceID>6</DeviceID>
    <EMoney>9</EMoney>
    <EndPass>2024-11-16T19:53:53.5469205+00:00</EndPass>
    <InitPass>2024-11-16T19:53:53.5469205+00:00</InitPass>
    <Operation>sample string 7</Operation>
    <Product>sample string 5</Product>
    <RouteNumber>14</RouteNumber>
    <Stop>sample string 15</Stop>
    <Tickets>10</Tickets>
  </CardController.CardHistoryRequest>
  <CardController.CardHistoryRequest>
    <Amount>8</Amount>
    <BusNumber>sample string 13</BusNumber>
    <CardNumber>1</CardNumber>
    <CardSequence>3</CardSequence>
    <CardType>2</CardType>
    <CurrentDate>2024-11-16T19:53:53.5469205+00:00</CurrentDate>
    <DeviceID>6</DeviceID>
    <EMoney>9</EMoney>
    <EndPass>2024-11-16T19:53:53.5469205+00:00</EndPass>
    <InitPass>2024-11-16T19:53:53.5469205+00:00</InitPass>
    <Operation>sample string 7</Operation>
    <Product>sample string 5</Product>
    <RouteNumber>14</RouteNumber>
    <Stop>sample string 15</Stop>
    <Tickets>10</Tickets>
  </CardController.CardHistoryRequest>
</ArrayOfCardController.CardHistoryRequest>