Click or drag to resize

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.5.94
Syntax
public XHRServiceResponseGeneric<string> UploadSchemas(
	Stream FileByteStream
)

Parameters

FileByteStream
Type: System.IOStream

The form data contains the schema xml content, and 2 additional parameters

Examples

Sample Request Payload

JavaScript
------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: XHRServiceResponseGenericString

Created/Update schema id

See Also