API
User Manual
  • Introduction to API v2
  • Guides
    • Getting started
    • Authorization
    • Delivery Notes Integrations
  • API Reference
    • General
      • Data types
        • Validation
        • Prices
      • Schema
      • Flags
      • ETags
        • ETag examples
      • Filtering
      • Sorting
      • Paging
      • Methods
      • HTTP Status Codes
    • Enums
      • Payment methods
      • Units
      • Order status
  • Entity
    • Attendance
    • Branch
    • Category
    • Cloud
    • Course
    • Customer
    • Customer Account
    • Customer Account Log
    • Daily Menu
    • Daily Menu Product
    • Delivery Note
    • Discount group
    • EET subject
    • Employee
    • Money log
    • Order
    • Order item
    • Product
    • Product Customization
    • Product Ingredient
    • Reservation
    • Stock Packaging
    • Supplier
    • Table
    • Tag
    • Tax (VAT rates)
    • Warehouse
    • Warehouse Branch
  • Others
    • Reports
      • Base Sales Report
    • POS actions
    • Release notes
    • Breaking changes
    • Webhook
    • Third-party libraries
  • Migration
    • Migrating from API v1
    • API v1 Services
      • Branch Service
      • Category Service
      • Customer Service
      • Employee Service
      • OAuth2 Login Service
      • POS action service
      • Product Service
      • Reservation Service
      • Sale Service
      • Stock Service
      • Supplier Service
      • Tableseat Service
      • Tag Service
      • Warehouse Service
Powered by GitBook
On this page
  • Timestamp
  • Number

Was this helpful?

Export as PDF
  1. API Reference
  2. General

Data types

PreviousGeneralNextValidation

Last updated 4 years ago

Was this helpful?

Timestamp

Timestamp (timestamp) values in filters and in the request body are accepted in these formats:

Unix time

long integer indicating the (00:00:00 UTC on 1st January 1970)

ISO 8601 (UTC)

date-time in the UTC time zone in formatYYYY-MM-DDThh:mm:ss.SSSZ

ISO 8601 (custom time zone)

date-time with a custom time zone YYYY-MM-DDThh:mm:ss.SSS+01:00

Number

All numbers (short, integer, double, long) in the response are represented as strings for safe compatibility with JavaScript or systems with no support for long numbers.

Type

Size

short

2 bytes

integer

4 bytes

float

4 bytes

double

8 bytes

long

8 bytes

number of milliseconds since Epoch
ISO 8601
ISO 8601