[GeoNetwork-users] Can getrecordbyid method of CSW post request fetch multiple records at a time?

Hello GeoNetwork community users,

I am working on a functionality to fetch selected Geonetwork Records to be
retrieved from the Geonetwork server with UUID's, can i fetch more than ONE
record with CSW http post request using
GetRecordById
method.
For example, say i have 5 UUID's and want to fetch all the data of these 5
records without using a loop to fetch one at a time. Something like sending
the request as array or multiple xml tags of

<csw:Id>5df54bf0-3a7d-44bf-9abf-84d772da8df1</csw:Id>
<csw:ElementSetName>full</csw:ElementSetName>
in the same request.

This sounds little ridiculous as the method by name says getRecordById is
to fetch one record, but wanted to give a try.

Thanks in advance.

--
Thanks
Manjunath

Yes, it is possible, you just have to include as many <csw:Id> sections as you need,

regards,

--

------------------------------------------------------------------
                 José Miguel Agudo Molina
   Grupo de Sistemas de Información Avanzados (IAAA)
   Departamento de Informática e Ingeniería de Sistemas
   Centro Politécnico Superior, Universidad de Zaragoza
------------------------------------------------------------------
   Dirección : C/María de Luna 1, Ed. Ada Byron,
               E-50018 Zaragoza (Spain)
   Teléfono : (+34) 976 76 26 66
   Fax : (+34) 976 76 19 14
   E-mail : joselilo@anonymised.com
   Web : http://iaaa.cps.unizar.es/
------------------------------------------------------------------

El 20/12/2012 5:38, Manjunath Kanakagiri escribió:

Hello GeoNetwork community users,

I am working on a functionality to fetch selected Geonetwork Records to be
retrieved from the Geonetwork server with UUID's, can i fetch more than ONE
record with CSW http post request using
GetRecordById
method.
For example, say i have 5 UUID's and want to fetch all the data of these 5
records without using a loop to fetch one at a time. Something like sending
the request as array or multiple xml tags of

<csw:Id>5df54bf0-3a7d-44bf-9abf-84d772da8df1</csw:Id>
<csw:ElementSetName>full</csw:ElementSetName>
in the same request.

This sounds little ridiculous as the method by name says getRecordById is
to fetch one record, but wanted to give a try.

Thanks in advance.

-----
No se encontraron virus en este mensaje.
Comprobado por AVG - www.avg.com
Versión: 2013.0.2805 / Base de datos de virus: 2637/5970 - Fecha de publicación: 12/19/12

Awesome Jose, that was a great information.

I thought i should give a try, but was hesitant and your response asserted
to give a try and it worked perfectly.
I just have to handle the response appropriately.

Thanks again Jose.

On Thu, Dec 20, 2012 at 6:24 PM, Jose Miguel <joselilo@anonymised.com> wrote:

Yes, it is possible, you just have to include as many <csw:Id> sections
as you need,

regards,

--

------------------------------------------------------------------
                 José Miguel Agudo Molina
   Grupo de Sistemas de Información Avanzados (IAAA)
   Departamento de Informática e Ingeniería de Sistemas
   Centro Politécnico Superior, Universidad de Zaragoza
------------------------------------------------------------------
   Dirección : C/María de Luna 1, Ed. Ada Byron,
               E-50018 Zaragoza (Spain)
   Teléfono : (+34) 976 76 26 66
   Fax : (+34) 976 76 19 14
   E-mail : joselilo@anonymised.com
   Web : http://iaaa.cps.unizar.es/
------------------------------------------------------------------

El 20/12/2012 5:38, Manjunath Kanakagiri escribió:
> Hello GeoNetwork community users,
>
> I am working on a functionality to fetch selected Geonetwork Records to
be
> retrieved from the Geonetwork server with UUID's, can i fetch more than
ONE
> record with CSW http post request using
> GetRecordById
> method.
> For example, say i have 5 UUID's and want to fetch all the data of these
5
> records without using a loop to fetch one at a time. Something like
sending
> the request as array or multiple xml tags of
>
> <csw:Id>5df54bf0-3a7d-44bf-9abf-84d772da8df1</csw:Id>
> <csw:ElementSetName>full</csw:ElementSetName>
> in the same request.
>
> This sounds little ridiculous as the method by name says getRecordById is
> to fetch one record, but wanted to give a try.
>
> Thanks in advance.
>

-----
No se encontraron virus en este mensaje.
Comprobado por AVG - www.avg.com
Versión: 2013.0.2805 / Base de datos de virus: 2637/5970 - Fecha de
publicación: 12/19/12

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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

--
Thanks
Manjunath