renan.zanata | 2024-03-05 14:11:48 UTC | #1
Good morning,
I'm creating an action, and for this action, I expect to receive an array that will bring me an object. When it returns only one object, it works, but when it brings more than one object, it returns '13. Flatten: Too many results matched criteria.'. Is there any way to work around this problem?
API return
[ { "id": 1234567, "date": "27/03/2024 14:00:00", "patientId": 11223344, "patientName": "11223344 - RENAN ZANATA", "cpf": "44433311199", "patientAge": "46", "cellphone": "31999999999", "email": "TESTE@GMAIL.COM", "scheduleItem": "CONSULTA", "scheduleItemId": 3, "covenant": "INTERTESTE", "plan": "INTER TESTE", "providerOrResource": "FELIPE", "dateUserToSchedule": "28/12/2023 15:40:40", "user": "APPCALL", "observation": "Trazer documento com foto e carteirinha do covenio.", "isFit": "N", "companyId": 2, "companyName": "2 - TESTE", "sectorId": 102, "covenantId": 8, "providerId": 100, "answer": "N", "hasAttachment": false }, { "id": 3344482, "date": "08/02/2023 14:00:00", "patientId": 11223344, "patientName": "11223344 - RENAN ZANATA", "cpf": "44433311199", "patientAge": "46", "cellphone": "31999999999", "email": "TESTE@GMAIL.COM", "scheduleItem": "CONSULTA", "scheduleItemId": 3, "covenant": "INTERTESTE", "plan": "INTER TESTE", "providerOrResource": "RENAN", "dateUserToSchedule": "16/11/2022 08:05:50", "user": "APPCALL", "observation": "CIENTE DATA, HORARIO E LOCAL", "attendanceId": 1521985, "isFit": "N", "companyId": 2, "companyName": "2 - TESTE", "sectorId": 102, "covenantId": 8, "providerId": 100, "answer": "N", "hasAttachment": false } ]
system | 2024-04-04 14:12:18 UTC | #2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 25015