Hello Kosmas,
I think this is not possible, you may get the metadata for an item via
rest, then select only the MetadataEntries for a specific field,
manipulate the entry you want and then put
the array of MetadataEntries via rest.
Claudia
Am 09.05.2017 um 15:19 schrieb Kosmas Kaifel:
Hello Claudia,
Thanks for your answer.
I have multiple values in the database and I want only update one value.
I don't know, how I can specify that the command only update one value.
I have tried this:
YourRESTURL/items/ITEMID/metadata -X PUT --data '[{"key":
"dc.subject","value": "Test Rest 1","language": "en_US"}'
After execute this command I have only one value in the database.
The values 2-n was deleted.
Kosmas
Am 09.05.2017 um 15:07 schrieb Claudia Jürgen:
Hello Kosmas,
this would be something like
YourRESTURL/items/ITEMID/metadata -X PUT --data '[{"key":
"dc.subject","value": "Test Rest 2","language": "en_US"},{"key":
"dc.subject","value": "Test Rest 3","language": "en_US"}]'
This would remove the existing dc.subject and put the 2 new ones in
place.
Hope this helps
Claudia Jürgen
Am 09.05.2017 um 12:10 schrieb Kosmas Kaifel:
Hello,
how can I update an MetadataEntry Object via REST, if I have multiple
values
from one MetadataField.
Best Regards
Kosmas Kaifel
--
Claudia Juergen
Eldorado
Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund
Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]
www.ub.tu-dortmund.de
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich.
Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht
der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte
den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung
eines solchen Schriftstücks per Telefax erfolgen.
Important note: The information included in this e-mail is
confidential. It is solely intended for the recipient. If you are not
the intended recipient of this e-mail please contact the sender and
delete this message. Thank you. Without prejudice of e-mail
correspondence, our statements are only legally binding when they are
made in the conventional written form (with personal signature) or
when such documents are sent by fax.
--
Claudia Juergen
Eldorado
Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund
Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]
www.ub.tu-dortmund.de
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen
Schriftstücks per Telefax erfolgen.
Important note: The information included in this e-mail is confidential. It is
solely intended for the recipient. If you are not the intended recipient of
this e-mail please contact the sender and delete this message. Thank you.
Without prejudice of e-mail correspondence, our statements are only legally
binding when they are made in the conventional written form (with personal
signature) or when such documents are sent by fax.
--
You received this message because you are subscribed to the Google Groups "DSpace
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.