4.3.2.1 Add members to a department (by member ID)

POST /rest/orgwise/3/department/{id}/member/ids

DESCRIPTION

Add members to a department by their member ID. Multiple members can be added at one API call.

MEDIA TYPE

application/json

PATH PARAM

Param

Description

Required

Param

Description

Required

id

The ID or No. of a department.

Required

REQUEST BODY

{ "members": "1, 4, 8" }

BODY PARAM

Param

Type

Description

Required

Param

Type

Description

Required

members

string

IDs of members to be added to the department, saperated by “,“.

Required

RESPONSE

{ "code": 0, "msg": "Success" }