-
Notifications
You must be signed in to change notification settings - Fork 4
REST Controller
Request: GET /pa165/rest/orders
Return orders collection
Http Code: 200 OK
Request: GET /pa165/rest/orders/{id}
Return order resource
Http Code: 200 OK
Request: POST /pa165/rest/orders/{id}
Create new order resource
Http Code: 201 CREATED
Request: PUT /pa165/rest/orders/{id}
Update order resource
Http Code: 201 CREATED
Request: DELETE /pa165/rest/orders/{id}
Delete order resource
Http Code: 204 NO CONTENT
Request: GET /pa165/rest/orders/{id}/billing
Return order resource billing
Http Code: 200 OK
Request: GET /pa165/rest/persons
Return people collection
Http Code: 200 OK
Request: GET /pa165/rest/persons/{id}
Return person resource
Http Code: 200 OK
Request: POST /pa165/rest/persons/{id}
Create new person resource
Http Code: 201 CREATED
Request: PUT /pa165/rest/persons/{id}
Update person resource
Http Code: 201 CREATED
Request: DELETE /pa165/rest/persons/{id}
Delete person resource
Http Code: 204 NO CONTENT