Logout
End session between ECR and terminal.
A logout message terminates the active session between the ECR and the terminal, and ensures that any established session context and negotiated capabilities are cleared. Logout should be performed when communication is complete, after which a new login is required before any further requests can be sent.
Example request
{
"SaleToPOIRequest": {
"MessageHeader": {
"ProtocolVersion": "3.1",
"ServiceID": "2",
"MessageClass": "Service",
"MessageCategory": "Logout",
"MessageType": "Request",
"SaleID": "ECR123",
"POIID": "AT12345"
},
"LogoutRequest": {}
}
}| Property | Description | Mandatory / Optional |
|---|---|---|
| LogoutRequest | Mandatory |
Example response
{
"SaleToPOIResponse": {
"MessageHeader": {
"MessageCategory": "Logout",
"MessageClass": "Service",
"MessageType": "Response",
"POIID": "AT12345",
"ProtocolVersion": "3.1",
"SaleID": "ECR123",
"ServiceID": "2"
},
"LogoutResponse": {
"Response": {
"Result": "Success"
}
}
}
}
| Property | Description | Mandatory / Optional |
|---|---|---|
| LogoutResponse | Mandatory | |
| Response | Mandatory | |
| Result | Success or Failure | Mandatory |
Updated 13 days ago
Did this page help you?