Hi,
I am using the web services API in order to register metatadata files ("metadata.insert" operation). My problem is that I don't know where to get the ids of the new registers. I need them in order to do further updating operations and also to automatically delete the registers if necessary.
I have checked the headers returned by the "metadata.insert" service and it seems to me that it doesn't return the id. Is it returned? or do I have to do a further search to get it?
Regards,
Hi Antonio
The "metadata.insert" operation doesn't return the "id" of the new element
as I know. You need to use "xml.metadata.get" operation providing the "uuid"
of metadata you inserted, that you should know. This service returns the
metadata content and other stuff like the internal "id" of metadata.
You can check in the developer documentation ,the document "Xml services
manual" with examples of requests and responses for these services.
Regards,
Jose Garcia
On Mon, Aug 23, 2010 at 12:05 PM, Antonio Diaz Sanchez <
adiazsanchez@anonymised.com> wrote:
Hi,
I am using the web services API in order to register metatadata files
("metadata.insert" operation). My problem is that I don't know where to get
the ids of the new registers. I need them in order to do further updating
operations and also to automatically delete the registers if necessary.
I have checked the headers returned by the "metadata.insert" service and
it seems to me that it doesn't return the id. Is it returned? or do I have
to do a further search to get it?
Regards,
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork