POST WEYIServer/Sync/SysConfig

Sync SysConfig data between home server and backup server

Request Information

URI Parameters

None.

Body Parameters

ParaWebServer_SysConfigSync
NameDescriptionTypeAdditional information
RecUIElementList

Collection of ParaSync_UIElement

None.

RecUIElementYList

Collection of ParaSync_UIElementY

None.

SecurityItem

ParaWebServerSecurity

None.

Request Formats

application/json, text/json

Sample:
{
  "RecUIElementList": [
    {
      "Id": 1,
      "AppName": "sample string 2",
      "DeviceType": "sample string 3",
      "ElementKey": "sample string 4",
      "CreateDate": "2025-04-25T15:38:23.9724659Z"
    },
    {
      "Id": 1,
      "AppName": "sample string 2",
      "DeviceType": "sample string 3",
      "ElementKey": "sample string 4",
      "CreateDate": "2025-04-25T15:38:23.9724659Z"
    }
  ],
  "RecUIElementYList": [
    {
      "Id": 1,
      "UIElementId": 2,
      "SystemLanguageId": 3,
      "Content": "sample string 4",
      "CreateDate": "2025-04-25T15:38:23.9880708Z"
    },
    {
      "Id": 1,
      "UIElementId": 2,
      "SystemLanguageId": 3,
      "Content": "sample string 4",
      "CreateDate": "2025-04-25T15:38:23.9880708Z"
    }
  ],
  "SecurityItem": {
    "GlobalId": 1,
    "AuthKeyFrom": "sample string 2",
    "AuthKeyTo": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<ParaWebServer_SysConfigSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <SecurityItem>
    <AuthKeyFrom>sample string 2</AuthKeyFrom>
    <AuthKeyTo>sample string 3</AuthKeyTo>
    <GlobalId>1</GlobalId>
  </SecurityItem>
  <RecUIElementList>
    <ParaSync_UIElement>
      <AppName>sample string 2</AppName>
      <CreateDate>2025-04-25T15:38:23.9724659Z</CreateDate>
      <DeviceType>sample string 3</DeviceType>
      <ElementKey>sample string 4</ElementKey>
      <Id>1</Id>
    </ParaSync_UIElement>
    <ParaSync_UIElement>
      <AppName>sample string 2</AppName>
      <CreateDate>2025-04-25T15:38:23.9724659Z</CreateDate>
      <DeviceType>sample string 3</DeviceType>
      <ElementKey>sample string 4</ElementKey>
      <Id>1</Id>
    </ParaSync_UIElement>
  </RecUIElementList>
  <RecUIElementYList>
    <ParaSync_UIElementY>
      <Content>sample string 4</Content>
      <CreateDate>2025-04-25T15:38:23.9880708Z</CreateDate>
      <Id>1</Id>
      <SystemLanguageId>3</SystemLanguageId>
      <UIElementId>2</UIElementId>
    </ParaSync_UIElementY>
    <ParaSync_UIElementY>
      <Content>sample string 4</Content>
      <CreateDate>2025-04-25T15:38:23.9880708Z</CreateDate>
      <Id>1</Id>
      <SystemLanguageId>3</SystemLanguageId>
      <UIElementId>2</UIElementId>
    </ParaSync_UIElementY>
  </RecUIElementYList>
</ParaWebServer_SysConfigSync>

Response Information

Resource Description

SysConfigId of related SysConfig in this backup server, as well as status of each section of data to be synced

ParaWebServer_SysConfigSyncResult
NameDescriptionTypeAdditional information
UIElementId

integer

None.

UIElementYId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "UIElementId": 1,
  "UIElementYId": 1
}

application/xml, text/xml

Sample:
<ParaWebServer_SysConfigSyncResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <UIElementId>1</UIElementId>
  <UIElementYId>1</UIElementYId>
</ParaWebServer_SysConfigSyncResult>