HTTP Example:GET /rest/order/{key}/comments
| API Example: RESTOrders.getOrderComments({'key': …}); |
- Output:
- RESTOrdersBean.Comment - the list of order comments
- RESTOrdersBean.OrderLine - when
there is an error
- Produces:
- application/xml
- text/plain
|
HTTP Example:POST /rest/order/{key}/comments
| API Example: RESTOrders.postOrderComments({'key': …, '$entity': …}); |
- Input:
- RESTOrdersBean.Comment
- Output:
- javax.ws.rs.core.Response
- Produces:
- application/xml
- text/plain
|
HTTP Example:PUT /rest/order/{key}/comments
| API Example: RESTOrders.putOrderComments({}); |
- Output:
- javax.ws.rs.core.Response
- Produces:
- application/xml
- text/plain
|
HTTP Example:HEAD /rest/order/{key}/comments
| API Example: RESTOrders.headOrderComments({}); |
- Output:
- javax.ws.rs.core.Response
- Produces:
- application/xml
- text/plain
|
HTTP Example:DELETE /rest/order/{key}/comments
| API Example: RESTOrders.deleteOrderComments({}); |
- Output:
- javax.ws.rs.core.Response
- Produces:
- application/xml
- text/plain
|