netexCloud - Web Services API | Groups Web services | Get root groups

Última modificación:

Get root groups

Returns a list with root groups.

  • URL: /integration/ws/management/rest/groups.roots
  • Method: GET
  • Headers:
    • Accept: version/format header (more info)
    • X-Cloud-Auth-Token*: authorization header (more info)
  • Parameters:
    • startIndex: index of the first group to list
    • count: maximum number of group to list (default and limit 500)
  • Responses:
    • 200: OK. Content: JSON array with root groups data.
  • Response example:
    • Payload: [{"codGroup":"RootX","description":null,"extra":{},"id":"8a80807d5af0355e015af03acd580000","image":{"url":null},"name":"RootX","parentId":null,"roles":{}},{"codGroup":"Root2X","description":null,"extra":{},"id":"8a80807d5af0355e015af0408fac0002","image":{"url":null},"name":"Root2X","parentId":null,"roles":{"management":["user"]}}]

(*) El campo isOrganization solo se devolverá en los grupos raíz de los clientes con multiorganización activada

¿Le resulta útil este artículo?
© 2023 Netex Knowledge Factory. Todos los derechos reservados. Aviso Legal | Política de Privacidad | Política de Cookies.