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": "08dd09fb-44d0-cd05-fb57-ede307d2d5a4",
  "DateTime": "2024-11-21T07:08:15.2454405Z"
}