GET /account-types
Get a paginated list of account types
Authentication Required
Authorization: Bearer {token}
header string This header is required to access this endpoint
Optional Parameters
Click here to view an exhaustive list of all available parameters
page
query integer Page number
pageSize
query integer Number of account types per page
Try it out
Loading...
Output:
Responses
Description
Successful response
{ "data": [ { "id": 0, "name": "string", "accountTypeTemplate": false } ], "totalCount": 0, "totalPages": 0, "currentPage": 0}Description
Unauthorized - User not authenticated
Description
Internal server error
References
#/components/schemas/AccountType
type: objectproperties: id: type: integer name: type: string accountTypeTemplate: type: booleanrequired: - id - name|export interface AccountType { id: number; name: string; accountTypeTemplate?: boolean;}Route Source Code
Check out the source code for this route entrypoint here: /account-types/route.ts
Or the swagger.yaml spec this documentation was generated from:
/account-types/swagger.yaml