The HTTP Request fails when trying to query our secure email appliance using the subjectfilterValue parameter of a subject that contains an &, i.e subject is "Foo & Bar."
/sma/api/v2.0/message-tracking/messages?searchOption=messages&ciscoHost=All_Hosts&offset=0&subjectfilterOperator=is&subjectfilterValue=Foo & Bar&startDate=2024-09-10T07:00:00.000Z&endDate=2024-09-14T07:00:00.000Z
{
"error": {
"message": "Unsupported attributes - %20Bar.",
"code": "404",
"explanation": "404 = Nothing matches the given URI."
}
}
Any help would be appreciated! Worst case I will change the query to "subjectfitlerOperator=begins_with" and split the subject on the &.