POST api/ImportHelloTess

POST api/ImportHelloTess

Import Sales from HelloTess

Request Information

URI Parameters

None.

Body Parameters

object of type ImportHelloTess

ImportHelloTess
NameDescriptionTypeAdditional information
event

HTEvent

None.

customer

Customer

None.

data

Data

None.

Request Formats

application/json, text/json

Sample:
{
  "event": {
    "type": 1,
    "guid": "sample string 2",
    "order": 3
  },
  "customer": {
    "identifier": "sample string 1",
    "url": "sample string 2",
    "port": "sample string 3"
  },
  "data": {
    "id": "sample string 1",
    "uid": "sample string 2",
    "number": "sample string 3",
    "cancelled": true,
    "date": "2026-04-14T03:14:28.7256692+00:00",
    "dateAdded": "2026-04-14T03:14:28.7256692+00:00",
    "numberOfGuests": 7,
    "location": {
      "store": {
        "id": "sample string 1",
        "name": "sample string 2",
        "number": 3,
        "active": true
      },
      "terminal": {
        "id": "sample string 1",
        "storeId": "sample string 2",
        "name": "sample string 3",
        "ip": "sample string 4",
        "port": "sample string 5",
        "master": true,
        "terminalNumber": 7,
        "externalPLU": "sample string 8",
        "defaultTableId": "sample string 9",
        "iosVersion": "sample string 10",
        "tessVersion": "sample string 11",
        "cdVersion": "sample string 12",
        "lastSync": {
          "DateValue": "sample string 1"
        },
        "active": true,
        "deviceId": "sample string 14"
      },
      "shift": {
        "id": "sample string 1",
        "number": 2,
        "status": 3,
        "start": "2026-04-14T03:14:28.7256692+00:00",
        "_end": "2026-04-14T03:14:28.7256692+00:00"
      },
      "table": {
        "id": "sample string 1",
        "name": "sample string 2",
        "roomId": "sample string 3",
        "storeId": "sample string 4",
        "externalPLU": {},
        "active": true
      },
      "signature": {}
    },
    "articles": [
      {
        "id": "sample string 1",
        "articleGroupId": "sample string 2",
        "plu": "sample string 3",
        "name": "sample string 4",
        "basePrice": 5,
        "price": 6,
        "quantity": 7,
        "totalPrice": 8,
        "taxRate": 9,
        "dateAdded": "2026-04-14T03:14:28.736822+00:00",
        "isTakeAway": true
      },
      {
        "id": "sample string 1",
        "articleGroupId": "sample string 2",
        "plu": "sample string 3",
        "name": "sample string 4",
        "basePrice": 5,
        "price": 6,
        "quantity": 7,
        "totalPrice": 8,
        "taxRate": 9,
        "dateAdded": "2026-04-14T03:14:28.736822+00:00",
        "isTakeAway": true
      }
    ],
    "payment": {
      "waiter": {
        "id": "sample string 1",
        "firstName": "sample string 2",
        "surname": "sample string 3",
        "employeeNumber": {},
        "waiterNumber": {},
        "active": true,
        "email": {},
        "roleId": "sample string 8",
        "personnelNumber": {},
        "mustChangePin": 10,
        "activeStores": {}
      },
      "cashChangeCurrency": "sample string 1",
      "cashChangeExchanged": 2,
      "cashTenderedCurrency": "sample string 3",
      "cashTenderedExchanged": 4,
      "discount": {},
      "methods": [
        {
          "id": "sample string 1",
          "name": "sample string 2",
          "gross": 3,
          "card": {
            "number": "sample string 1",
            "balance": {
              "before": 1,
              "after": 2
            },
            "restant": {}
          }
        },
        {
          "id": "sample string 1",
          "name": "sample string 2",
          "gross": 3,
          "card": {
            "number": "sample string 1",
            "balance": {
              "before": 1,
              "after": 2
            },
            "restant": {}
          }
        }
      ],
      "qrcode": "sample string 5",
      "userGroup": {
        "id": "sample string 1",
        "mainGroupId": "sample string 2",
        "mainGroupNumber": 3,
        "subgroupNumber": 4,
        "subgroupName": "sample string 5",
        "type": 6,
        "priceListId": "sample string 7",
        "hospitalityUserGroupId": {},
        "active": true
      }
    },
    "taxRates": [
      {
        "rate": 1,
        "gross": 2,
        "net": 3,
        "tax": 4
      },
      {
        "rate": 1,
        "gross": 2,
        "net": 3,
        "tax": 4
      }
    ],
    "totals": {
      "gross": 1,
      "net": 2,
      "tax": 3,
      "subvention": 4,
      "surcharge": 5
    },
    "customer": {
      "firstName": "sample string 1",
      "surname": "sample string 2",
      "company": "sample string 3",
      "address1": "sample string 4",
      "address2": "sample string 5",
      "postalCode": "sample string 6",
      "city": "sample string 7",
      "country": "sample string 8"
    }
  }
}

application/xml, text/xml

Sample:
<ImportHelloTess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <customer>
    <identifier>sample string 1</identifier>
    <port>sample string 3</port>
    <url>sample string 2</url>
  </customer>
  <data>
    <articles>
      <Article>
        <articleGroupId>sample string 2</articleGroupId>
        <basePrice>5</basePrice>
        <dateAdded>2026-04-14T03:14:28.736822+00:00</dateAdded>
        <id>sample string 1</id>
        <isTakeAway>true</isTakeAway>
        <name>sample string 4</name>
        <plu>sample string 3</plu>
        <price>6</price>
        <quantity>7</quantity>
        <taxRate>9</taxRate>
        <totalPrice>8</totalPrice>
      </Article>
      <Article>
        <articleGroupId>sample string 2</articleGroupId>
        <basePrice>5</basePrice>
        <dateAdded>2026-04-14T03:14:28.736822+00:00</dateAdded>
        <id>sample string 1</id>
        <isTakeAway>true</isTakeAway>
        <name>sample string 4</name>
        <plu>sample string 3</plu>
        <price>6</price>
        <quantity>7</quantity>
        <taxRate>9</taxRate>
        <totalPrice>8</totalPrice>
      </Article>
    </articles>
    <cancelled>true</cancelled>
    <customer>
      <address1>sample string 4</address1>
      <address2>sample string 5</address2>
      <city>sample string 7</city>
      <company>sample string 3</company>
      <country>sample string 8</country>
      <firstName>sample string 1</firstName>
      <postalCode>sample string 6</postalCode>
      <surname>sample string 2</surname>
    </customer>
    <date>2026-04-14T03:14:28.7256692+00:00</date>
    <dateAdded>2026-04-14T03:14:28.7256692+00:00</dateAdded>
    <id>sample string 1</id>
    <location>
      <shift>
        <_end>2026-04-14T03:14:28.7256692+00:00</_end>
        <id>sample string 1</id>
        <number>2</number>
        <start>2026-04-14T03:14:28.7256692+00:00</start>
        <status>3</status>
      </shift>
      <signature />
      <store>
        <active>true</active>
        <id>sample string 1</id>
        <name>sample string 2</name>
        <number>3</number>
      </store>
      <table>
        <active>true</active>
        <externalPLU />
        <id>sample string 1</id>
        <name>sample string 2</name>
        <roomId>sample string 3</roomId>
        <storeId>sample string 4</storeId>
      </table>
      <terminal>
        <active>true</active>
        <cdVersion>sample string 12</cdVersion>
        <defaultTableId>sample string 9</defaultTableId>
        <deviceId>sample string 14</deviceId>
        <externalPLU>sample string 8</externalPLU>
        <id>sample string 1</id>
        <iosVersion>sample string 10</iosVersion>
        <ip>sample string 4</ip>
        <lastSync>
          <DateValue>sample string 1</DateValue>
        </lastSync>
        <master>true</master>
        <name>sample string 3</name>
        <port>sample string 5</port>
        <storeId>sample string 2</storeId>
        <terminalNumber>7</terminalNumber>
        <tessVersion>sample string 11</tessVersion>
      </terminal>
    </location>
    <number>sample string 3</number>
    <numberOfGuests>7</numberOfGuests>
    <payment>
      <cashChangeCurrency>sample string 1</cashChangeCurrency>
      <cashChangeExchanged>2</cashChangeExchanged>
      <cashTenderedCurrency>sample string 3</cashTenderedCurrency>
      <cashTenderedExchanged>4</cashTenderedExchanged>
      <discount />
      <methods>
        <Method>
          <card>
            <balance>
              <after>2</after>
              <before>1</before>
            </balance>
            <number>sample string 1</number>
            <restant />
          </card>
          <gross>3</gross>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </Method>
        <Method>
          <card>
            <balance>
              <after>2</after>
              <before>1</before>
            </balance>
            <number>sample string 1</number>
            <restant />
          </card>
          <gross>3</gross>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </Method>
      </methods>
      <qrcode>sample string 5</qrcode>
      <userGroup>
        <active>true</active>
        <hospitalityUserGroupId />
        <id>sample string 1</id>
        <mainGroupId>sample string 2</mainGroupId>
        <mainGroupNumber>3</mainGroupNumber>
        <priceListId>sample string 7</priceListId>
        <subgroupName>sample string 5</subgroupName>
        <subgroupNumber>4</subgroupNumber>
        <type>6</type>
      </userGroup>
      <waiter>
        <active>true</active>
        <activeStores />
        <email />
        <employeeNumber />
        <firstName>sample string 2</firstName>
        <id>sample string 1</id>
        <mustChangePin>10</mustChangePin>
        <personnelNumber />
        <roleId>sample string 8</roleId>
        <surname>sample string 3</surname>
        <waiterNumber />
      </waiter>
    </payment>
    <taxRates>
      <Taxrate>
        <gross>2</gross>
        <net>3</net>
        <rate>1</rate>
        <tax>4</tax>
      </Taxrate>
      <Taxrate>
        <gross>2</gross>
        <net>3</net>
        <rate>1</rate>
        <tax>4</tax>
      </Taxrate>
    </taxRates>
    <totals>
      <gross>1</gross>
      <net>2</net>
      <subvention>4</subvention>
      <surcharge>5</surcharge>
      <tax>3</tax>
    </totals>
    <uid>sample string 2</uid>
  </data>
  <event>
    <guid>sample string 2</guid>
    <order>3</order>
    <type>1</type>
  </event>
</ImportHelloTess>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.