그룹 목록 조회

권한을 가진 그룹 목록을 조회합니다.

API 계정 그룹의 권한에 따라 해당 그룹 및 하위 그룹의 정보만 조회 가능합니다.

그룹 목록 조회 (전체)

POST /rest/api/groups/list

Headers

Name
Type
Description

apikey*

String

발급된 api key

Request Body

Name
Type
Description

searchAll

boolean

권한이 있는 그룹 전체 조회

기본값 : false

idList*

Array

searchAll이 false 일 때, idList에 있는 그룹 정보만 조회

Request Example

{
    "searchAll":false,		// 권한이 있는 그룹의 전체 조회 옵션
    "idList":[
        {"groupId":1},	        // 특정 그룹 조회
        {"groupId":100}
    ]
}

Response Example

{
    "message": "no permission groupId:100",	// 성공하지 못한 그룹
    "list": [
        {
            "groupId": 1,
            "groupName": "그룹명",
            "urlPath": "SGT_0000000001",
            "createDate": "2024-09-01T09:00:00",
            "groupAdminId": 1,
            "groupAdminLoginId": "your_admin@email.addr",
            "linkedType": null,
            "level": 1,
            "parentGroupId": null,
            "used": true
        },
        ...
    ],
    "searchAll": false,
    "success": true
}

Last updated