Class InterventionApi
java.lang.Object
overit.geocallapp.wfm.cee.CeeBaseClient
overit.geocallapp.wfm.cee.rs1.intervention.InterventionApi
Spring RestClient for CEE intervention resource
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.cee.CeeBaseClient
notExplodedParameterSerializer -
Constructor Summary
ConstructorsConstructorDescriptionInterventionApi(overit.geocall.spring.serializer.NotExplodedParameterSerializer<Object> notExplodedParameterSerializer) Constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> addIntervention(DTOInterventionInsert request) Adds a new intervention in CEE.org.springframework.http.ResponseEntity<Void> appointmentCancellation(Long id, DTOInterventionStatusChange request) Cancels an appointment in CEE.org.springframework.http.ResponseEntity<Void> appointmentChange(Long id, DTOPlanningRequest request) Modifies an existing appointment in CEE.org.springframework.http.ResponseEntity<Void> appointmentOutcome(Long id, DTOInterventionOutcome request) Creates an appointment outcome in CEE.org.springframework.http.ResponseEntity<Void> It allows to update the technician's location coordinates.getCustomerNotes(Long id, Page page, DTOCustomerNoteSearchFilter filter) It allows to search (filtered) customer notes.getIntervention(Long id) It allows to search intervention by id.getIntervention(Page page, DTOInterventionSearchFilter filter) It allows to search (filtered) interventions.getSurveys(Page page, DTOSurveySearchFilter filter) It allows to search surveys filtered by intervention ids.org.springframework.http.ResponseEntity<Void> interventionCancellationDone(Long id, DTOInterventionStatusChange request) It allows to notify that the cancellation request was accepted and executed.org.springframework.http.ResponseEntity<Void> It allows to notify that the cancellation request was refused (not executed).org.springframework.http.ResponseEntity<Void> newAppointment(Long id, DTOPlanningRequest request) Creates a new appointment in CEE.org.springframework.http.ResponseEntity<Void> takingInCharge(Long id, DTOInChargeRequest request) Taking in charge.org.springframework.http.ResponseEntity<Void> vcAppointmentActivation(Long id, DTOVCAppointmentActivationRequest request) org.springframework.http.ResponseEntity<Void> vcAppointmentCreation(Long id, DTOVCAppointmentCreationRequest request) Methods inherited from class overit.geocallapp.wfm.cee.CeeBaseClient
getConfig
-
Constructor Details
-
InterventionApi
@Autowired public InterventionApi(overit.geocall.spring.serializer.NotExplodedParameterSerializer<Object> notExplodedParameterSerializer) Constructor- Parameters:
notExplodedParameterSerializer- the not exploded parameter serializer
-
-
Method Details
-
addIntervention
Adds a new intervention in CEE.- Parameters:
request- the request- Returns:
- the response
-
newAppointment
public org.springframework.http.ResponseEntity<Void> newAppointment(Long id, DTOPlanningRequest request) Creates a new appointment in CEE.- Parameters:
id- intervention identifierrequest- the request- Returns:
- the response
-
appointmentChange
public org.springframework.http.ResponseEntity<Void> appointmentChange(Long id, DTOPlanningRequest request) Modifies an existing appointment in CEE.- Parameters:
id- intervention identifierrequest- the request- Returns:
- the response
-
appointmentCancellation
public org.springframework.http.ResponseEntity<Void> appointmentCancellation(Long id, DTOInterventionStatusChange request) Cancels an appointment in CEE.- Parameters:
id- intervention identifierrequest- the request- Returns:
- the response
-
appointmentOutcome
public org.springframework.http.ResponseEntity<Void> appointmentOutcome(Long id, DTOInterventionOutcome request) Creates an appointment outcome in CEE.- Parameters:
id- intervention identifierrequest- the request- Returns:
- the response
-
takingInCharge
public org.springframework.http.ResponseEntity<Void> takingInCharge(Long id, DTOInChargeRequest request) Taking in charge.- Parameters:
id- the idrequest- the request- Returns:
- the response
-
getIntervention
It allows to search intervention by id.- Parameters:
id- the intervention id- Returns:
- the intervention
-
getIntervention
It allows to search (filtered) interventions.- Parameters:
page- the pagefilter- the filter- Returns:
- the interventions
-
interventionCancellationDone
public org.springframework.http.ResponseEntity<Void> interventionCancellationDone(Long id, DTOInterventionStatusChange request) It allows to notify that the cancellation request was accepted and executed.- Parameters:
id- the idrequest- the request- Returns:
- the response
-
interventionCancellationRefused
public org.springframework.http.ResponseEntity<Void> interventionCancellationRefused(Long id, DTOInterventionStatusChange request) It allows to notify that the cancellation request was refused (not executed).- Parameters:
id- the idrequest- the request- Returns:
- the response
-
getCustomerNotes
public PageResponse<DTOCustomerNote> getCustomerNotes(Long id, Page page, DTOCustomerNoteSearchFilter filter) It allows to search (filtered) customer notes.- Parameters:
id- the idpage- the pagefilter- the filter- Returns:
- the customer notes
-
getSurveys
It allows to search surveys filtered by intervention ids.- Parameters:
page- the pagefilter- the filters- Returns:
- the surveys
-
changeTechnicianPosition
public org.springframework.http.ResponseEntity<Void> changeTechnicianPosition(Long id, DTOTechnicianPositionChangeRequest request) It allows to update the technician's location coordinates.- Parameters:
id- the idrequest- the request- Returns:
- the response
-
vcAppointmentCreation
public org.springframework.http.ResponseEntity<Void> vcAppointmentCreation(Long id, DTOVCAppointmentCreationRequest request) -
vcAppointmentActivation
public org.springframework.http.ResponseEntity<Void> vcAppointmentActivation(Long id, DTOVCAppointmentActivationRequest request)
-