文档
测试

维护已有船舶信息

PUT
/ship/{shipId}

接口描述

企业下的中、英文船名不能重复,只能维护自己企业船舶;船舶备案状态不在备案中;只需包含要更新船的字段,不更新id、公司id、停航日期、备案状态

请求参数

参数名
类型
描述
必填
shipId
integer
要更新的船的ID
必填
ship
object
要更新的船的信息
必填
id
integer
可选
enterpiseId
integer
可选
name
string
可选
enName
string
可选
country
string
可选
countryJnw
integer
可选
type
string
可选
year
integer
可选
zd
integer
可选
jd
integer
可选
zzd
integer
可选
zx
integer
可选
zk
integer
可选
owner
string
可选
line
integer
可选
underwater
number
可选
startdate
string
可选
enddate
string
可选
bastatus
integer
可选