Attach Care Type to Plan Benefits
POST/v1/plans/:planId/benefits/care-type
Attach a care type to a plan as a benefit, optionally specifying excluded care IDs.
Request
Path Parameters
planId integerrequired
The unique ID of the HMO plan.
- application/json
Body
required
care_type_id integerrequired
ID of the care type to attach.
excluded_care_ids integer[]nullable
Optional list of care item IDs to exclude from this care type benefit.
Responses
- 200
- 400
- 401
- 404
Care type attached successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Care Type attached Successfully"
}
Invalid parameters or care IDs not under the care type
Unauthenticated
Plan not found
Loading...