Skip to main content

ApiResponseDTOListCategoryDTO

Standard API response wrapper for all endpoints.

successboolean

Indicates whether the operation was successful

Example: true
data object[]

Payload returned by the API. The content varies depending on the endpoint.

  • Array [
  • idinteger<int64>

    Unique identifier of the category

    Example: 1
    userIDstringrequired

    ID of the user who owns this category

    Example: USR123
    codestringrequired

    Code identifying the category (e.g., internal or functional code)

    Example: FOOD
    namestringrequired

    Display name of the category

    Example: Food & Dining
  • ]
  • messagestring

    Human-readable message describing the result

    Example: Operation completed successfully
    ApiResponseDTOListCategoryDTO
    {
    "success": true,
    "data": [
    {
    "id": 1,
    "userID": "USR123",
    "code": "FOOD",
    "name": "Food & Dining"
    }
    ],
    "message": "Operation completed successfully"
    }