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": "4ef6b44c-9c79-4d8c-ae2c-7b9a9ad2cae7",
    "iReportId": 1,
    "iUserId": "5a148487-5685-44d7-896f-6120c33bd027",
    "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": "2021-10-28T11:30:31.0634464+08:00",
    "cReportType": "sample string 9",
    "cReportDetailName": "sample string 10",
    "dtCreateTime": "2021-10-28T11:30:31.0634464+08:00",
    "dtReportTime": "2021-10-28T11:30:31.0634464+08:00",
    "iBAUserID": "25754477-5fb2-4ded-9cae-629e0bfcd932",
    "_Pic": [
      {
        "id": 1,
        "cPicPath": "sample string 2",
        "cPicType": "sample string 3",
        "cPicClass": "sample string 4",
        "iSize": 1.0,
        "dtCreateTime": "2021-10-28T11:30:31.0634464+08:00",
        "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
        "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
        "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
        "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": "2021-10-28T11:30:31.0634464+08:00",
        "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
        "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
        "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
        "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": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "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": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          }
        ]
      },
      {
        "_Pic": [
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "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": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          }
        ]
      }
    ],
    "_Stock": [
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2021-10-28T11:30:31.064424+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "e6b69686-6639-4103-bd07-556ae87cd985",
        "UUID": "7840761c-e378-47f0-a37b-2f07300bbbbd"
      },
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2021-10-28T11:30:31.064424+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "e6b69686-6639-4103-bd07-556ae87cd985",
        "UUID": "7840761c-e378-47f0-a37b-2f07300bbbbd"
      }
    ]
  },
  {
    "id": "4ef6b44c-9c79-4d8c-ae2c-7b9a9ad2cae7",
    "iReportId": 1,
    "iUserId": "5a148487-5685-44d7-896f-6120c33bd027",
    "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": "2021-10-28T11:30:31.0634464+08:00",
    "cReportType": "sample string 9",
    "cReportDetailName": "sample string 10",
    "dtCreateTime": "2021-10-28T11:30:31.0634464+08:00",
    "dtReportTime": "2021-10-28T11:30:31.0634464+08:00",
    "iBAUserID": "25754477-5fb2-4ded-9cae-629e0bfcd932",
    "_Pic": [
      {
        "id": 1,
        "cPicPath": "sample string 2",
        "cPicType": "sample string 3",
        "cPicClass": "sample string 4",
        "iSize": 1.0,
        "dtCreateTime": "2021-10-28T11:30:31.0634464+08:00",
        "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
        "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
        "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
        "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": "2021-10-28T11:30:31.0634464+08:00",
        "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
        "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
        "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
        "cRoleName": "sample string 5",
        "cUserName": "sample string 6",
        "iBrandName": "sample string 7",
        "iReportId": 1,
        "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
        "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": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "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": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          }
        ]
      },
      {
        "_Pic": [
          {
            "id": 1,
            "cPicPath": "sample string 2",
            "cPicType": "sample string 3",
            "cPicClass": "sample string 4",
            "iSize": 1.0,
            "dtCreateTime": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "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": "2021-10-28T11:30:31.0634464+08:00",
            "dtUploadTime": "2021-10-28T11:30:31.0634464+08:00",
            "iStoreId": "a9599a39-816d-4e61-ac53-e6040c8bda74",
            "iUserId": "0498227b-02f8-4ec2-9976-f389e5e5fa0c",
            "cRoleName": "sample string 5",
            "cUserName": "sample string 6",
            "iBrandName": "sample string 7",
            "iReportId": 1,
            "iTrainId": "31332731-5977-4608-a89e-2eb9ea2e3215",
            "cOrderCode": "sample string 8",
            "iAsync": 1,
            "isShow": 1
          }
        ],
        "_Grade": [
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          },
          {
            "id": 1,
            "iReportId": 2,
            "cDictName": "sample string 3",
            "iGradeNumber": 1.0,
            "iTotalNumber": 1.0,
            "iTrainiId": "28329ea5-792b-46e0-bc71-5f6b05a95345",
            "iAsync": 1
          }
        ]
      }
    ],
    "_Stock": [
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2021-10-28T11:30:31.064424+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "e6b69686-6639-4103-bd07-556ae87cd985",
        "UUID": "7840761c-e378-47f0-a37b-2f07300bbbbd"
      },
      {
        "id": 1,
        "iReportId": 1,
        "iBrandId": 1,
        "cBrandName": "sample string 2",
        "iProductId": 1,
        "cProductName": "sample string 3",
        "isHave": 1.0,
        "dtCreateTime": "2021-10-28T11:30:31.064424+08:00",
        "iSkuType": 1,
        "cSkuType": "sample string 4",
        "isError": 1,
        "isBlack": 1,
        "isOld": 1,
        "iInportSKU": 1,
        "iStoreId": "e6b69686-6639-4103-bd07-556ae87cd985",
        "UUID": "7840761c-e378-47f0-a37b-2f07300bbbbd"
      }
    ]
  }
]

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": "f6242ba1-ff8a-4cc9-8d5f-90d4e2471d1e",
  "iAsync": 1
}