GetActivity

Gets activity for a Fileserver

Input Parameter Type Description
Token* String Security token
FileserverName string NMSA
Offset int An offset for the SQL query
BeginDate date YYYY-MM-DD
EndDate date YYYY-MM-DD
Accounts Array Array of nmua’s to search for
Type str Value of ActivityType enum
SortBy String example: filepath, lastupdateddstamp, workspacename, accountname, activitytype
SortOrder String ASC or DESC
Output Parameter Type Description
Success Boolean True or false

*=required

CURL EXAMPLE

curl -v 'https://secure.nomadesk.com/storage/api.php?Task=GetActivity&FileserverName=nmua000001&Token=ze3rui23oy78zr364fs8FHjf'

Response:

<Response>
    <Status>1</Status>
    <Message></Message>
    <FileserverName>nmsa123456</FileserverName>
    <Newest>2011-05-17</Newest>
    <Oldest>2011-05-10</Oldest>
    <MaximumNumberOfResults>250</MaximumNumberOfResults>
    <NumberOfResults>2</NumberOfResults>
    <Offset>0</Offset>
    <SortedBy>Filename ASC</SortedBy>
    <Type></Type> 
    <Accounts>
        <Account>
            <Name>nmua123456</Name>
            <FirstName>Jane</FirstName>
            <LastName>Doe</LastName>
        </Account>
        <Account>
            <Name>nmua654321</Name>
            <FirstName>John</FirstName>
            <LastName>Doe</LastName>
        </Account>
        <Account>
            <Name>nmua111007</Name>
            <FirstName>James</FirstName>
            <LastName>Bond</LastName>
        </Account>
    </Accounts>
    <ActivityLog>
        <Activity>
            <FilePath>documents/requirements.docx</FilePath>
            <NodeType>DataUpdated</NodeType>
            <EventType>File</EventType>
            <Time>2011-05-17 14:08:19</Time>
            <AccountName>nmua123456</AccountName>
            <LocationID>55021f27-daff-ae56-2f13-a0ae74be3841</LocationID>
        </Activity>
        <Activity>
            <FilePath>invoices/book.pdf</FilePath>
            <NodeType>Deleted</NodeType>
            <EventType>File</EventType>
            <Time>2011-05-10 11:15:54</Time>
            <AccountName>nmua654321</AccountName>
            <LocationID>55021f27-daff-ae56-2f13-a0ae74be3841</LocationID>
        </Activity>
    </ActivityLog>
</Response>