Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Web Services
Back to Web Service Data Types.
Alfresco's Web Services use the following data types within input and output messages.
The definitive XML schema representation can be found here.
The store data type uniquely identifies a store in a repository.
It is made up of two parts:
The most common example is the store used by the main web UI this has scheme 'workspace' and address 'SpacesStore'.
A reference data type is a reference to a single node within a given store.
A reference is made up of three parts:
A reference which has only the store set is referring to the root node of that store.
A reference which has only the uuid set is referring to the node that has that uuid. If no match is found then that is considered an error.
A reference which has only the path set is referring to a node that results from the execution of the given query on the store. The query language expected is XPath. For example to find the company home node is the 'SpacesStore' you would use the path /app:company_home. If the result from the path query is nore than one node then this is considered an error.
In the case where both uuid and path are set then the path query will be executed in the context of the node referenced by the uuid.
A parent reference is used to describe how a node may be associated to a child. Parent references are usually used when an operation creates a new node, for example create content, move, etc.
A parent reference is made up of three parts:
{http://www.alfresco.org/model/content/1.0}contains
{http://www.alfresco.org/model/content/1.0}mydocs
The content format data type is made up of two parts:
This is used to encapsulate the content format information about a content node.
The named value data type contains the name and value(s) of an attribtue of the Alfresco repository:
The named value data type is most commonly used to prepresent the name and value of a node property.
Support for multi-valued attributes was added since 1.3.
The Node data type represents the details of a node held within the repository. It includes the type, aspect and property details and values.
The Node data type is made up of four parts:
The query data type is made up of two parts:
The query data type is used to encapsulate information about a query.
These types have been moved into the scope of the classification web service as of version 1.3