POST ActionApi/t_SalesPlant/T_SalesPlantListAdd

新建促销计划

Request Information

URI Parameters

None.

Body Parameters

T_SalesPlantList
NameDescriptionTypeAdditional information
T_SalesPlantDetailsList

Collection of T_SalesPlantDetailList

None.

Id

串号

globally unique identifier

None.

cSalesPlantCode

申请编号

string

None.

cPlantCode

渠道

integer

None.

cPlantBrand

品牌

integer

None.

cPlantPrep

申请日期

date

None.

dtPrepTime

建单日期

date

None.

cPlantRemark

审批说明

string

None.

iPlantStatue

审批状态

integer

None.

dtCreateTime

创建时间

date

None.

dtUpdateTime

更新时间

date

None.

cUserId

起草人

globally unique identifier

None.

cAuthorId

审批人

globally unique identifier

None.

dtAuthorTime

审批时间

date

None.

cTimePath

时间线

string

None.

cPlantContent

计划内容

string

None.

Request Formats

application/json, text/json

Sample:
{
  "T_SalesPlantDetailsList": [
    {
      "T_Pics": [
        {
          "id": 1,
          "cPicPath": "sample string 2",
          "cPicType": "sample string 3",
          "cPicClass": "sample string 4",
          "iSize": 1.0,
          "dtCreateTime": "2021-10-19T23:26:54.0525426+08:00",
          "dtUploadTime": "2021-10-19T23:26:54.0525426+08:00",
          "iStoreId": "cc567386-d63b-46d4-bd97-9f3b39b6689b",
          "iUserId": "69fe4f1b-5104-404b-8bc8-b4d072c760b8",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "ed56b29d-8519-42be-b546-13f9ec1ebb9c",
          "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-19T23:26:54.0525426+08:00",
          "dtUploadTime": "2021-10-19T23:26:54.0525426+08:00",
          "iStoreId": "cc567386-d63b-46d4-bd97-9f3b39b6689b",
          "iUserId": "69fe4f1b-5104-404b-8bc8-b4d072c760b8",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "ed56b29d-8519-42be-b546-13f9ec1ebb9c",
          "cOrderCode": "sample string 8",
          "iAsync": 1,
          "isShow": 1
        }
      ],
      "Id": "95c7f799-3ed2-4e6e-a396-6cf486cea737",
      "iPlantId": "8a0eb646-98b7-4739-a63f-6062e01c49f8",
      "iStoreId": "f8d6c339-315a-4353-91c3-531eb4299564",
      "dtPlantTime": "2021-10-19T23:26:54.0525426+08:00",
      "iPlantFlag": 1,
      "dtCreateTime": "2021-10-19T23:26:54.0525426+08:00",
      "dtUpdateTime": "2021-10-19T23:26:54.0525426+08:00",
      "iSalesCount": 1,
      "iSalesAmount": 1.0,
      "isClose": 1
    },
    {
      "T_Pics": [
        {
          "id": 1,
          "cPicPath": "sample string 2",
          "cPicType": "sample string 3",
          "cPicClass": "sample string 4",
          "iSize": 1.0,
          "dtCreateTime": "2021-10-19T23:26:54.0525426+08:00",
          "dtUploadTime": "2021-10-19T23:26:54.0525426+08:00",
          "iStoreId": "cc567386-d63b-46d4-bd97-9f3b39b6689b",
          "iUserId": "69fe4f1b-5104-404b-8bc8-b4d072c760b8",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "ed56b29d-8519-42be-b546-13f9ec1ebb9c",
          "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-19T23:26:54.0525426+08:00",
          "dtUploadTime": "2021-10-19T23:26:54.0525426+08:00",
          "iStoreId": "cc567386-d63b-46d4-bd97-9f3b39b6689b",
          "iUserId": "69fe4f1b-5104-404b-8bc8-b4d072c760b8",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "ed56b29d-8519-42be-b546-13f9ec1ebb9c",
          "cOrderCode": "sample string 8",
          "iAsync": 1,
          "isShow": 1
        }
      ],
      "Id": "95c7f799-3ed2-4e6e-a396-6cf486cea737",
      "iPlantId": "8a0eb646-98b7-4739-a63f-6062e01c49f8",
      "iStoreId": "f8d6c339-315a-4353-91c3-531eb4299564",
      "dtPlantTime": "2021-10-19T23:26:54.0525426+08:00",
      "iPlantFlag": 1,
      "dtCreateTime": "2021-10-19T23:26:54.0525426+08:00",
      "dtUpdateTime": "2021-10-19T23:26:54.0525426+08:00",
      "iSalesCount": 1,
      "iSalesAmount": 1.0,
      "isClose": 1
    }
  ],
  "Id": "97fab3b1-cf73-40d3-a608-71cbd66cf5f3",
  "cSalesPlantCode": "sample string 2",
  "cPlantCode": 1,
  "cPlantBrand": 1,
  "cPlantPrep": "2021-10-19T23:26:54.0525426+08:00",
  "dtPrepTime": "2021-10-19T23:26:54.0525426+08:00",
  "cPlantRemark": "sample string 3",
  "iPlantStatue": 1,
  "dtCreateTime": "2021-10-19T23:26:54.0525426+08:00",
  "dtUpdateTime": "2021-10-19T23:26:54.0525426+08:00",
  "cUserId": "cf60cc04-b29f-44a1-958a-6136d938484e",
  "cAuthorId": "5d8c82ab-08ad-4b3b-82ad-6f08a55eb60d",
  "dtAuthorTime": "2021-10-19T23:26:54.0535364+08:00",
  "cTimePath": "sample string 4",
  "cPlantContent": "sample string 5"
}

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 'T_SalesPlantList'.

Response Information

Resource Description

新建促销计划

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.