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 Summary
Modifier and TypeMethodDescriptionsaveCompany
(CompanySaveDTO companyDTO) Saves a new company using the provided CompanySaveDTO.saveCourse
(CourseSaveDTO organizationDTO) Saves a new course using the provided CourseSaveDTO.saveCourseOrganization
(CourseOrganizationSaveDTO courseOrganizationSaveDTO) Saves a new course organization using the provided CourseOrganizationSaveDTO.saveUniversity
(UniversitySaveDTO universityDTO) Saves a new university using the provided UniversitySaveDTO.
-
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
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
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.
-