Member Batch Creation (Custom Role) APIAPI Explorer
Introduction
API Introduction
Member Batch Creation API (Custom Role) enables you to batch add members under a custom role.
API Calling
The API enables you to batch add members under a custom role.
Request URL: https://api.jodoo.com/api/v5/corp/role/add_members
Request Frequency: 10 times/second
Request Method: POST
Request Parameters:
Parameter | Type | Required | Description |
role_no | Number | Yes | Role number. For example, 3. |
usernames | String | Yes | Employee number |
Sample Request:
{
"role_no": 3,
"usernames": [
"fr0005",
"fr008"
]
}
Response:
Parameter | Type | Required | Description |
status | String | No | Return request results |
Sample Response:
{
"status": "success"
}