Need help for Benefits PUT API

For requests or help with our API
Post Reply
beacondental
Posts: 92
Joined: Wed Mar 15, 2023 8:43 am

Need help for Benefits PUT API

Post by beacondental » Mon Mar 18, 2024 9:55 am

Hi Team,

Suppose there's a wrongly entered benefit with a limitation of "3 times per benefit year" for a specific frequency under an insurance plan, and if I want to update it to "Every 3 Years" using benefit PUT API, how to do it?

I tried it using the benefit PUT API, and provided below request object,

{
"quantity":3,
"quantityQualifier":"Years",
"benefitType"="Limitations"
}

But I got this response,

400 Bad Request: ""Not allowed to have a percentage on a benefit unless BenefitType is CoInsurance.""

Please help.

justine
Posts: 175
Joined: Tue Dec 28, 2021 7:59 am

Re: Need help for Benefits PUT API

Post by justine » Wed Mar 20, 2024 10:00 am

beacondental wrote:
Mon Mar 18, 2024 9:55 am
Hi Team,

Suppose there's a wrongly entered benefit with a limitation of "3 times per benefit year" for a specific frequency under an insurance plan, and if I want to update it to "Every 3 Years" using benefit PUT API, how to do it?

I tried it using the benefit PUT API, and provided below request object,

{
"quantity":3,
"quantityQualifier":"Years",
"benefitType"="Limitations"
}

But I got this response,

400 Bad Request: ""Not allowed to have a percentage on a benefit unless BenefitType is CoInsurance.""

Please help.
Good morning beacondental,

That response indicates that the benefit you are attempting to update has a benefit.Percent value. It is likely that you are attempting to update the incorrect benefit. On a frequency limitation benefit, the only fields you are allowed to update are Quantity or QuantityQualifier.

Thanks!

Post Reply