Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.


REST/MVC Path for Category definition
HTTP MethodPathDescriptionController Method

Image Added

/rest/customers/Adds a new customer

addCustomer(customer: CustomerDTO)

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

findCustomersByCriteria(criteria: CustomerCriteria)

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