コード例 #1
0
ファイル: MiniEmeApiTest.cs プロジェクト: kylin589/EmePro
 public void MiniEmeTest_UnBookCourseByUserId()
 {
     MiniEmeClient emeClient = new MiniEmeClient();
     var param = JsonHelper.ToJson(new UnbookCourseModel()
     {
         BookRecordId = 8247243,
         UserId = 146865,
         IsForce = true,
         UnBookReason = "Test Create",
         UnBookUserId = 146865,
     });
     var result = emeClient.UnBookCourseByUserId(param);
     var jsonData = JsonHelper.FromJson<Dictionary<string, string>>(result);
     Assert.AreEqual(jsonData["ResultCode"], "000000");
     emeClient.Close();
 }