POST ActionApi/t_SalesPlant/T_SalesPlantListUpdate

更新申请计划

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": "2023-03-23T16:54:09.4115625+08:00",
          "dtUploadTime": "2023-03-23T16:54:09.4115625+08:00",
          "iStoreId": "aa3fe1f7-269d-4bfd-8f7b-0c40538f54fa",
          "iUserId": "a881c418-6b74-4192-9e15-d86216877257",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "1b8a45b0-6f89-4f9d-9be4-ad01bf546902",
          "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-23T16:54:09.4115625+08:00",
          "dtUploadTime": "2023-03-23T16:54:09.4115625+08:00",
          "iStoreId": "aa3fe1f7-269d-4bfd-8f7b-0c40538f54fa",
          "iUserId": "a881c418-6b74-4192-9e15-d86216877257",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "1b8a45b0-6f89-4f9d-9be4-ad01bf546902",
          "cOrderCode": "sample string 8",
          "iAsync": 1,
          "isShow": 1
        }
      ],
      "Id": "ff5f72eb-05d1-4302-abec-d11b54ddcc75",
      "iPlantId": "65ee2038-5cf5-471e-a998-1c6e518e513a",
      "iStoreId": "99e97791-6b09-4472-9cf1-3b2f08bcad21",
      "dtPlantTime": "2023-03-23T16:54:09.4115625+08:00",
      "iPlantFlag": 1,
      "dtCreateTime": "2023-03-23T16:54:09.4115625+08:00",
      "dtUpdateTime": "2023-03-23T16:54:09.4115625+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": "2023-03-23T16:54:09.4115625+08:00",
          "dtUploadTime": "2023-03-23T16:54:09.4115625+08:00",
          "iStoreId": "aa3fe1f7-269d-4bfd-8f7b-0c40538f54fa",
          "iUserId": "a881c418-6b74-4192-9e15-d86216877257",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "1b8a45b0-6f89-4f9d-9be4-ad01bf546902",
          "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-23T16:54:09.4115625+08:00",
          "dtUploadTime": "2023-03-23T16:54:09.4115625+08:00",
          "iStoreId": "aa3fe1f7-269d-4bfd-8f7b-0c40538f54fa",
          "iUserId": "a881c418-6b74-4192-9e15-d86216877257",
          "cRoleName": "sample string 5",
          "cUserName": "sample string 6",
          "iBrandName": "sample string 7",
          "iReportId": 1,
          "iTrainId": "1b8a45b0-6f89-4f9d-9be4-ad01bf546902",
          "cOrderCode": "sample string 8",
          "iAsync": 1,
          "isShow": 1
        }
      ],
      "Id": "ff5f72eb-05d1-4302-abec-d11b54ddcc75",
      "iPlantId": "65ee2038-5cf5-471e-a998-1c6e518e513a",
      "iStoreId": "99e97791-6b09-4472-9cf1-3b2f08bcad21",
      "dtPlantTime": "2023-03-23T16:54:09.4115625+08:00",
      "iPlantFlag": 1,
      "dtCreateTime": "2023-03-23T16:54:09.4115625+08:00",
      "dtUpdateTime": "2023-03-23T16:54:09.4115625+08:00",
      "iSalesCount": 1,
      "iSalesAmount": 1.0,
      "isClose": 1
    }
  ],
  "Id": "aa8b9f73-4ab5-44ca-a7fc-0fd95cb2d089",
  "cSalesPlantCode": "sample string 2",
  "cPlantCode": 1,
  "cPlantBrand": 1,
  "cPlantPrep": "2023-03-23T16:54:09.4125454+08:00",
  "dtPrepTime": "2023-03-23T16:54:09.4125454+08:00",
  "cPlantRemark": "sample string 3",
  "iPlantStatue": 1,
  "dtCreateTime": "2023-03-23T16:54:09.4125454+08:00",
  "dtUpdateTime": "2023-03-23T16:54:09.4125454+08:00",
  "cUserId": "01b01b7e-8965-4fb8-88c1-d219748d3f62",
  "cAuthorId": "6f34212d-a69a-4f99-87df-4c7e494066de",
  "dtAuthorTime": "2023-03-23T16:54:09.4125454+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.