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

Última modificación:

Get ancestor groups

Get ancestor groups of the selected group.

  • URL: /integration/ws/management/rest/groups/<id_grupo_o_codGroup>/ancestors
  • Method: GET
  • Headers:
    • Accept: version/format header (more info)
    • X-Cloud-Auth-Token*: authorization header (more info)
  • Parameters:
    • id or codGroup, included in URL
    • startIndex: index of the first group to list
    • count: maximum number of groups to list (default and limit 500)
  • Responses:
    • 200: OK. Content: JSON array with groups data.
  • Request example:
  • Response example:
    • Payload: [{"codGroup":"root1","description":"bla bla bla bla bla bla bla bla bla bla balb bla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla balbbla bla bla bla bla bla bla bla bla bla bal","extra":{},"id":"8a80807d5ab3d79f015ab3dcb2110000","image":{"url":null},"name":"Baloncesto","parentId":null,"roles":{}},{"codGroup":"teachers3","description":"Users included in this group will have LMS trainer role.","extra":{},"id":"8a80807d5bd29c2f015bd30bded00001","image":{"url":"http://zblogged.com/wp-content/uploads/2015/11/17.jpg"},"name":"Teachers group aaaaa","parentId":"root1","roles":{"training":["trainer"]}}]

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


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