searchAccessAudit
This method allows running a search in the SoftExpert Document access audit. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/SearchAccessAuditRequestType.java |
Return | web/wwwroot/ws/java/document/SearchAccessAuditResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDDOCUMENT | Document ID #. | |
IDUSER | User name. | |
PERIODBEGIN | Search period start date. *The format must be "Y-M-D" (Year-Month-Day) | |
PERIODEND | Search period end date. *The format must be "Y-M-D" (Year-Month-Day) |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:searchAccessAudit>
<!--You may enter the following 4 items in any order-->
<urn:iddocument>?</urn:iddocument>
<urn:iduser>?</urn:iduser>
<urn:periodbegin>?</urn:periodbegin>
<urn:periodend>?</urn:periodend>
</urn:searchAccessAudit>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: returns a list with the audit data: ▪ TYPEAUDIT : Audit type:o 1 - View document; o 2 - Registered document; o 3 - Deleted document; o 4 - Registered revision; o 5 - Deleted revision; o 6 - Closed revision; o 7 - Printed controlled copy; o 8 - Printed uncontrolled copy; o 9 - Quantity of scheduled copies was modified; o 11 - Cancelled document; o 12 - Released document; o 13 - Delete electronic file; o 14 - Registered archiving; o 15 - Canceled archiving; o 16 - Digital signature; o 17 - Add electronic file; ▪ DTACCESS : Audit date;▪ TMACCESS : Audit time;IDCATEGORY : Category ID #;▪ IDDOCUMENT : Document ID #;▪ IDREVISION : Revision ID #;▪ IDUSER : User name;▪ NMHOST : Host name;▪ IPADDRESS : Workstation IP;▪ NMTITLE : Document title;▪ NMDEPARTMENT : User departmentFAILURE: returns an empty list |