[SOAP]trash operater in MsgActionRequest not working
I tested some of SOAP APIs for my assignment that will trash many old messages in batch.
I wrote codes in ruby and initiated MsgActionRequest looking like this:
However, the API returns an error like this:
My code works fine with "spam" and "delete" operators. Do I miss something in my SOAP request?
<soap:Body><soap:Fault><soap:faultcode>soap:Client </soap:faultcode><soap:faultstring>invalid request: unknown operation: trash</soap:faultstring><soap:detail><Error xmlns="urn:zimbra"><Code>service.INVALID_REQUEST</Code><Trace>com.zimbra.cs.service.ServiceException : invalid request: unknown operation: trash