/
REST/MVC Customers Controller

REST/MVC Customers Controller

REST/MVC Path for Customer definition
HTTP MethodPathDescriptionController Method

/rest/customers/Adds a new customer

addCustomer(customer: CustomerDTO)

Parameters:
  • customer: Customer json (Body)
/rest/customers/{customerId}Updates an existent customerupdateCustomer(customer: CustomerDTO, customerId: String)
Parameters:
  • customer: Customer json (Body)
  • customerId: Customer identifier (Path parameter)
/rest/customers/{customerId}Removes an existent customerremoveCustomer(customerId: String)
Parameters:
  • customerId: Customer identifier  (Path parameter)
/rest/customers/Search customers by criteria

findCustomersByCriteria(criteria: CustomerCriteria)

Parameters:
  • criteria: Criteria filter json (Body parameter)

Related content

Avvale 2024