GetTables

This call is to retrieve a collection of Table object setup at the location.(Only used for Table Service locations)

Response Parameters
  • Id int — Unique Id of this Table
  • Name string — Name of this Table
  • Capacity int — Allowed number of seats for this Table
  • IsActive boolTrue if this Table is active, False if not
Headers
  • SOAPAction
    Type: string
    required
Body
required
application/json

SOAP envelope for GetTables request. No parameters required.

Responses
  • text/xml; charset=utf-8
Request Example for post/GetTables
cURL
curl --request POST \
  --url 'https://{server_name_goes_here}.parpos.com/Settings2.svc?GetTables' \
  --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/settings/v2/ISettingsWebService2/GetTables"' \
  --data '<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v2="http://www.brinksoftware.com/webservices/settings/v2">
    <soapenv:Header/>
    <soapenv:Body>
      <v2:GetTables/>
    </soapenv:Body>
  </soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <Settings2_GetTablesResponse xmlns="http://www.brinksoftware.com/webservices/settings/v2">
      <Settings2_GetTablesResult>
        <Message>Success</Message>
        <ResultCode>0</ResultCode>
        <Tables>
          <Table>
            <Capacity>4</Capacity>
            <Id>1</Id>
            <IsActive>true</IsActive>
            <Name>Table 1</Name>
          </Table>
        </Tables>
      </Settings2_GetTablesResult>
    </Settings2_GetTablesResponse>
  </s:Body>
</s:Envelope>