TASKPM/scripts/rest-clients/criterion-types-update-sample.xml

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- These updates could be part of criterion-types-sample.xml but have been
extracted to an independent file for clarity (this way, by using the Web
user interface, one can see the effects of importing
criterion-types-sample.xml first, and then
criterion-types-update-sample.xml). -->
<criterion-type-list xmlns="http://rest.ws.libreplan.dev">
<!-- OK (change criterion type's name and description, move criterion
"ct-4-c2-1-1" of position in the criterion hierarchy and set active to
true, and add a new criterion ("ct-4-c2-3"). -->
<criterion-type code="ct-4" name="ct-4 UPDATED" description="ct-4 desc UPDATED">
<criterion-list>
<criterion code="ct-4-c2">
<children>
<criterion code="ct-4-c2-1-1" active="true"/>
<criterion code="ct-4-c2-3" name="c2-3" active="true"/>
</children>
</criterion>
</criterion-list>
</criterion-type>
</criterion-type-list>