...
Create and Update should use the following schema.
Note |
---|
Aron to update with Intake instance schema used in payloads to create and update |
Code Block |
---|
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <ns2:orgauthoritiesintakes-common xmlns:ns2="http://services.collectionspace.org/organizationintake"> <displayName>Museum Internal</displayName><entryNumber>EV2010.2</entryNumber> <refName>urn:cspace:org.collectionspace.demo:orgauthority:name(Museum Internal)'Museum Internal'</refName> <vocabType>OrgAuthority</vocabType><depositor>Alfred L. Kroeber</depositor> ... </ns2:orgauthoritiesintakes-common> |
Read will return the above, plus additional fields (uri and csid) for access:
...
List (and variants) will return the following schema.
...
Code Block |
---|
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <ns2:intakes-common-list xmlns:ns2="http://collectionspace.org/services/intake"> <intake-list-item> <entryNumber>EV2010.2</entryNumber> <depositor>Alfred L. Kroeber</depositor> <uri>/intakes/b59d0c6f-08f2-4fb5-b5f7</uri> <csid>b59d0c6f-08f2-4fb5-b5f7</csid> </intake-list-item> .... </ns2:intakes-common-list> |