POST mobile/talkchinese/default/saveplan

save plan

Request Information

Parameters

NameDescriptionAdditional information
inVO

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "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",
  "courseId": "sample string 1",
  "daysInWeek": 2,
  "passingScore": 3
}

application/xml, text/xml

Sample:
<SavePlanInVO 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 4</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>
  <CourseId>sample string 1</CourseId>
  <DaysInWeek>2</DaysInWeek>
  <PassingScore>3</PassingScore>
</SavePlanInVO>

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": "74ba55f1-e065-4553-a891-4231f08f46cf",
  "data": {
    "courseId": "sample string 1",
    "passingScore": 2,
    "daysInWeek": 3,
    "reportEmail": "sample string 4",
    "timeSpent": 5,
    "numOfStudies": 6,
    "dialogCount": 7,
    "keywordCount": 8,
    "completedCount": 9,
    "totalCompletedCount": 10,
    "reviewCount": 11,
    "currentUnitIndex": 12,
    "learnedDays": [
      1,
      2,
      3
    ],
    "numWeekCompleted": 13,
    "addedOn": "sample string 14"
  }
}

application/xml, text/xml

Sample:
<ApiResponseOfTalkChinesePlanOutVODeMvvqei 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>74ba55f1-e065-4553-a891-4231f08f46cf</CorrelationId>
  <IsDone>true</IsDone>
  <Message>sample string 2</Message>
</ApiResponseOfTalkChinesePlanOutVODeMvvqei>