POST ActionApi/Patrol/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": "b8a1b7d7-3f75-467d-b126-007f6f150bd5",
  "iUserId": "0a8bee94-d2da-458b-a6ed-babb49bcd29d",
  "dtInStore": "2021-10-19T23:42:28.2075747+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2021-10-19T23:42:28.2075747+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "9c0226e3-cc39-4b8f-80f3-553904ac2ba4",
    "iUserId": "7c0e107a-00e7-4eab-8db1-979b81a624d9",
    "dtCreateTime": "2021-10-19T23:42:28.2075747+08:00",
    "dtPlantTime": "2021-10-19T23:42:28.2075747+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": "f1b2b476-45b2-42d5-b6f4-513b581e973a",
  "iUserId": "206e8b88-7ee6-4787-bb56-b72d3ad0b4a8",
  "dtInStore": "2021-10-19T23:42:28.2085498+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2021-10-19T23:42:28.2085498+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "611f4962-820e-4e14-9fe9-f62eb806f1a7",
    "iUserId": "bd9dcc30-4f65-4079-83ce-33d2403a7e6e",
    "dtCreateTime": "2021-10-19T23:42:28.2085498+08:00",
    "dtPlantTime": "2021-10-19T23:42:28.2085498+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": []
  }
}