Web Services API | Groups Web services | Get group admins
Get group admins
Obtains the administrators of a given group.
-
URL: /integration/ws/management/rest/groups/<groupId_or_codGroup>/admins
-
Method: GET
-
Headers:
-
Accept: version/format header (more info).
-
X-Cloud-Auth-Token*: authorization header (more info).
-
Parameters:
-
groupId/codGroup: specified group, included in URL.
-
startIndex: index of the first admin to list
-
count: maximum number of admins to list (default and limit 500)
-
Responses:
-
200: OK. Content: JSON array with admins data.
-
400: Bad request. Wrong or missing parameters.
-
404: Not found. Group not found.
-
Request example:
-
Response example:
[
{
"aboutMe"
:
null
,
"authSource"
:
"LOCAL"
,
"commonId"
:
"3595d6bd211811e88f2d0242ac130002"
,
"email"
:
"no-reply@learningcloud.me"
,
"enabled"
:
true
,
"extendedFields"
: {
"NIVEL_ESTUDIOS"
:
null
,
"NIF"
:
null
,
"NISS"
:
null
,
"FECHA_NACIMIENTO"
:
null
,
"SEXO"
:
null
,
"CIF"
:
null
,
"CTA_COTIZACION"
:
null
,
"GRUPO_COTIZACION"
:
null
,
"Campo_prueba"
:
null
,
"CATEGORIA_PROFESIONAL"
:
null
},
"externalId"
:
null
,
"extra"
: {},
"id"
:
"2c93808360d552d50160da56f90e002d"
,
"image"
: {
"url"
:
"/opt/cloud/repo/netex/2018/04/19/3f64ced6-d4b1-4e8b-8e58-dd2a9bd8df25.png"
},
"interests"
:
null
,
"language"
:
"es"
,
"location"
:
null
,
"mobilePhone"
:
null
,
"name"
:
"Admin Group"
,
"officePhone"
:
null
,
"password"
:
"$2a$10$wE8s0PmgRICOVIJxYRV9Q.aPqoevcheYdGHp3Qt8h3C7sIlA5OYKu"
,
"roles"
: {
"management"
: [
"groupadmin"
],
"training"
: [
"groupadmin"
]
},
"surname"
:
"Two"
,
"timezone"
:
"Europe/Paris"
,
"username"
:
"admingroup2"
},
{
"aboutMe"
:
null
,
"authSource"
:
"LOCAL"
,
"commonId"
:
"7f46f5ee53584f08b156c120d11cf0e9"
,
"email"
:
"no-reply@learningcloud.me"
,
"enabled"
:
true
,
"extendedFields"
: {
"NIVEL_ESTUDIOS"
:
null
,
"NIF"
:
null
,
"NISS"
:
null
,
"FECHA_NACIMIENTO"
:
null
,
"SEXO"
:
null
,
"CIF"
:
null
,
"CTA_COTIZACION"
:
null
,
"GRUPO_COTIZACION"
:
null
,
"Campo_prueba"
:
null
,
"CATEGORIA_PROFESIONAL"
:
null
},
"externalId"
:
null
,
"extra"
: {},
"id"
:
"2c9380836418948201641bc818da0002"
,
"image"
: {
"url"
:
null
},
"interests"
:
null
,
"language"
:
"es"
,
"location"
:
null
,
"mobilePhone"
:
null
,
"name"
:
"Admin"
,
"officePhone"
:
null
,
"password"
:
"$2a$10$ORTZDtSsAW/gURxU42PAbusq.OEP//pL7Cnu035UCtiU9vVnABPBS"
,
"roles"
: {
"management"
: [
"groupadmin"
],
"training"
: [
"groupadmin"
]
},
"surname"
:
"Group"
,
"timezone"
:
"Europe/Paris"
,
"username"
:
"admin.group"
},
{
"aboutMe"
:
null
,
"authSource"
:
"LOCAL"
,
"commonId"
:
"4daa4718583c466cb896c79651075510"
,
"email"
:
"aida.aljan@netexlearning.com"
,
"enabled"
:
true
,
"extendedFields"
: {
"NIVEL_ESTUDIOS"
:
null
,
"NIF"
:
null
,
"NISS"
:
null
,
"FECHA_NACIMIENTO"
:
null
,
"SEXO"
:
null
,
"CIF"
:
null
,
"CTA_COTIZACION"
:
null
,
"GRUPO_COTIZACION"
:
null
,
"Campo_prueba"
:
null
,
"CATEGORIA_PROFESIONAL"
:
null
},
"externalId"
:
null
,
"extra"
: {},
"id"
:
"2c96808869101d4f01691075758a0002"
,
"image"
: {
"url"
:
null
},
"interests"
:
null
,
"language"
:
"es"
,
"location"
:
null
,
"mobilePhone"
:
null
,
"name"
:
"Aida"
,
"officePhone"
:
null
,
"password"
:
"$2a$10$./c8F0Kba1eA8ALYAwbALea7vRyEYhyxUi0HQxPdcYw23pd4YmoXW"
,
"roles"
: {
"training"
: [
"groupadmin"
]
},
"surname"
:
"Alján"
,
"timezone"
:
"Europe/Paris"
,
"username"
:
"admingrupos"
}
]