POST city/v3/GridEditorRecordWeb/SaveGridEditor

添加或更新纠错标志

Request

URI Params

None.

Body Params

GridEditorRecordWebModel
字段名字段说明字段类型附加信息
Id

Id

integer

None.

ShapeType

标志类型

EnumGridEditorShape

None.

Radius

圆的半径

decimal number

None.

Points

坐标点数据

Collection of PointWebModel

None.

UserName

联系人姓名

string

None.

UserTel

联系人电话

string

None.

Remark

备注

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "1",
  "ShapeType": 1,
  "Radius": 2.1,
  "Points": [
    {
      "Lon": 1.1,
      "Lat": 2.1
    },
    {
      "Lon": 1.1,
      "Lat": 2.1
    }
  ],
  "UserName": "sample string 3",
  "UserTel": "sample string 4",
  "Remark": "sample string 5"
}

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

Response

APITResultOfString
字段名字段说明字段类型附加信息
Data

string

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Ret": 2,
  "ErrCode": 3,
  "Msg": "sample string 4",
  "SeqId": 5,
  "InfoMsg": "sample string 6"
}