Guid
The term Guid
in the Momentum API is a universally unique identifier with contraints detailed below.
The constraints exist mainly due to legacy reasons, we are moving from using two types of identifiers (long + guid) toward only using one type, guid, and therefore must currently differentiate between a number (old id) and guid.
A Guid
is required to meet the following conditions when used with the Momentum API:
- Must be globally unique.
- Must be minimum 21 characters in length
- Must not exceed 64 characters in length
- Must currently only contain the following characters:
[a..z][A..Z][0..9][-]
(may change in the future). - Must currently contain at least one character
[a..z][A..Z]
(it must not contain only numbers)
Example (valid):
123e4567-e89b-12d3-a456-426614174000
1AraGbc45z465a46afaGe
u1mzr-66p635hjha4a6gjkafaa
Example of invalid identifiers:
1234564879789789798789798
(only numbers)-545
(only numbers)1234a
(too short)