Wishlist: system.AddTag - in addition to importTag and exportTag
It seems that right now there are only two tag-related API calls: system.importTag and system.exportTag
I am planning on using Location tags in ePO based on the user's IP Subnet. (i.e. if IP Address = 192.168.10.x/24 then apply tag "Location:Topeka, KS")
We have 150+ offices with more added every few weeks. I want to be able to export a list of newly-created office subnets from something like InfoBlox (or an excel spreadsheet), format them in ePO format, and then call the WebAPI to create them.
Right now it seems that this will be difficult, since each Tag has (it seems) a unique ID. I'll have to call exportTag, add the new tags (preserving the XML headers, and then call importTag.
It would be great if I could just call an addTag API to add the new tag, and ePO would automatically increment it. In the interim, I suppose I can just script a way to figure out what the MAX Tag ID is, and just go from there (?)
Message was edited by: clausonna on 2/20/12 2:39:54 PM CST
Re: Wishlist: system.AddTag - in addition to importTag and exportTag
No, ApplyTag is for assigning a tag to a system. I'm talking about the management of tags in general. Right now exportTag spits out the entire list of tags, and importTag requires that include the whole list back. I need to be able to more flexibly add and remove INDIVIDUAL tags to the overall tag 'database', without having to export/import the list en masse. I can only image the 'damage' I would cause if that imported list somehow blew away all of existing tags and the systems that they were applied to.
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.