Skip to content

Instantly share code, notes, and snippets.

@aronr
Last active October 13, 2015 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aronr/95c57c48ac420bb9eaa8 to your computer and use it in GitHub Desktop.
Save aronr/95c57c48ac420bb9eaa8 to your computer and use it in GitHub Desktop.
Example of an XML payload for importing an CollectionObject (aka Cataloging) record into CollectionSpace. (This example assigns a provided identifier (CSID) to that record; if the 'CSID=' attribute is omitted, an identifier will automatically be generated and assigned to the record.)
<?xml version="1.0" encoding="UTF-8"?>
<imports>
<import service="CollectionObjects" type="CollectionObject" CSID="be4797f1-08cf-4616-8a73-d763798f8ec3">
<schema xmlns:collectionobjects_common="http://collectionspace.org/services/collectionobject" name="collectionobjects_common">
<collectionobjects_common:objectNumber>UC15565</collectionobjects_common:objectNumber>
</schema>
</import>
</imports>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment