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": {}
  }
}
PropertyDescriptionMandatory / Optional
LogoutRequestMandatory

Example response

{
  "SaleToPOIResponse": {
    "MessageHeader": {
      "MessageCategory": "Logout",
      "MessageClass": "Service",
      "MessageType": "Response",
      "POIID": "AT12345",
      "ProtocolVersion": "3.1",
      "SaleID": "ECR123",
      "ServiceID": "2"
    },
    "LogoutResponse": {
      "Response": {
        "Result": "Success"
      }
    }
  }
}
PropertyDescriptionMandatory / Optional
LogoutResponseMandatory
ResponseMandatory
ResultSuccess or FailureMandatory

Did this page help you?