How do I find the UniveralType above another UniversalType?
  • 29 Jun 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

How do I find the UniveralType above another UniversalType?

  • Dark
    Light

Article Summary

Use the field "parent".


Use the field "parent" to request the UniversalType which is above in the hierarchy. You can stack "parent" into "parent" to work your way up in the hierarchy..

UniversalTypes have for levels.

query utsAboveOther {
  utsearch(code: "ST05-COLO") {
    content {
      code
      parent {
        code
      }
    }
  }
}

Was this article helpful?