An element collection has the contents of a view or module. The URI for an element collection is available in the service document and the general URI is:
The XML representation of the element collection contains a URI for each element in the element collection. Depending on the link that was chosen in the service document, the collection might include attribute values and might be structured as tree or a flat list.
A single element contains all attribute values and contains more details than the collection. The XML format for the element collection is defined by the XML Schema document in the schemaLocation XML attribute. The XML Schema is unique for each view and module, and dynamically reflects the attribute setup of the module or view. The schema might change in these situations:
▪ an attribute is added, removed, or changed
▪ a view definition is changed
▪ a module is renamed.
If a collection is an add view or a module, you can add an element to the collection by using POST operation. The body of the request must contain an XML representation of the element. The XML format to use is in the XML Schema for the collection. If the collection is an add view, the contents of the view are in the folders. The folders can be parents when a new element is added.
Note RESTful APIs ignore the filters that are applied in views. All the elements of a view are displayed.The resource URI for the service document is:
The resource URI for the service document is in the form: http://fpserver/fp/resources/