**Examples** The outgoing request body *must* be encoded as `MIME multipart/form-data`_ with the system metadata portion and the object as file attachments. (POST) Create a new object with a given identifier (*XYZ33256*):: curl -E /tmp/x509up_u502 \ -F "pid=XYZ33256" \ -F "object=@sciencemetadata.xml" \ -F "sysmeta=@sysmeta.xml" \ https://m1.dataone.org/mn/v1/object HTTP/1.1 200 Success Content-Type: Date: Wed, 16 Dec 2009 13:58:34 GMT Content-Length: 355 XYZ33256 The system metadata included with the create call must contain values for the elements required to be set by clients (see :doc:`/design/SystemMetadata`). The system metadata document can be crafted by hand or preferably with a tool such as *generate_sysmeta.py* which is available in the d1_instance_generator_ Python package. See documentation included with that package for more information on its operation. For example, the system metadata document for the example above was generated using the sequence of commands:: <> MYSUBJECT=`python my_subject.py /tmp/x509up_u502` echo $MYSUBJECT CN=Dave Vieglais T799,O=Google,C=US,DC=cilogon,DC=org python generate_sysmeta.py -f sciencemetadata.xml \ -i "XYZ33256" \ -s "$MYSUBJECT" \ -t "eml://ecoinformatics.org/eml-2.0.1" \ > sysmeta.xml The generated system metadata document contains default information that indicates: - The submitter is ``CN=Dave Vieglais T799,O=Google,C=US,DC=cilogon,DC=org`` - The rights holder is the same as the submitter - The access policy indicates public read, and write by the submitter - The replication policy indicates replication is allowed to any node The generated system metadata document is presented below:: XYZ33256 eml://ecoinformatics.org/eml-2.0.1 22936 2ec0084d1e11e0d5c9a46ba6a230aa85 CN=Dave Vieglais T799,O=Google,C=US,DC=cilogon,DC=org CN=Dave Vieglais T799,O=Google,C=US,DC=cilogon,DC=org public read CN=Dave Vieglais T799,O=Google,C=US,DC=cilogon,DC=org changePermission 2012-02-20T20:39:19.664495 2012-02-20T20:39:19.70598 .. _d1_instance_generator: https://repository.dataone.org/software/cicore/trunk/d1_instance_generator