Class CustomerApi
java.lang.Object
overit.geocallapp.wfm.cee.CeeBaseClient
overit.geocallapp.wfm.cee.rs1.customer.CustomerApi
REST API for CEE customer resource
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.cee.CeeBaseClient
notExplodedParameterSerializer -
Constructor Summary
ConstructorsConstructorDescriptionCustomerApi(overit.geocall.spring.serializer.NotExplodedParameterSerializer<Object> notExplodedParameterSerializer) Constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> addContact(String customerId, DTOContact contact) Adds a new contact to an existing customer in CEE.org.springframework.http.ResponseEntity<Void> addCustomer(DTOCustomer customer) Adds a new customer in CEE.getCustomers(Page page, DTOCustomerSearchFilter filter) It allows to search (filtered) customers.Methods inherited from class overit.geocallapp.wfm.cee.CeeBaseClient
getConfig
-
Constructor Details
-
CustomerApi
@Autowired public CustomerApi(overit.geocall.spring.serializer.NotExplodedParameterSerializer<Object> notExplodedParameterSerializer) Constructor- Parameters:
notExplodedParameterSerializer- the not exploded parameter serializer
-
-
Method Details
-
addCustomer
Adds a new customer in CEE.- Parameters:
customer- the customer- Returns:
- the response
-
addContact
public org.springframework.http.ResponseEntity<Void> addContact(String customerId, DTOContact contact) Adds a new contact to an existing customer in CEE.- Parameters:
customerId- the customer idcontact- the contact- Returns:
- the response
-
getCustomers
It allows to search (filtered) customers.- Parameters:
page- the pagefilter- the filter- Returns:
- the customers
-