<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:znlh="http://znlh.api.service.ctos3.nbport.com/">
<soapenv:Header/>
<soapenv:Body>
<znlh:addVesselOtherWorksApi>
<applyData>[
{
"deviceno": "设备号1",
"optime": "作业时间1",
"operatorstr": "操作人1",
"optype": "操作类型1",
"velaliase": "船别名1(船舶参考号1)",
"lastupdateman": "登记人1"
},
{
"deviceno": "设备号2",
"optime": "作业时间2",
"operatorstr": "操作人2",
"optype": "操作类型2",
"velaliase": "船别名2(船舶参考号2)",
"lastupdateman": "登记人2"
}
]
</applyData>
</znlh:addVesselOtherWorksApi>
</soapenv:Body>
</soapenv:Envelope>
curl --location --request POST 'http://localhost:8888/api/vesselOtherWorkApi' \
--header 'Content-Type: application/xml' \
--data-raw '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:znlh="http://znlh.api.service.ctos3.nbport.com/">
<soapenv:Header/>
<soapenv:Body>
<znlh:addVesselOtherWorksApi>
<applyData>[
{
"deviceno": "设备号1",
"optime": "作业时间1",
"operatorstr": "操作人1",
"optype": "操作类型1",
"velaliase": "船别名1(船舶参考号1)",
"lastupdateman": "登记人1"
},
{
"deviceno": "设备号2",
"optime": "作业时间2",
"operatorstr": "操作人2",
"optype": "操作类型2",
"velaliase": "船别名2(船舶参考号2)",
"lastupdateman": "登记人2"
}
]
</applyData>
</znlh:addVesselOtherWorksApi>
</soapenv:Body>
</soapenv:Envelope>'
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:addVesselOtherWorksApiResponse xmlns:ns2="http://znlh.api.service.ctos3.nbport.com/">
<return>{"result":true,"msgId":"000","msgDESC":"操作成功"}</return>
</ns2:addVesselOtherWorksApiResponse>
</soap:Body>
</soap:Envelope>