POST ActionApi/T_ReportTrain/T_ReportTrainAddGrades

新增陈列/BA带教报告

Request Information

URI Parameters

None.

Body Parameters

Collection of ReportTrain
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

iReportId

报告ID

integer

None.

iUserId

用户ID

globally unique identifier

None.

iBrandId

品牌

integer

None.

cCategory

品类名称

string

None.

cLeftProduct

左边竞品

string

None.

cSalesProduct

有无促销

string

None.

cRightProduct

右边竞品

string

None.

cBrandName

品牌名称

string

None.

cTrainContent

本次辅导内容

string

None.

cTrainFollow

下次跟进内容

string

None.

dtDateTime

建立日期

date

None.

cReportType

报告明细类型

string

None.

cReportDetailName

报告明细类型名称

string

None.

dtCreateTime

date

None.

dtReportTime

date

None.

iBAUserID

BA用户ID

globally unique identifier

None.

_Pic

图片list

Collection of T_Pics

None.

_Grades

受教list

Collection of ReportGrade

None.

_Stock

缺货list

Collection of T_ReportStock

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": "3bb3f8e9-8172-4e60-8247-34880b6b0905",
    "iReportId": 1,
    "iUserId": "7f7f6532-f0a9-4f8b-8e74-7d4e36a28855",
    "iBrandId": 1,
    "cCategory": "sample string 2",
    "cLeftProduct": "sample string 3",
    "cSalesProduct": "sample string 4",
    "cRightProduct": "sample string 5",
    "cBrandName": "sample string 6",
    "cTrainContent": "sample string 7",
    "cTrainFollow": "sample string 8",
    "dtDateTime": "2023-03-24T21:43:13.6127447+08:00",
    "cReportType": "sample string 9",
    "cReportDetailName": "sample string 10",
    "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
    "dtReportTime": "2023-03-24T21:43:13.6127447+08:00",
    "iBAUserID": "dc01fa28-e69c-4140-9cca-5796491aa227",
    "_Pic": [
      {
        "id": 1,
        "cPicPath": "sample string 2",
        "cPicType": "sample string 3",
        "cPicClass": "sample string 4",
        "iSize": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
        "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
        "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
        "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
        "cOrderCode": "sample string 8",
        "iAsync": 1,
        "isShow": 1
      },
      {
        "id": 1,
        "cPicPath": "sample string 2",
        "cPicType": "sample string 3",
        "cPicClass": "sample string 4",
        "iSize": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
        "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
        "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
        "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
        "cOrderCode": "sample string 8",
        "iAsync": 1,
        "isShow": 1
      }
    ],
    "_Grades": [
      {
        "_Pic": [
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          },
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          }
        ]
      },
      {
        "_Pic": [
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          },
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          }
        ]
      }
    ],
    "_Stock": [
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6137005+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "c66617fe-b59f-4a14-9461-444fcd33f350",
        "UUID": "da764ee3-d8f9-4942-9879-d49165d4dbee"
      },
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6137005+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "c66617fe-b59f-4a14-9461-444fcd33f350",
        "UUID": "da764ee3-d8f9-4942-9879-d49165d4dbee"
      }
    ]
  },
  {
    "id": "3bb3f8e9-8172-4e60-8247-34880b6b0905",
    "iReportId": 1,
    "iUserId": "7f7f6532-f0a9-4f8b-8e74-7d4e36a28855",
    "iBrandId": 1,
    "cCategory": "sample string 2",
    "cLeftProduct": "sample string 3",
    "cSalesProduct": "sample string 4",
    "cRightProduct": "sample string 5",
    "cBrandName": "sample string 6",
    "cTrainContent": "sample string 7",
    "cTrainFollow": "sample string 8",
    "dtDateTime": "2023-03-24T21:43:13.6127447+08:00",
    "cReportType": "sample string 9",
    "cReportDetailName": "sample string 10",
    "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
    "dtReportTime": "2023-03-24T21:43:13.6127447+08:00",
    "iBAUserID": "dc01fa28-e69c-4140-9cca-5796491aa227",
    "_Pic": [
      {
        "id": 1,
        "cPicPath": "sample string 2",
        "cPicType": "sample string 3",
        "cPicClass": "sample string 4",
        "iSize": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
        "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
        "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
        "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
        "cOrderCode": "sample string 8",
        "iAsync": 1,
        "isShow": 1
      },
      {
        "id": 1,
        "cPicPath": "sample string 2",
        "cPicType": "sample string 3",
        "cPicClass": "sample string 4",
        "iSize": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
        "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
        "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
        "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
        "cOrderCode": "sample string 8",
        "iAsync": 1,
        "isShow": 1
      }
    ],
    "_Grades": [
      {
        "_Pic": [
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          },
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          }
        ]
      },
      {
        "_Pic": [
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          },
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2023-03-24T21:43:13.6127447+08:00",
            "dtUploadTime": "2023-03-24T21:43:13.6127447+08:00",
            "iStoreId": "a6f13b41-3537-401c-86a9-2fbb4b415288",
            "iUserId": "00dee3b5-8296-4e65-a466-480366588fbc",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "50663ddf-0f5b-4171-ba29-40372f9ac297",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "99b317ca-61ab-4903-a3f9-e95161da6416",
            "iAsync": 1
          }
        ]
      }
    ],
    "_Stock": [
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6137005+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "c66617fe-b59f-4a14-9461-444fcd33f350",
        "UUID": "da764ee3-d8f9-4942-9879-d49165d4dbee"
      },
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2023-03-24T21:43:13.6137005+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "c66617fe-b59f-4a14-9461-444fcd33f350",
        "UUID": "da764ee3-d8f9-4942-9879-d49165d4dbee"
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

新增陈列/BA带教报告

T_ReportGrade
NameDescriptionTypeAdditional information
id

串号

integer

None.

iReportId

报告名称

integer

None.

cDictName

评分项

string

None.

iGradeNumber

分值

decimal number

None.

iTotalNumber

标准分值

decimal number

None.

iTrainiId

带教报告ID

globally unique identifier

None.

iAsync

同步标志

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "iReportId": 2,
  "cDictName": "sample string 3",
  "iGradeNumber": 1.0,
  "iTotalNumber": 1.0,
  "iTrainiId": "47e897dc-aedc-4b3e-aa87-935c44362ed5",
  "iAsync": 1
}