Skip to main content

DivisionResponse

A union representing the possible return types when querying for a Division

union DivisionResponse =
| Division
| BadRequestError
| InternalServerError

Possible types

DivisionResponse.Division object

A Division is a subdivision of an Organization — for example, a department, office, or business unit that needs its own benefit packages, members, or bank accounts.

DivisionResponse.BadRequestError object

Returned when there is an error in the request.

DivisionResponse.InternalServerError object

Returned when an error is encountered that is not expected.

Returned By

division query