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": "d4fe84e8-7d23-454c-8fc0-eba2d44ab7aa",
  "iUserId": "6dfa420a-704b-4b30-b4fe-da935f103d81",
  "dtInStore": "2023-03-24T19:54:03.1469064+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2023-03-24T19:54:03.1469064+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "af792f09-4ad6-40d6-94b9-f6bd4fc84df0",
    "iUserId": "80b78916-e2ee-4e30-8722-119d7aa5cdce",
    "dtCreateTime": "2023-03-24T19:54:03.1469064+08:00",
    "dtPlantTime": "2023-03-24T19:54:03.1469064+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": "c7452a4b-2d37-4db8-a475-6bc29a89709d",
  "iUserId": "f18cdd22-af69-4deb-8929-c42454eb5916",
  "dtInStore": "2023-03-24T19:54:03.1517962+08:00",
  "cInPicPath": "sample string 2",
  "cInLon": "sample string 3",
  "cInLat": "sample string 4",
  "cInType": "sample string 5",
  "dtCreateTime": "2023-03-24T19:54:03.1517962+08:00",
  "iOffset": 1.0,
  "iAsync": 1,
  "T_WorkReport": {
    "id": 1,
    "iStoreId": "8752c0b9-e296-4c1b-afd6-f8800b936481",
    "iUserId": "0e316d4e-fda2-4b0b-ba3c-d35d19b6ac89",
    "dtCreateTime": "2023-03-24T19:54:03.1517962+08:00",
    "dtPlantTime": "2023-03-24T19:54:03.1517962+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": []
  }
}