Подтвердить что ты не робот

Office365 Reporting REST API - "Запрос недействителен".

Почему я могу запросить API отчетов Office365, используя следующий запрос:

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'

но когда я изменяю его, чтобы фильтровать объект , он возвращает ошибку:

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": {      "код": "InvalidQueryException",      "message": {        "lang": ",       " value ":" Запрос неверен".     }}}

4b9b3361

Ответ 1

попробуйте что-то вроде

startswith(Subject,'Test')