Table of Contents

Get File

In order to get the file from file storage please use file/get :

svc=file/get&params={"itemId":<long>,
		     "storageType":<uint>,
		     "path":<text>,
		     "format":<uint>}

Params

Param Description
itemId element id
storageType storage type:
1 - public(all users may see/download
files ),
2 - protected (that users may see/down-
load files who being grant rights)
path relative path from root folder to the file
format for .ddd files, get file in VDO format (“format”:1)

Response

Returns the file.


If there is no file according to path specified then:

Invalid input{"error":3}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2021 Gurtam