GET api/NewOrderedId2/sqlserver

/api/NewOrderedId2/sqlserver

Creates a new time-ordered 16-byte ID with the UUID format, which is ordered for the uniqueidentifier data type of the SQL Server.
The lower 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": "2a7280f3-6e8a-347b-d9d8-8de2b3d8cecc",
  "DateTime": "2025-11-24T09:40:49.0515226Z"
}