GET api/Hopper?locationId={locationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Hopper
NameDescriptionTypeAdditional information
isPseudoHopper

boolean

None.

deviceId

integer

None.

address

integer

None.

currentTransactionSessionId

integer

None.

currentStatus

HopperStatus

None.

isDispensing

boolean

None.

isMaster

boolean

None.

maximum

integer

None.

dateCreated

date

None.

enabled

boolean

None.

id

integer

None.

name

string

None.

displayName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "isPseudoHopper": false,
    "deviceId": 2,
    "address": 1,
    "currentTransactionSessionId": 1,
    "currentStatus": null,
    "isDispensing": true,
    "isMaster": true,
    "maximum": 5,
    "dateCreated": "2025-12-10T11:56:06.9815377+00:00",
    "enabled": true,
    "id": 8,
    "name": "sample string 9",
    "displayName": "sample string 10"
  },
  {
    "isPseudoHopper": false,
    "deviceId": 2,
    "address": 1,
    "currentTransactionSessionId": 1,
    "currentStatus": null,
    "isDispensing": true,
    "isMaster": true,
    "maximum": 5,
    "dateCreated": "2025-12-10T11:56:06.9815377+00:00",
    "enabled": true,
    "id": 8,
    "name": "sample string 9",
    "displayName": "sample string 10"
  }
]

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.