Use the property service to access a single property. The identifier of the requested document is part of the path as well as the name of the requested property.
Updating existing properties checks for properties defined in any projectdoc macro. New properties, without a reference to an existing property, are written to the Document Properties Marker Macro per default.