This action downloads a file attached to an existing record in ExtraView to the local file system.
SYNTAX
http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password OR [&access_token=token-value]
&statevar=get_attachment
&attachment_id=nnnnn
NOTES
You can retrieve the filenames and attachment ID’s with the command list_attachment. An example of this command is:
http://www.myserver.com/evj/ExtraView/ev_api.action?user_id=myuser&password=mypassword&statevar=list_attachment&id=10070
Generates this result:
2010-6-24.9.49.:UserJavaScript.js:3639:ExtraView:23:test:application/x-javascript
The optional access_token
parameter allows you to use a valid OAuth2 token obtained with the get_token
command. If you provide the access_token
parameter, then the user_id
and password
parameters should not be provided. This prevents the password being sent in clear text over your network connection.