Interface IEnvironmentClientService


@FeignClient(name="${environment.name}", url="${environment.url}") public interface IEnvironmentClientService
Interface representing the Feign client service for interacting with the environment-related APIs.
  • Method Details

    • saveUniversity

      @PostMapping("save/university") UniversityDTO saveUniversity(@RequestBody UniversitySaveDTO universityDTO)
      Saves a new university using the provided UniversitySaveDTO.
      Parameters:
      universityDTO - The UniversitySaveDTO object containing university data to be saved.
      Returns:
      A UniversityDTO representing the saved university.
    • saveCourse

      @PostMapping("save/course") CourseDTO saveCourse(@RequestBody CourseSaveDTO organizationDTO)
      Saves a new course using the provided CourseSaveDTO.
      Parameters:
      organizationDTO - The CourseSaveDTO object containing course data to be saved.
      Returns:
      A CourseDTO representing the saved course.
    • saveCompany

      @PostMapping("save/company") CompanyDTO saveCompany(@RequestBody CompanySaveDTO companyDTO)
      Saves a new company using the provided CompanySaveDTO.
      Parameters:
      companyDTO - The CompanySaveDTO object containing company data to be saved.
      Returns:
      A CompanyDTO representing the saved company.
    • saveCourseOrganization

      @PostMapping("save/course-organization") CourseOrganizationDTO saveCourseOrganization(@RequestBody CourseOrganizationSaveDTO courseOrganizationSaveDTO)
      Saves a new course organization using the provided CourseOrganizationSaveDTO.
      Parameters:
      courseOrganizationSaveDTO - The CourseOrganizationSaveDTO object containing course organization data to be saved.
      Returns:
      A CourseOrganizationDTO representing the saved course organization.