SchemaDesignerServicesSyncComponentEmbedsToSchema Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<SchemaComponentEmbedSyncResult> SyncComponentEmbedsToSchema( SchemaSyncComponentEmbedRequest data )
Object containing Ids of the Pages, and the ids of the fields on the Page, to be synchronized
{
"data": {
"SchemaId": "schemas/VisualFormBuilderForm",
"Pages": [{
"PageID": "x580",
"FieldID": "26506a8800fae4bb6a9e42d1f923b16b"
}, {
"PageID": "x694",
"FieldID": "26506a8800fae4bb6a9e42d1f923b16b"
}, {
"PageID": "x695",
"FieldID": "26506a8800fae4bb6a9e42d1f923b16b"
}],
"AllowImmediateCheckin": false
}
}Result of Synchronization
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": {
"Errors": [],
"SchemaId": "schemas\/VisualFormBuilderForm",
"SchemaRootName": "FormBuilder_Form",
"Successes": [{
"FieldID": "26506a8800fae4bb6a9e42d1f923b16b",
"ID": "x695-26506a8800fae4bb6a9e42d1f923b16b",
"PageID": "x695"
}, {
"FieldID": "26506a8800fae4bb6a9e42d1f923b16b",
"ID": "x694-26506a8800fae4bb6a9e42d1f923b16b",
"PageID": "x694"
}, {
"FieldID": "26506a8800fae4bb6a9e42d1f923b16b",
"ID": "x580-26506a8800fae4bb6a9e42d1f923b16b",
"PageID": "x580"
}]
}
}If Schema with given Id doesn't exist, returns error status
During synchronization, site is locked to prevent any content changes. Site will be unlocked after synchronization is one.