Get server timestamp

GET /closeAPI/api/close/common/server-timestamp

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • time string(date-time)
    • timezone object
      Hide timezone attributes Show timezone attributes object
      • id string
      • rules object
        Hide rules attributes Show rules attributes object
        • fixedOffset boolean
        • transitions array[object]
          Hide transitions attributes Show transitions attributes object
          • offsetBefore object
            Hide offsetBefore attributes Show offsetBefore attributes object
            • totalSeconds integer(int32)
            • id string
          • offsetAfter object
            Hide offsetAfter attributes Show offsetAfter attributes object
            • totalSeconds integer(int32)
            • id string
          • duration object
            Hide duration attributes Show duration attributes object
            • seconds integer(int64)
            • zero boolean
            • nano integer(int32)
            • negative boolean
            • positive boolean
            • units array[object]
              Hide units attributes Show units attributes object
              • durationEstimated boolean
              • timeBased boolean
              • dateBased boolean
          • gap boolean
          • dateTimeAfter string(date-time)
          • dateTimeBefore string(date-time)
          • overlap boolean
          • instant string(date-time)
        • transitionRules array[object]
          Hide transitionRules attributes Show transitionRules attributes object
          • month string

            Values are JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, or DECEMBER.

          • timeDefinition string

            Values are UTC, WALL, or STANDARD.

          • standardOffset object
            Hide standardOffset attributes Show standardOffset attributes object
            • totalSeconds integer(int32)
            • id string
          • offsetBefore object
            Hide offsetBefore attributes Show offsetBefore attributes object
            • totalSeconds integer(int32)
            • id string
          • offsetAfter object
            Hide offsetAfter attributes Show offsetAfter attributes object
            • totalSeconds integer(int32)
            • id string
          • dayOfWeek string

            Values are MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY.

          • dayOfMonthIndicator integer(int32)
          • localTime object
            Hide localTime attributes Show localTime attributes object
            • hour integer(int32)
            • minute integer(int32)
            • second integer(int32)
            • nano integer(int32)
          • midnightEndOfDay boolean
    • locale string
GET /closeAPI/api/close/common/server-timestamp
curl \
 --request GET 'https://customer.trintech.com/closeAPI/api/close/common/server-timestamp'
Response examples (200)
{
  "time": "2025-05-04T09:42:00Z",
  "timezone": {
    "id": "string",
    "rules": {
      "fixedOffset": true,
      "transitions": [
        {
          "offsetBefore": {
            "totalSeconds": 42,
            "id": "string"
          },
          "offsetAfter": {
            "totalSeconds": 42,
            "id": "string"
          },
          "duration": {
            "seconds": 42,
            "zero": true,
            "nano": 42,
            "negative": true,
            "positive": true,
            "units": [
              {
                "durationEstimated": true,
                "timeBased": true,
                "dateBased": true
              }
            ]
          },
          "gap": true,
          "dateTimeAfter": "2025-05-04T09:42:00Z",
          "dateTimeBefore": "2025-05-04T09:42:00Z",
          "overlap": true,
          "instant": "2025-05-04T09:42:00Z"
        }
      ],
      "transitionRules": [
        {
          "month": "JANUARY",
          "timeDefinition": "UTC",
          "standardOffset": {
            "totalSeconds": 42,
            "id": "string"
          },
          "offsetBefore": {
            "totalSeconds": 42,
            "id": "string"
          },
          "offsetAfter": {
            "totalSeconds": 42,
            "id": "string"
          },
          "dayOfWeek": "MONDAY",
          "dayOfMonthIndicator": 42,
          "localTime": {
            "hour": 42,
            "minute": 42,
            "second": 42,
            "nano": 42
          },
          "midnightEndOfDay": true
        }
      ]
    }
  },
  "locale": "string"
}