Through Claim Put API not able to remove PriorDate , AccidentDate
Posted: Fri Dec 05, 2025 5:39 am
This is about
PUT claims
Fields : PriorDate, AccidentDate , OrthoDate
When Claim is created from UI of Open dental these field's default has values 0001-01-01 i.e. Date Min values
Now, when they have some dates set and we want to remove those dates from API
We tried to use below payload
1.
PUT /claims/21
{
"AccidentDate": "0001-01-01"
}
We get validation error : "AccidentDate year must be between 1880 and 2100."
2.
PUT /claims/21
{
"PriorDate": "0001-01-01"
}
We get validation error : "PriorDate year must be between 1880 and 2100."
3.
PUT /claims/21
{
"OrthoDate": "0001-01-01"
}
This does work and updates value in DB as Date Min value
What is the way to use the API to remove the value for AccidentDate and PriorDate ? Or is it BUG in the API ?
PUT claims
Fields : PriorDate, AccidentDate , OrthoDate
When Claim is created from UI of Open dental these field's default has values 0001-01-01 i.e. Date Min values
Now, when they have some dates set and we want to remove those dates from API
We tried to use below payload
1.
PUT /claims/21
{
"AccidentDate": "0001-01-01"
}
We get validation error : "AccidentDate year must be between 1880 and 2100."
2.
PUT /claims/21
{
"PriorDate": "0001-01-01"
}
We get validation error : "PriorDate year must be between 1880 and 2100."
3.
PUT /claims/21
{
"OrthoDate": "0001-01-01"
}
This does work and updates value in DB as Date Min value
What is the way to use the API to remove the value for AccidentDate and PriorDate ? Or is it BUG in the API ?