POST city/v3/ResidentRegistrationWeb/SaveDutyBook

保存治安责任书 [v1.0.7.1]

Request

URI Params

None.

Body Params

参数实体

JMDJ_DutyBookWebModel
字段名字段说明字段类型附加信息
ID

编号 [Edit]

integer

None.

Name

文件名称 [Add、Edit]

string

None.

Content

文件内容 [Add、Edit]

string

None.

State

状态 [Add、Edit]

EnumEnableStatus

None.

StateDesc

状态

string

None.

CDate

创建时间

string

None.

Creator

创建人

string

None.

MDate

修改时间

string

None.

Modifier

修改人

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "1",
  "Name": "sample string 2",
  "Content": "sample string 3",
  "State": "0",
  "StateDesc": "禁用",
  "CDate": "sample string 4",
  "Creator": "sample string 5",
  "MDate": "sample string 6",
  "Modifier": "sample string 7"
}

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

Response

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

boolean

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": true,
  "Ret": 2,
  "ErrCode": 3,
  "Msg": "sample string 4",
  "SeqId": 5,
  "InfoMsg": "sample string 6"
}