cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
396
Views
0
Helpful
0
Replies

Message-tracking API - Filtering on sender

EnzoR
Level 1
Level 1

Hi there,

I am currently filtering all my quarantines via the mail sender. The format of my API request is as follows:
https://url_ironport/sma/api/v2.0/quarantine/messages?endDate=2023-09-25T12:02:00.000Z&limit=25&offset=0&orderBy=received&orderDir=desc&quarantineType=pvo&quarantines=quarantine_value&startDate=2023-09-06T12:00:00.000Z&envelopeSenderFilterBy=contains...

My filter attributes on the sender are as follows:

envelopeSenderFilterBy=contains&envelopeSenderFilterValue=sender_value

If I apply the same filtering attributes to the message-tracking API, the URL is as follows:

https://url_ironport/sma/api/v2.0/message-tracking/messages?startDate=2023-09-06T12:00:00.000Z&endDate=2023-09-25T12:02:00.000Z&envelopeSenderFilterBy=contains&envelopeSenderFilterValue=sender_value&searchOption=messages&offset=0&limit=25

I get the following error:

"error": {
"message": "Unsupported attributes - envelopeSenderFilterBy,envelopeSenderFilterValue.",
"code": "404",
"explanation": "404 = Nothing matches the given URI."

My message-tracking API call works fine filtering on the sender, so it's definitely an attribute problem.

I used the AsyncOS API 12.0 doc which works perfectly for my other API calls. Thanks in advance for your feedback.

Enzo R

 

0 Replies 0