Estou tentando fazer uma request para trazer apenas os contatos que foram atualizados a partir de uma data, mas estou recebendo erro.
Body utilizado:
curl --location 'https://msging.net/commands' \
--header 'Authorization: Key API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "b94ec881-7405-4c08-ad69-df6627f176e2",
"to": "[email protected]",
"method": "get",
"uri": "/contacts?$skip=0&$take=20&$filter=lastUpdateDate%20ge%20datetimeoffset'\''2023-01-15'\''"
}
'
Resposta:
{
"method": "get",
"status": "failure",
"reason": {
"code": 61,
"description": "Unable to perform operation 'lastUpdateDate ge datetimeoffset'2023-01-15''"
},
"id": "aaa8b5e0-c509-4ae9-9f4e-48245adba3a4",
"from": "[email protected]/#msging-application-crm-l96md",
"to": "[email protected]/!msging-server-fntl6-tvnc0vgq",
"metadata": {
"#command.uri": "lime://[email protected]/contacts?$skip=0&$take=20&$filter=lastUpdateDate%20ge%20datetimeoffset'2023-01-15'"
}
}