SchemaDesignerServicesUploadSchemas Method
|
Uploads to create or update a Schema with a schema xml file. Can choose whether to update existing schema,
and whether to skip draft mode
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public XHRServiceResponseGeneric<string> UploadSchemas(
Stream FileByteStream
)
Public Function UploadSchemas (
FileByteStream As Stream
) As XHRServiceResponseGeneric(Of String)
public:
virtual XHRServiceResponseGeneric<String^>^ UploadSchemas(
Stream^ FileByteStream
) sealed
abstract UploadSchemas :
FileByteStream : Stream -> XHRServiceResponseGeneric<string>
override UploadSchemas :
FileByteStream : Stream -> XHRServiceResponseGeneric<string>
Parameters
- FileByteStream
- Type: System.IOStream
The form data contains the schema xml content, and 2 additional parameters
Examples Sample Request Payload
------WebKitFormBoundaryYkt9Q6cVyTxBHTm9
Content-Disposition: form-data; name="updateonconflicts"
true
------WebKitFormBoundaryYkt9Q6cVyTxBHTm9
Content-Disposition: form-data; name="file"; filename="Component_Sponsor.xml"
Content-Type: text/xml
------WebKitFormBoundaryYkt9Q6cVyTxBHTm9--
Return Value
Type:
XHRServiceResponseGenericStringCreated/Update schema id
See Also