Class CustomerApi

java.lang.Object
overit.geocallapp.wfm.cee.CeeBaseClient
overit.geocallapp.wfm.cee.rs1.customer.CustomerApi

@Service public class CustomerApi extends CeeBaseClient
REST API for CEE customer resource
  • Constructor Details

    • CustomerApi

      @Autowired public CustomerApi(overit.geocall.spring.serializer.NotExplodedParameterSerializer<Object> notExplodedParameterSerializer)
      Constructor
      Parameters:
      notExplodedParameterSerializer - the not exploded parameter serializer
  • Method Details

    • addCustomer

      public org.springframework.http.ResponseEntity<Void> addCustomer(DTOCustomer customer)
      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 id
      contact - the contact
      Returns:
      the response
    • getCustomers

      public PageResponse<DTOCustomer> getCustomers(Page page, DTOCustomerSearchFilter filter)
      It allows to search (filtered) customers.
      Parameters:
      page - the page
      filter - the filter
      Returns:
      the customers