GET api/CassetteLog?locationId={locationId}&transactionSessionId={transactionSessionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

integer

Required

transactionSessionId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CassetteLog
NameDescriptionTypeAdditional information
TransactionSessionId

integer

None.

Cassette

Cassette

None.

Hopper

Hopper

None.

TokenId

integer

None.

Token

Token

None.

Count

integer

None.

DateCreated

date

None.

IsCassette

boolean

None.

IsHopper

boolean

None.

enabled

boolean

None.

id

integer

None.

name

string

None.

displayName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TransactionSessionId": 1,
    "Cassette": {
      "deviceId": 1,
      "cassetteMode": 0,
      "capacity": 0,
      "cassetteStatus": 0,
      "count": 1,
      "maximum": 2,
      "percentFull": 50.0,
      "enabled": true,
      "id": 4,
      "name": "sample string 5",
      "displayName": "sample string 6"
    },
    "Hopper": {
      "isPseudoHopper": false,
      "deviceId": 2,
      "address": 1,
      "currentTransactionSessionId": 1,
      "currentStatus": null,
      "isDispensing": true,
      "isMaster": true,
      "maximum": 5,
      "dateCreated": "2025-12-10T11:56:48.810644+00:00",
      "enabled": true,
      "id": 8,
      "name": "sample string 9",
      "displayName": "sample string 10"
    },
    "TokenId": 2,
    "Token": {
      "currencyId": 1,
      "typeId": 2,
      "exponentialValue": 3.0,
      "value": 4,
      "dateCreated": "2025-12-10T11:56:48.810644+00:00",
      "count": 0,
      "totalAmount": 0.0,
      "totalAmountStr": "$0.00",
      "enabled": true,
      "id": 9,
      "name": "sample string 10",
      "displayName": "sample string 11"
    },
    "Count": 3,
    "DateCreated": "2025-12-10T11:56:48.810644+00:00",
    "IsCassette": false,
    "IsHopper": false,
    "enabled": true,
    "id": 6,
    "name": "sample string 7",
    "displayName": "sample string 8"
  },
  {
    "TransactionSessionId": 1,
    "Cassette": {
      "deviceId": 1,
      "cassetteMode": 0,
      "capacity": 0,
      "cassetteStatus": 0,
      "count": 1,
      "maximum": 2,
      "percentFull": 50.0,
      "enabled": true,
      "id": 4,
      "name": "sample string 5",
      "displayName": "sample string 6"
    },
    "Hopper": {
      "isPseudoHopper": false,
      "deviceId": 2,
      "address": 1,
      "currentTransactionSessionId": 1,
      "currentStatus": null,
      "isDispensing": true,
      "isMaster": true,
      "maximum": 5,
      "dateCreated": "2025-12-10T11:56:48.810644+00:00",
      "enabled": true,
      "id": 8,
      "name": "sample string 9",
      "displayName": "sample string 10"
    },
    "TokenId": 2,
    "Token": {
      "currencyId": 1,
      "typeId": 2,
      "exponentialValue": 3.0,
      "value": 4,
      "dateCreated": "2025-12-10T11:56:48.810644+00:00",
      "count": 0,
      "totalAmount": 0.0,
      "totalAmountStr": "$0.00",
      "enabled": true,
      "id": 9,
      "name": "sample string 10",
      "displayName": "sample string 11"
    },
    "Count": 3,
    "DateCreated": "2025-12-10T11:56:48.810644+00:00",
    "IsCassette": false,
    "IsHopper": false,
    "enabled": true,
    "id": 6,
    "name": "sample string 7",
    "displayName": "sample string 8"
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'libMIMO.models.MIMOCore.properties.HopperStatus' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'libMIMO.models.MIMOCore.properties.HopperStatus' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.