Information on this page is only applicable to M-Files (server) version 12.0.6783.0 and higher.

Value list ID by alias

/structure/valuelists/itemidbyalias/(alias)

Resolves a single value list alias to its ID.

The alias should be URI-encoded. If resolving multiple aliases, or your alias contains the character \, then it is recommended to use /structure/valuelists/itemidbyalias, or /structure/metadatastructure/itemidbyalias.

GET

Output: int
  Returns the ID of value list with the given alias, or -1 if none could be found.

If multiple value lists have the same alias then -1 will be returned.