Add a preset tag via API

Manel Mendoza ( Delinternet ) manel at
Wed Dec 7 17:58:00 EST 2016

Hi Dan,


Yes I looked but I couldn’t found how to add a tag inside a preset. I use the command add_tag but the value inside the tag is not saved on the preset.


curl -i 'http://localhost:7557/presets/dades-Gloria2' \

-X PUT \

--data '{ "weight": 1, "precondition": "{\"_tags\":\"inicial\",\"summary.serialNumber\":\"485754438F5D4068\"}", "configurations": [{ "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username", "value": "DeltBlocia-Gla" },{ "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password", "value": "glori" },

{ "type": "add_tag", "value":"dadesusuari" }]}'


King regards,



De: Users [mailto:users-bounces at] En nombre de Dan Morphis
Enviado el: miércoles, 7 de diciembre de 2016 18:33
Para: Community support for GenieACS users
Asunto: Re: Add a preset tag via API


Have you looked at the API on the wiki? The answers you seek are there


On Wed, Dec 7, 2016 at 7:37 AM, Manel Mendoza ( Delinternet ) <manel at <mailto:manel at> > wrote:



Has anyone an example to add a tag via API to the genieACS using curl …




Users mailing list
Users at <mailto:Users at>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list