Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add Enabled flag to Machine GET+POST

...

Field NameTypeDescriptionNotes
IDintMachine Rec ID
LocationIDintLocation Rec ID
MachNostringMachine number


LabelstringMachine label
EquipIDintEquipment Rec ID
StatusintMachine status code

0 = Machine offline
1 = Machine disabled
2 = Machine online but idle
3 = Machine running
4 = Machine in diagnostic mode
5 = Duplicate machine number detected
6 = Machine error
100 = Requested firmware doesn't exist
101 = Firmware downloading to satellite
102 = Firmware downloading to reader

EnabledboolMachine enabled
VendAllowedboolMachine vend allowed
UserActiveboolUser is active on machine
FinishTimeDateTimeEstimated finish time (UTC)
PriceDecimalCurrent start price
ModelstringModel number
SerialNumberstringSerial number
InServiceDateDateTimeIn-Service date (UTC)
LastServiceDateDateTimeLast service date (UTC)
NotesstringMachine notes
PairedMachineIDintPaired Machine Rec IDnull = no pair
PocketintPocket Configurationnull = no pocket configuration
1 = Top pocket
2 = Bottom pocket
WifiAffinityintReader wifi affinity indexnull = None assigned
1-4 = Assigned affinity

...

NameTypeDescriptionNotes
LabelstringMachine labelLimited to 32 characters
ModelstringModel numberLimited to 50 characters
SerialNumberstringSerial numberLimited to 50 characters
InServiceDateDateTimeIn-Service date (UTC)Needs to be in ISO 8601 format
YYYY-MM-DDThh:mm:ss
LastServiceDateDateTimeLast service date (UTC)
EnabledboolMachine enabled
NotesstringMachine notes


See example requests below:

...