POST ActionApi/T_WorkStore/PostT_WorkStore

保存工作计划

Request Information

URI Parameters

None.

Body Parameters

T_WorkStore
NameDescriptionTypeAdditional information
id

串号

integer

None.

iReportId

工作报告ID

integer

None.

iStoreId

门店ID

globally unique identifier

None.

iUserId

用户ID

globally unique identifier

None.

dtInStore

进店/离店时间

date

None.

cInPicPath

进店/离店拍照

string

None.

cInLon

进店/离店精度

string

None.

cInLat

进店/离店纬度

string

None.

cInType

进店/离店类型

string

None.

dtCreateTime

创建日期

date

None.

iOffset

偏移米数

decimal number

None.

iAsync

同步标志

integer

None.

T_WorkReport

T_WorkReport

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "iReportId": 1,
  "iStoreId": "f99267f0-d2e0-4892-aca7-975f838611da",
  "iUserId": "652909a8-5577-4732-a968-483bee559c6e",
  "dtInStore": "2022-08-16T08:33:00.8030779+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2022-08-16T08:33:00.8030779+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "cd0589bc-f4ce-485a-babe-5a7c375bb152",
    "iUserId": "04a4dba8-202f-4a25-94d6-633bb045b70a",
    "dtCreateTime": "2022-08-16T08:33:00.8030779+08:00",
    "dtPlantTime": "2022-08-16T08:33:00.8030779+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": []
  }
}

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

Response Information

Resource Description

保存工作计划

T_WorkStore
NameDescriptionTypeAdditional information
id

串号

integer

None.

iReportId

工作报告ID

integer

None.

iStoreId

门店ID

globally unique identifier

None.

iUserId

用户ID

globally unique identifier

None.

dtInStore

进店/离店时间

date

None.

cInPicPath

进店/离店拍照

string

None.

cInLon

进店/离店精度

string

None.

cInLat

进店/离店纬度

string

None.

cInType

进店/离店类型

string

None.

dtCreateTime

创建日期

date

None.

iOffset

偏移米数

decimal number

None.

iAsync

同步标志

integer

None.

T_WorkReport

T_WorkReport

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "iReportId": 1,
  "iStoreId": "78f88636-a273-4917-996f-d9ccf1a2af70",
  "iUserId": "3565ca3d-3f2f-41a9-b37f-5965758e9515",
  "dtInStore": "2022-08-16T08:33:00.8040511+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2022-08-16T08:33:00.8040511+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "fa7c34f3-91a4-40ff-a4e6-220549254d76",
    "iUserId": "537d9f61-933f-42e7-8bef-24305dd3a907",
    "dtCreateTime": "2022-08-16T08:33:00.8040511+08:00",
    "dtPlantTime": "2022-08-16T08:33:00.8040511+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": []
  }
}