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": "08dc60df-c821-8e68-b2fb-e403806da1a9",
  "DateTime": "2024-04-20T02:15:43.1383656Z"
}