=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-22 09:17:15 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-23 16:34:22 +0000 @@ -3381,6 +3381,21 @@ to the URL similar to the one used above for retrieval.
+ SVG conversion + The Web API provides a resource which can be used to convert SVG content into more widely + used formats such as PNG and PDF. It works by sending the SVG content as the body of a HTTP + request to the svg resource. Ideally this conversion should + happen on the client side, but not all client side technologies are capable of performing this + task. Currently PNG and PDF output formats are supported. An optional query parameter + filename can be used to specify the filename of the + response attachment file. Note that the file extension should be omitted. For PNG you can send + a POST request with the SVG content as body like + this: + api/svg.png?filename=myfile + For PDF you can send a POST request with the SVG content as body like this: + api/svg.pdf?filename=myfile +
+
Person management Persons have full CRUD (create, read, update, delete) support in the Web-API. Together with the API for enrollment most operations needed for working with persons and programs are