GET api/NewOrderedId

/api/NewOrderedId

Creates a new time-ordered 16-byte ID with the UUID format.
The upper 8 bytes represent ticks of date/time (by 10-7 second) and the other 8 bytes are randomly generated.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A pair of the ID and the created date/time.

GuidWithDateTime
NameDescriptionTypeAdditional information
Guid

globally unique identifier

None.

DateTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "08dd52a3-19ff-4988-bc1b-1e4d9ed77856",
  "DateTime": "2025-02-21T18:11:02.5786248Z"
}