You are not logged in.
Pages: 1
Hi,
I would like to know if anyway to retrieve the file format (audio, video , Image ) using the API 6? i
Appreciate your kind help.
Thanks
Ash.
Offline
Hi Ash,
Although it can't be achieved in a single call, you could consider using the AdvancedSearch to check whether an asset matches a particular file type:
http://yoursite.com/api/1.0/Search.AdvancedSearch/query=[{"fieldId":"2","conditionId":"3","value":"12345678"},{"fieldId":"19","conditionId":"-1","value":"-1"}]
This is equivalent to the GUI search conditions of:
Reference Number IS 12345678
AND
File type IS AN IMAGE All types
Then repeat for Audio(conditionId -2), video(conditionId -3) etc
Best Regards,
Steve
Offline
Pages: 1