GET api/NewOrderedId2

/api/NewOrderedId2

Creates a new time-ordered 16-byte ID with the UUID format.
The upper 6 bytes represent ticks of date/time (by about 10-3 second) and the other 10 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": "8dd3762d-cecc-f88d-da6a-21d252fb4886",
  "DateTime": "2025-01-18T01:53:10.9305815Z"
}