To rebuild supply plan based on rebuild true or false
GET/api/supplyPlan/newSupplyPlan/programId/:programId/versionId/:versionId/rebuild/:rebuild
API is to rebuild supply plan based on rebuild true or false
Request
Responses
- 200
- 403
- 412
- 500
Returns the success message or SimplifiedSupplyPlan list
Returns a HttpStatus.FORBIDDEN if the User does not have access
Returns a HttpStatus.PRECONDITION_FAILED if certain conditions to rebuild supply plan does not met
Internal error that prevented the retreival of SimplifiedSupplyPlan list or rebuild supply plan