[web]工作票票面数据接口
GET
http://{domain}/{ctx待定}/nw/api/nodeticket/{id}
接口描述
本接口主要用于对接第三方系统,该接口会返回工作票主表数据及分表数据(票面详情)。票面详情在ticket_data中返回,以section字段区分显示位置。json_data数据结构需要参考工作票json文档。
请求参数
参数名
类型
描述
必填
t
String
时间戳 单位:毫秒
必填
contentType
String
请求页面类型 传值json则返回json数据; 传值html则返回HTML页面 不传则默认json 见附表contentType目录
必填
响应参数
参数名
类型
描述
必填
msg
string
示例:成功
必填
code
number
示例:200
必填
task_name
string
示例:消缺任务:123
必填
code
string
示例:1550714675813
必填
permit_time
object
示例:null
必填
last_modify_time
string
示例:2019-02-21 10:24:15
必填
pid
object
示例:null
必填
task_id
string
示例:2
必填
permit_person
object
示例:null
必填
source
string
示例:local
必填
principal_id
string
示例:650511416037576707
必填
enabled
string
示例:0
必填
group_person_ids
object
示例:null
必填
task_count
number
示例:0
必填
principal
string
示例:qwer
必填
group_person
object
示例:null
必填
reject_sign_id
object
示例:null
必填
device_names
string
示例:
必填
yw_person_ids
object
示例:null
必填
work_content
object
示例:null
必填
id
string
示例:792559601260867584
必填
device_ids
string
示例:
必填
yw_person_name
object
示例:null
必填
accept_person
object
示例:null
必填
create_time
string
示例:2019-02-21 10:04:21
必填
permit_person_ids
object
示例:null
必填
end_time
string
示例:2019-02-28 10:04:00
必填
accept_person_ids
object
示例:null
必填
is_accept
string
示例:0
必填
sign_person
object
示例:null
必填
finish_time
object
示例:null
必填
template_code
string
示例:bd1
必填
pms_id
object
示例:null
必填
start_time
string
示例:2019-02-21 10:04:00
必填
name
object
示例:null
必填
creator_id
string
示例:650511416037576707
必填
creator_name
string
示例:qwer
必填
comment
object
示例:null
必填
create_time
string
示例:2019-02-21 10:04:43
必填
last_modify_time
string
示例:2019-02-21 10:06:04
必填
creator_id
string
示例:650511416037576707
必填
section
string
示例:part1
必填
id
string
示例:255960126086758401
必填
sort
object
示例:null
必填
plan_id
object
示例:null
必填
json_data
string
示例:{"principal":[{"name":"qwer","id":"650511416037576707"}],"groupPerson":[{"name":"nerv","id":"650511416037576708"}],"groupId":"586843722324799588","num":"1550714675813","deptId":"586843722324799588","dept":"五通公司","personNum":"1","deviceName":"dsdf","group":"五通公司"}
必填
enabled
string
示例:0
必填
node_id
string
示例:792559601260867584
必填
template_code
string
示例:bd1
必填
dept_id
string
示例:586843722324799588
必填
sign_person_ids
object
示例:null
必填
plan_id
object
示例:null
必填
status
string
示例:edit
必填
sign
string
示例:41756B849915EEC550BF415C1BEFD951
必填