Wie kommt es ich in der Lage bin Office365 der Reporting-API mit der folgenden Anforderung abfragen:Office365 Reporting-REST-API - "Die Abfrage ist ungültig."
https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace?$select=Subject,SenderAddress,RecipientAddress,Status,Received,Received&$filter=SenderAddress eq '[email protected]' and RecipientAddress eq '[email protected]' and StartDate eq datetime'2016-10-01T00:00:00' and EndDate eq datetime'2016-10-03T00:00:00'
aber wenn ich es ändern auf dem Thema auch zu filtern, gibt es eine Fehlermeldung:
https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace?$select=Subject,SenderAddress,RecipientAddress,Status,Received,Received&$filter=SenderAddress eq '[email protected]' and RecipientAddress eq '[email protected]' and StartDate eq datetime'2016-10-01T00:00:00' and EndDate eq datetime'2016-10-03T00:00:00' and Subject eq 'Test'
{ "odata.error": { "code": "InvalidQueryException", "message": { "lang": "", "value": "The query is invalid." } } }
Haben Sie etwas dagegen, das Schema und eine Beispielzeile zu posten? – briansrls