[[TOC]] = XML Forms = The RESTful API has a built-in method to retrieve the data structure of a resource as S3XML: == Retrieving the Resource Structure == === REST Method === If '''GET/create.xml''' is requested '''without specifying a source''', like: {{{ GET http://localhost:8000/eden/hms/hospital/create.xml }}} then the interface will return the resource structure (empty, i.e. without any data) as S3XML: {{{#!xml label="名前"> }}} (shortened here for better visibility) === Option Lists === To include option lists inside the fields which have options, add the {{{options}}} parameter: {{{ GET http://localhost:8000/eden/hms/hospital/create.xml?options=true }}} Options are embedded as {{{ }}} === Reference Options === Note that this does not include option lists for reference fields - since these can be huge, you have to activate them explicitly if needed by adding the {{{references}}} parameter: {{{ GET http://localhost:8000/eden/hms/hospital/create.xml?options=true&references=true }}} (no example here because it looks pretty the same as the