SiteDefinitionsLocalizationServicesGetSchema Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<SchemaLocalizationData> GetSchema( SingleSiteDefitionLocalizationGetInput data )
Object containng Schema Id and original Schema name
{
"data": {
"id": "Details",
"label": "Schema Friendly Name:"
}
}Localization of the given Schema, including Schema name, description and localization of all its fields
{
"code": 0,
"error": null,
"message": {
"children": [{
"name": "Title",
"firstEntry": {
"label": "Label:",
"original": "Title",
"target": "",
"name": "Label"
},
"isDone": false,
"label": "Title",
"secondEntry": {
"label": "Help Text:",
"original": "",
"target": "",
"name": "HelpText"
}
}, {
"name": "BodyCopy",
"firstEntry": {
"label": "Label:",
"original": "Body Copy",
"target": "",
"name": "Label"
},
"isDone": false,
"label": "Body Copy",
"secondEntry": {
"label": "Help Text:",
"original": "",
"target": "",
"name": "HelpText"
}
}, {
"name": "SiteControl",
"firstEntry": {
"label": "Label:",
"original": "Site Control",
"target": "",
"name": "Label"
},
"isDone": false,
"label": "Site Control",
"secondEntry": {
"label": "Help Text:",
"original": "",
"target": "",
"name": "HelpText"
}
}, {
"name": "AncestorNavigation",
"firstEntry": {
"label": "Label:",
"original": "Ancestor Navigation",
"target": "",
"name": "Label"
},
"isDone": false,
"label": "Ancestor Navigation",
"secondEntry": {
"label": "Help Text:",
"original": "",
"target": "",
"name": "HelpText"
}
}],
"descriptionField": null,
"nameField": {
"label": "Schema Friendly Name:",
"original": "Details",
"target": ""
},
"isIncomplete": true,
"isOutDated": true,
"isTranslated": false,
"metaData": "Details"
}
}If Schema doesn't exist, returns error status
If Localization for Schema doesn't exist, all the "isDone" field of transition entries are "false"