Import Plan Benefits
POST/v1/plans/:planId/benefits/import
Copy all benefits from one plan into another plan owned by the same HMO.
Request
Path Parameters
planId integerrequired
The ID of the destination plan that will receive the copied benefits.
- application/json
Body
required
from_plan_id integerrequired
The ID of the source plan whose benefits will be copied.
Responses
- 200
- 400
- 401
- 404
Benefits imported successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "3 new benefit(s) copied successfully."
}
Invalid request or no new benefits to copy
Unauthenticated
Plan not found
Loading...