POST ActionApi/T_WorkReport/PostT_WorkReportUpdat

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": "16f9144d-e943-4878-bbd2-42411175f301",
    "iUserId": "c07fd42c-bfbd-4f9b-9759-39aa4b85e1dd",
    "dtCreateTime": "2023-03-23T16:19:26.190855+08:00",
    "dtPlantTime": "2023-03-23T16:19:26.190855+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": "8b8b8e16-c510-4ada-aacb-54f07ab99290",
        "iUserId": "12187778-5d61-48f3-a8ac-84828f2bcfd8",
        "dtInStore": "2023-03-23T16:19:26.190855+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2023-03-23T16:19:26.190855+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      },
      {
        "id": 1,
        "iReportId": 1,
        "iStoreId": "8b8b8e16-c510-4ada-aacb-54f07ab99290",
        "iUserId": "12187778-5d61-48f3-a8ac-84828f2bcfd8",
        "dtInStore": "2023-03-23T16:19:26.190855+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2023-03-23T16:19:26.190855+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      }
    ]
  },
  {
    "id": 1,
    "iStoreId": "16f9144d-e943-4878-bbd2-42411175f301",
    "iUserId": "c07fd42c-bfbd-4f9b-9759-39aa4b85e1dd",
    "dtCreateTime": "2023-03-23T16:19:26.190855+08:00",
    "dtPlantTime": "2023-03-23T16:19:26.190855+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": "8b8b8e16-c510-4ada-aacb-54f07ab99290",
        "iUserId": "12187778-5d61-48f3-a8ac-84828f2bcfd8",
        "dtInStore": "2023-03-23T16:19:26.190855+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2023-03-23T16:19:26.190855+08:00",
        "iOffset": 1.0,
        "iAsync": 1
      },
      {
        "id": 1,
        "iReportId": 1,
        "iStoreId": "8b8b8e16-c510-4ada-aacb-54f07ab99290",
        "iUserId": "12187778-5d61-48f3-a8ac-84828f2bcfd8",
        "dtInStore": "2023-03-23T16:19:26.190855+08:00",
        "cInPicPath": "sample string 2",
        "cInLon": "sample string 3",
        "cInLat": "sample string 4",
        "cInType": "sample string 5",
        "dtCreateTime": "2023-03-23T16:19:26.190855+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": "ee593dbc-2f81-4311-a4c0-2e2b0cc0c98d",
  "iUserId": "722191a2-fcae-46ff-a296-2c99d7fab879",
  "dtCreateTime": "2023-03-23T16:19:26.190855+08:00",
  "dtPlantTime": "2023-03-23T16:19:26.190855+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": "ec421409-1f3e-4ae3-a3f9-56303d6fa543",
      "iUserId": "eaef6914-fa1c-4cd4-af7f-3d1722575616",
      "dtInStore": "2023-03-23T16:19:26.1918321+08:00",
      "cInPicPath": "sample string 2",
      "cInLon": "sample string 3",
      "cInLat": "sample string 4",
      "cInType": "sample string 5",
      "dtCreateTime": "2023-03-23T16:19:26.1918321+08:00",
      "iOffset": 1.0,
      "iAsync": 1
    },
    {
      "id": 1,
      "iReportId": 1,
      "iStoreId": "ec421409-1f3e-4ae3-a3f9-56303d6fa543",
      "iUserId": "eaef6914-fa1c-4cd4-af7f-3d1722575616",
      "dtInStore": "2023-03-23T16:19:26.1918321+08:00",
      "cInPicPath": "sample string 2",
      "cInLon": "sample string 3",
      "cInLat": "sample string 4",
      "cInType": "sample string 5",
      "dtCreateTime": "2023-03-23T16:19:26.1918321+08:00",
      "iOffset": 1.0,
      "iAsync": 1
    }
  ]
}