diagram | |||||||||||||||
namespace | http://document.api.bds.tibco.com | ||||||||||||||
children | owner name versioningState mimeType content contentURL | ||||||||||||||
used by |
|
||||||||||||||
attributes |
|
||||||||||||||
annotation |
|
||||||||||||||
source | <xs:complexType name="CreateDocumentRequestType"> <xs:annotation> <xs:documentation>Request for CreateDocument</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="owner" type="OwnerReference"/> <xs:element name="name" type="xs:string"> <xs:annotation> <xs:documentation>Name for the document</xs:documentation> </xs:annotation> </xs:element> <xs:element name="versioningState" type="VersioningStateEnum" minOccurs="0"> <xs:annotation> <xs:documentation>Determines initial version number of document. MAJOR, MINOR or NONE. e.g. may map to 1.0, 0.1 or a non-versioned document, as per repository capabilities. If omitted, the repository will decide the appropriate default.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="mimeType" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>mime-type of content. If omitted, the repository will assume a default.</xs:documentation> </xs:annotation> </xs:element> <xs:choice> <xs:annotation> <xs:documentation>Choice of document content or URL from which document content can be fetched</xs:documentation> </xs:annotation> <xs:element name="content" type="xs:base64Binary"> <xs:annotation> <xs:documentation>base64Binary encoding of document content</xs:documentation> </xs:annotation> </xs:element> <xs:element name="contentURL" type="xs:anyURI"> <xs:annotation> <xs:documentation>URL from which the document content can be fetched (i.e. This URL must be resolvable from the AMX-BPM server)</xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:sequence> <xs:attribute name="returnMetadata" type="xs:boolean"> <xs:annotation> <xs:documentation>The response will contain a document reference. If this boolean attribute is set true, it will also include document metadata. (Assumed false if omitted)</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> |