GetMasterTerminalStatus

Check whether the Primary Register of the location is online (connected to the cloud) or offline.

Response Parameters
  • Message string — Returns a PAR POS Error message if the request did not go through. Otherwise, this field will be null.
  • ResultCode int — Returns one of the following:
    • 0 — Success
    • 1 — Unknown Error
    • 2 — Invalid Request
    • 3 — Server Unavailable
    • 4 — Access Denied
  • Status byte — 0=Offline, 1=Online
Headers
  • SOAPAction
    Type: string
    required
Body
required
application/json

SOAP envelope containing the GetMasterTerminalStatus request.

Responses
  • text/xml; charset=utf-8
Request Example for post/GetMasterTerminalStatus
cURL
curl --request POST \
  --url 'https://{server_name_goes_here}.parpos.com/Ordering.svc?GetMasterTerminalStatus' \
  --header 'Content-Type: text/xml; charset=utf-8' \
  --header 'AccessToken: your-access-token' \
  --header 'LocationToken: your-location-token' \
  --header 'SOAPAction: "http://www.brinksoftware.com/webservices/ordering/20140219/IOrderingWebService/GetMasterTerminalStatus"' \
  --data '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.brinksoftware.com/webservices/ordering/20140219">
    <soapenv:Header/>
    <soapenv:Body>
      <ns:GetMasterTerminalStatus/>
    </soapenv:Body>
  </soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <GetMasterTerminalStatusResponse xmlns="http://www.brinksoftware.com/webservices/ordering/20140219">
      <GetMasterTerminalStatusResult>
        <Message>Success</Message>
        <ResultCode>0</ResultCode>
        <Status>1</Status>
      </GetMasterTerminalStatusResult>
    </GetMasterTerminalStatusResponse>
  </s:Body>
</s:Envelope>