Get Departments

Gets information of departments.
Method GET
URL https://{subdomain}.kintone.com/v1/organizations.json
Authentication Password Authentication
Content-Type  

Permissions

All users other than Guest Users can use this API.

Request Parameters

Parameter Value Required Description
ids Array   A list of Department IDs, as ID types.
Up to 100 ids can be specified.
codes Array   A list of Department Codes, as Strings.
Up to 100 codes can be specified.
offset Integer   The offset.
If ignored, this value is 0.
size Integer   The maximum number of Department information to get.
If ignored, this value is 100.

*If ids and codes are both ignored, up to 100 ids will be responded in ascending order of id.

**If ids and codes are both set, an error will return. Only one can be set.

Sample Request

JavaScript (using kintone REST API Request)

XMLHttpRequest

Response Parameters

Parameter Type Description
organizations Array A list of department information, as organization types, in ascending order of id.

Sample Response

Was this article helpful?
0 out of 0 found this helpful
Comments
Please sign in to leave a comment.