With the sdk 2018 R1 you can insert a Storage and an ArchiveStorage, is there a way to get or set the schedule of the storage I add?
This is what I do from the Management Client
Thanks
With the sdk 2018 R1 you can insert a Storage and an ArchiveStorage, is there a way to get or set the schedule of the storage I add?
This is what I do from the Management Client
Thanks
Yes.
You can see that this is possible using the Config API Client sample. The Config API Client will also be a hint to how the structure is with storages and archives.
Hi Bo,
thanks for your reply.
In Config API Client, there is how to insert or delete Storage and Storage Archives, but what I need is to get or set, for each Storage Archive, the schedule, which is not the retention time but is the archiving schedule.
In the image that i sent you in the previous post, you see that I have a retention time of 90 days (left image) and archiving occurs every day and every hour between 00:00 and 23:59 (right image)
The example returns the retention time but not the schedule, I checked all the children and all the properties of the various items but I could not find these info.
Any idea?
Thank you
I think we are using two different versions of either the SDK or the Config API Client or server.
I use MIP SDK 2018R1 Version 12.1.vNext Build 3379.
I have tested XCO 2016 R3 and 2017 R3
This is the info that displays the Config API Client that I find in the SDK 2018R1
I noticed that in the left tree you have a lot more folders.
If I look for Schedule in the MIP SDK documentation I find only the ArchiveSchedule attribute of the VideoOS.ConfigurationAPI.ItemTypes class
Thanks
The Config API Client samples and the underlying functionality in it has not changed, but the XProtect servers has.
I must appologize because I was testing with 2018R2 which cannot be the one you have as it is not released yet.
In versions prior to 2018R2 the server will have a flag that the archive has no children even if the archive has a child that is a schedule. In versions prior to 2018R2 try to read children for the archive.
XProtect Corporate and MIP SDK 2018R2 is planned to be released June 7.