Skip to main content

DivisionResponse

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

union DivisionResponse = BadRequestError | Division | InternalServerError

Possible types

DivisionResponse.BadRequestError object

Returned when there is an error in the request.

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.InternalServerError object

Returned when an error is encountered that is not expected.

Returned By

division query