POST web/admin/regionserver/updateserver

update setting

Request Information

Parameters

NameDescriptionAdditional information
inVO

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "serverVo": {
    "id": 1,
    "region": "sample string 2",
    "name": "sample string 3",
    "apiEndPoint": "sample string 4",
    "proxyEndPoint": "sample string 5",
    "nodeServerEndPoint": "sample string 6",
    "speechRecognizeServiceType": 7,
    "speechReviewServiceType": 8,
    "speechRecognizeUseProxyServer": 9,
    "fileServerEndPoint": "sample string 10"
  },
  "curUserId": "sample string 1",
  "isSSO": true,
  "requestHost": "sample string 3",
  "applicationPath": "sample string 4",
  "secureApplicationPath": "sample string 5",
  "absoluteApplicationPath": "sample string 6",
  "isHttps": true,
  "isMobileDevice": true,
  "clientType": 0,
  "clientVersion": "sample string 9",
  "clientOS": "sample string 10",
  "clientBuild": "sample string 11",
  "timeZone": 12,
  "clientId": "sample string 13"
}

application/xml, text/xml

Sample:
<RegionServerInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input">
  <ClientId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 13</ClientId>
  <ClientType xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">Web</ClientType>
  <TimeZone xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">12</TimeZone>
  <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 6</absoluteApplicationPath>
  <applicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 4</applicationPath>
  <cachedKey xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 1</cachedKey>
  <clientBuild xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 11</clientBuild>
  <clientOS xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 10</clientOS>
  <clientVersion xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 9</clientVersion>
  <curUserId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 1</curUserId>
  <isHttps xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isHttps>
  <isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isMobileDevice>
  <isSSO xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isSSO>
  <requestHost xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 3</requestHost>
  <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 5</secureApplicationPath>
  <ServerVo xmlns:d2p1="http://schemas.datacontract.org/2004/07/AiChinese.Distributed.VO">
    <d2p1:ApiEndPoint>sample string 4</d2p1:ApiEndPoint>
    <d2p1:FileServerEndPoint>sample string 10</d2p1:FileServerEndPoint>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:NodeServerEndPoint>sample string 6</d2p1:NodeServerEndPoint>
    <d2p1:ProxyEndPoint>sample string 5</d2p1:ProxyEndPoint>
    <d2p1:Region>sample string 2</d2p1:Region>
    <d2p1:SpeechRecognizeServiceType>7</d2p1:SpeechRecognizeServiceType>
    <d2p1:SpeechRecognizeUseProxyServer>9</d2p1:SpeechRecognizeUseProxyServer>
    <d2p1:SpeechReviewServiceType>8</d2p1:SpeechReviewServiceType>
  </ServerVo>
</RegionServerInVO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "isDone": true,
  "code": 0,
  "message": "sample string 2",
  "cachedKey": "sample string 3",
  "correlationId": "3734d77e-d324-49ec-9cc7-d3cb8d9f1a10",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponseOfVoidOutVOFP0KSs_SV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API">
  <CachedKey>sample string 3</CachedKey>
  <Code>None</Code>
  <CorrelationId>3734d77e-d324-49ec-9cc7-d3cb8d9f1a10</CorrelationId>
  <IsDone>true</IsDone>
  <Message>sample string 2</Message>
</ApiResponseOfVoidOutVOFP0KSs_SV>