/autoshowroom

MERA intern task

Primary LanguageJava

Autoshowroom

MERA intern task

Download clients

Download soap client pre-release v.0.1

Download rest client pre-release v.0.1

Run client

java -jar restclient-0.1.jar

How to use clients

Available entities

  • auto
  • automark
  • automodel
  • autooption
  • seller
  • customer
  • order

Available commands

  • <entity_name> read --id <id>
  • <entity_name> readll
  • <entity_name> readrange --limit <l> --offset <o>
  • <entity_name> create <param-1>...<param-n>
  • <entity_name> update --id <id> <param-1>...<param-n>
  • <entity_name> delete --id <id>
  • order filter --order-status <status>

Get entity

One entity

<entity_name> read <id> 

Example:

automark read 1

Output:

name  id 
mark1 1  

All of some entities

<entity_name> readall 

Example:

automark readall

Output:

name  id 
mark1 1