code: public ApiSuccessResponse savePersonalFavorite(PersonalFavoriteData personalFavoriteData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = savePersonalFavoriteWithHttpInfo(personalFavoriteData);
          return resp.getData();
      }
docs: Save a personal favorite
  Save a target to the agent&#39;s personal favorites in the specified category.
  @param personalFavoriteData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body