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": "f663ada7-47be-4785-96fa-1b2eab737c57",
  "iUserId": "0b9b8488-a1fe-4941-8d19-d5696f07407f",
  "dtInStore": "2021-10-19T22:17:41.3586477+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2021-10-19T22:17:41.3586477+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "c1bd1991-6c61-494e-ae08-8cccb165f53a",
    "iUserId": "cb8afb62-f80c-419a-87f4-77bab214214e",
    "dtCreateTime": "2021-10-19T22:17:41.3586477+08:00",
    "dtPlantTime": "2021-10-19T22:17:41.3586477+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": "b08e05a2-5183-4796-a47a-9593bb7243c7",
  "iUserId": "93b0f490-e10c-4a7e-b1e7-12b05f792b27",
  "dtInStore": "2021-10-19T22:17:41.3596263+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2021-10-19T22:17:41.3596263+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "cda2a11f-2b54-4cd4-aeea-6f2ba0b4817b",
    "iUserId": "71d1c300-9a2d-4314-bd64-44a8e87502d4",
    "dtCreateTime": "2021-10-19T22:17:41.3596263+08:00",
    "dtPlantTime": "2021-10-19T22:17:41.3596263+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": []
  }
}