POST web/admin/unittype/edit/save

save unittype info

Request Information

Parameters

NameDescriptionAdditional information
inVO

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "category": 0,
  "title": "sample string 2",
  "description": "sample string 3",
  "photo": "sample string 4",
  "duration": 5,
  "enabled": true,
  "translation": true,
  "pinyin": true,
  "version": "sample string 9",
  "director": "sample string 10",
  "curUserId": "sample string 11",
  "isSSO": true,
  "requestHost": "sample string 13",
  "applicationPath": "sample string 14",
  "secureApplicationPath": "sample string 15",
  "absoluteApplicationPath": "sample string 16",
  "isHttps": true,
  "isMobileDevice": true,
  "clientType": 0,
  "clientVersion": "sample string 19",
  "clientOS": "sample string 20",
  "clientBuild": "sample string 21",
  "timeZone": 22,
  "clientId": "sample string 23"
}

application/xml, text/xml

Sample:
<SaveUnitTypeInVO 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 23</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">22</TimeZone>
  <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 16</absoluteApplicationPath>
  <applicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 14</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 21</clientBuild>
  <clientOS xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 20</clientOS>
  <clientVersion xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 19</clientVersion>
  <curUserId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 11</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 13</requestHost>
  <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 15</secureApplicationPath>
  <Category>All</Category>
  <Description>sample string 3</Description>
  <Director>sample string 10</Director>
  <Duration>5</Duration>
  <Enabled>true</Enabled>
  <Id>sample string 1</Id>
  <Photo>sample string 4</Photo>
  <Pinyin>true</Pinyin>
  <Title>sample string 2</Title>
  <Translation>true</Translation>
  <Version>sample string 9</Version>
</SaveUnitTypeInVO>

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": "60af8f7a-a9cc-4920-bfb5-626b266e4174",
  "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>60af8f7a-a9cc-4920-bfb5-626b266e4174</CorrelationId>
  <IsDone>true</IsDone>
  <Message>sample string 2</Message>
</ApiResponseOfVoidOutVOFP0KSs_SV>