POST ActionApi/T_WorkReport/PostT_WorkReport

批量增加工作计划

Request Information

URI Parameters

None.

Body Parameters

Collection of T_WorkReport
NameDescriptionTypeAdditional information
id

串号

integer

None.

iStoreId

门店ID

globally unique identifier

None.

iUserId

用户ID

globally unique identifier

None.

dtCreateTime

建立日期

date

None.

dtPlantTime

计划工作日期

date

None.

iReportType

报告类型

integer

None.

cUserName

用户名

string

None.

iStatue

状态

integer

None.

cRemark

工作报告备注

string

None.

iWorkType

计划类型

integer

None.

iAsync

同步标志

integer

None.

iComplete

是否完成

decimal number

None.

iCount

数量

integer

None.

T_WorkStore

Collection of T_WorkStore

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "iStoreId": "68408355-830b-493e-9c93-8f4db1933b4e",
    "iUserId": "d41bd6ca-6b36-4ec6-a724-25fd094e0088",
    "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
    "dtPlantTime": "2021-10-20T00:03:44.3732082+08:00",
    "iReportType": 1,
    "cUserName": "sample string 2",
    "iStatue": 1,
    "cRemark": "sample string 3",
    "iWorkType": 1,
    "iAsync": 1,
    "iComplete": 1.0,
    "iCount": 1,
    "T_WorkStore": [
      {
        "id": 1,
        "iReportId": 1,
        "iStoreId": "7484419d-ec09-4b41-9b10-8841c4c7722b",
        "iUserId": "9209b787-4825-4fb2-b242-be5e469e764c",
        "dtInStore": "2021-10-20T00:03:44.3732082+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      },
      {
        "id": 1,
        "iReportId": 1,
        "iStoreId": "7484419d-ec09-4b41-9b10-8841c4c7722b",
        "iUserId": "9209b787-4825-4fb2-b242-be5e469e764c",
        "dtInStore": "2021-10-20T00:03:44.3732082+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      }
    ]
  },
  {
    "id": 1,
    "iStoreId": "68408355-830b-493e-9c93-8f4db1933b4e",
    "iUserId": "d41bd6ca-6b36-4ec6-a724-25fd094e0088",
    "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
    "dtPlantTime": "2021-10-20T00:03:44.3732082+08:00",
    "iReportType": 1,
    "cUserName": "sample string 2",
    "iStatue": 1,
    "cRemark": "sample string 3",
    "iWorkType": 1,
    "iAsync": 1,
    "iComplete": 1.0,
    "iCount": 1,
    "T_WorkStore": [
      {
        "id": 1,
        "iReportId": 1,
        "iStoreId": "7484419d-ec09-4b41-9b10-8841c4c7722b",
        "iUserId": "9209b787-4825-4fb2-b242-be5e469e764c",
        "dtInStore": "2021-10-20T00:03:44.3732082+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      },
      {
        "id": 1,
        "iReportId": 1,
        "iStoreId": "7484419d-ec09-4b41-9b10-8841c4c7722b",
        "iUserId": "9209b787-4825-4fb2-b242-be5e469e764c",
        "dtInStore": "2021-10-20T00:03:44.3732082+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      }
    ]
  }
]

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

批量增加工作计划

T_WorkReport
NameDescriptionTypeAdditional information
id

串号

integer

None.

iStoreId

门店ID

globally unique identifier

None.

iUserId

用户ID

globally unique identifier

None.

dtCreateTime

建立日期

date

None.

dtPlantTime

计划工作日期

date

None.

iReportType

报告类型

integer

None.

cUserName

用户名

string

None.

iStatue

状态

integer

None.

cRemark

工作报告备注

string

None.

iWorkType

计划类型

integer

None.

iAsync

同步标志

integer

None.

iComplete

是否完成

decimal number

None.

iCount

数量

integer

None.

T_WorkStore

Collection of T_WorkStore

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "iStoreId": "c8388ae2-78af-46d6-9d56-b898727ab797",
  "iUserId": "d919924b-eef1-42f6-b2a3-9ad90cc54e30",
  "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
  "dtPlantTime": "2021-10-20T00:03:44.3732082+08:00",
  "iReportType": 1,
  "cUserName": "sample string 2",
  "iStatue": 1,
  "cRemark": "sample string 3",
  "iWorkType": 1,
  "iAsync": 1,
  "iComplete": 1.0,
  "iCount": 1,
  "T_WorkStore": [
    {
      "id": 1,
      "iReportId": 1,
      "iStoreId": "21c92097-eea8-437f-9f6d-c5dd456129a0",
      "iUserId": "e047b140-74dd-4ca2-9e79-402c2ae97b4d",
      "dtInStore": "2021-10-20T00:03:44.3732082+08:00",
      "cInPicPath": "sample string 2",
      "cInLon": "sample string 3",
      "cInLat": "sample string 4",
      "cInType": "sample string 5",
      "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
      "iOffset": 1.0,
      "iAsync": 1
    },
    {
      "id": 1,
      "iReportId": 1,
      "iStoreId": "21c92097-eea8-437f-9f6d-c5dd456129a0",
      "iUserId": "e047b140-74dd-4ca2-9e79-402c2ae97b4d",
      "dtInStore": "2021-10-20T00:03:44.3732082+08:00",
      "cInPicPath": "sample string 2",
      "cInLon": "sample string 3",
      "cInLat": "sample string 4",
      "cInType": "sample string 5",
      "dtCreateTime": "2021-10-20T00:03:44.3732082+08:00",
      "iOffset": 1.0,
      "iAsync": 1
    }
  ]
}