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": "faacfa6c-538a-44e0-9978-73c963e51454",
  "iUserId": "a89b324a-29c5-4877-b9e9-13eca1244762",
  "dtInStore": "2023-03-23T16:37:45.8881212+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2023-03-23T16:37:45.8881212+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "a3743355-ae0e-467c-bb24-000cc829a8b3",
    "iUserId": "e6d2303f-c801-4365-a569-7cbc03af74aa",
    "dtCreateTime": "2023-03-23T16:37:45.8881212+08:00",
    "dtPlantTime": "2023-03-23T16:37:45.8881212+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": "10c8d586-b198-4537-b34e-a01bf96eabcd",
  "iUserId": "78836de0-364c-409a-872e-350cac68b366",
  "dtInStore": "2023-03-23T16:37:45.8890949+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2023-03-23T16:37:45.8890949+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "8403ef1b-9332-48b3-9799-8785bdfcf286",
    "iUserId": "78723872-0127-4b4f-8e36-e223b310f433",
    "dtCreateTime": "2023-03-23T16:37:45.8890949+08:00",
    "dtPlantTime": "2023-03-23T16:37:45.8890949+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": []
  }
}