
3 - MagneFlex Powder Resources
SDK - MagneFlex Powder, MIddleware,| PIN PEDs | Programmer’s Manual (MagneFlex API)
Page 27
CloseDevice
Flag which determines whether the connection to the device
will be closed
after the request is processed. Default value is “false”.
“false” = Do no close the device.
“true” = Close device.
EndSession
Flag which determines whether an EndSession command is
sent to the
device after the request is processed. Default value is “false”.
When set to
false, this flag may facilitate the display of a custom message
after a
request is processed.
“false” = Do no end the session.
“true” = End the session.
Return Value:
The Transaction output
{“TransactionOutput”: {}}
3.9
ReleaseDevice
Closes the connection to the device.
Using Method POST:
api/mtppscrahost/ReleaseDevice();
Return Value:
None.
3.10
RequestSendCommand
Sends a command to device and returns the raw response from device.
Using Method POST:
api/mtppscrahost/RquestSendCommand(
string DeviceID,
int WaitTime,
string Data,
enum RequestType,
string WaitForReport,
boolean CloseDevice,
boolean EndSession);