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

Parameters

FileByteStream  Stream

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

Example

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

XHRServiceResponseGenericString

Created/Update schema id

See Also