DiscountPlanRs
Web service for managing org.meveo.model.catalog.DiscountPlanMatrix.
The following resources are applicable:
/catalog/discountPlan
Mount Point: /api/rest/catalog/discountPlan
The following operations are supported on this resource:
POST
Create discount plan.
Request Body
| element: | DiscountPlan |
| media types: | application/xml application/json |
(no documentation provided)
Response Body
| element: | ActionStatus |
| media types: | application/xml application/json |
The id of the newly create discount plan.
PUT
Update discount plan.
Request Body
| element: | DiscountPlan |
| media types: | application/xml application/json |
(no documentation provided)
Response Body
| element: | ActionStatus |
| media types: | application/xml application/json |
(no documentation provided)
GET
Search discount plan with a given id.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | (no documentation provided) | query |
Response Body
| element: | GetDiscountPlanResponse |
| media types: | application/xml application/json |
(no documentation provided)
/catalog/discountPlan/{id}
Mount Point: /api/rest/catalog/discountPlan/{id}
DELETE
Remove discount plan with a given id.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | (no documentation provided) | path |
Response Body
| element: | ActionStatus |
| media types: | application/xml application/json |
(no documentation provided)
/catalog/discountPlan/version
Mount Point: /api/rest/catalog/discountPlan/version
GET
Response Body
| element: | ActionStatus |
| media types: | application/xml application/json |
(no documentation provided)