{
"meta": {
"message": "Request was successful, but there is no result"
},
"data": []
}
I know that there is a campaign with this date_entered value. Any idea of what is happening or the format of the date. In the document don´t touch the dates in the filters so information is not enough.
Coming back to edit this as my response wasn’t 100% correct.
I said that the SuiteCRM API expects an ISO date string,
This is almost true,
you need to make some modifications to the date string first before the API accepts it.
considering the folllowing string
‘2025-05-01T15:29:37.865Z’
You need to remove the T and the dot
so it will show as
‘2025-05-01 15:29:37’
here’s a function I made in Typescript
const formatDateTimeForCRMAPI = (value: number | string | Date) => new Date(value).toISOString().replace('T', ' ').split('.')[0]