INTERACT FORUM
More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: AndrewFG on August 25, 2016, 03:50:22 am
-
Can someone please help me on the correct syntax needed to read a specific tag value (e.g. the Date) on a specific file?
i.e. something like this http://localhost:52199/MCWS/v1/File/GetInfo?File=123&Fields=Date
Please don't point me to the online WSDL doc; of course I have read that, but nevertheless I cannot seem to get the syntax right..
-
Just tested. You call works fine for me, and returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<MPL Version="2.0" Title="MCWS - Files - 8756" PathSeparator="\">
<Item>
<Field Name="Key">123</Field>
<Field Name="Date">37681</Field>
</Item>
</MPL>
-
same here
one thing to note that the response does not contain an element with name="Date" if the entry has no value for the Date field, i.e. it would be
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<MPL Version="2.0" Title="MCWS - Files - 8756" PathSeparator="\">
<Item>
<Field Name="Key">123</Field>
</Item>
</MPL>
-
Thanks for the help. I think I am suffering authentication issues...
-
Could be, let us know if you have issue working it out.