POST api/User/ChangeWorkState

切换警员工作状态

Request Information

URI Parameters

None.

Body Parameters

RpmUcChangeWorkState
NameDescriptionTypeAdditional information
EM_JYGZZT

警员工作状态(1 上岗,2 备勤,0 浏览(访客) )

string

None.

DlTocken

登录Tocken

string

None.

ReqAuthInfo

安全校验信息

string

None.

StaffCode

身份证号

string

None.

DevId

设备唯一标识(IMEI)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EM_JYGZZT": "sample string 1",
  "DlTocken": "sample string 2",
  "ReqAuthInfo": "sample string 3",
  "StaffCode": "sample string 4",
  "DevId": "sample string 5"
}

application/xml, text/xml

Sample:
<RpmUcChangeWorkState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RT.Model">
  <DevId>sample string 5</DevId>
  <DlTocken>sample string 2</DlTocken>
  <ReqAuthInfo>sample string 3</ReqAuthInfo>
  <StaffCode>sample string 4</StaffCode>
  <EM_JYGZZT>sample string 1</EM_JYGZZT>
</RpmUcChangeWorkState>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

切换警员工作状态

ApiResultBase
NameDescriptionTypeAdditional information
ResultCode

接口调用状态(1成功 0系统错误 其余状态自定义)

string

None.

ResultMsg

接口返回消息

string

None.

NewJLBm

新记录编码

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": "sample string 1",
  "ResultMsg": "sample string 2",
  "NewJLBm": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiResultBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RT.Model">
  <NewJLBm>sample string 3</NewJLBm>
  <ResultCode>sample string 1</ResultCode>
  <ResultMsg>sample string 2</ResultMsg>
</ApiResultBase>