測(cè)試網(wǎng)域名:http://dev.nbeport.com
快件
提交
- url:/exp/rest/decl/save
- method:post
- request:EXP_DECL對(duì)象俺孙,id為空新增牛曹,不為空其他更新
- response:EXP_DECL對(duì)象
獲取
- url:/exp/rest/decl/get
- method:get
- request:id
- response:EXP_DECL對(duì)象
列表
- url:/exp/rest/decl/list
- method:get
- request:
- response:EXP_DECL對(duì)象列表
受理-主單
- url:/exp/rest/decl/Accept
- method:post
- request:id,例如:{"id":"xxx"}
- response:
退回-總單
- url:/exp/rest/decl/Return
- method:post
- request:{"id":"xxx","remark":"xxx"}
- response:
審核-主單
- url:/exp/rest/decl/Examine
- method:post
- request:id霜浴,例如:{"id":"xxx"}
- response:
查驗(yàn)接單-主單
- url:/exp/rest/decl/AcceptCheck
- method:post
- request:id揣云,例如:{"id":"xxx"}
- response:
放行-主單
- url:/exp/rest/decl/Pass
- method:post
- request:id薄腻,例如:{"id":"xxx"}
- response:
歸檔-主單
- url:/exp/rest/decl/Filed
- method:post
- request:id姻几,例如:{"id":"xxx"}
- response:
人工攔截-子單
- url:/exp/rest/decl/InterceptLgs
- method:post
- request:id陨收,例如:{"id":"xxx"}
- response:
放行-子單
- url:/exp/rest/decl/PassLgs
- method:post
- request:id,例如:{"id":"xxx"}
- response:
查驗(yàn)結(jié)果登記-子單
- url:/exp/rest/decl/CheckLgs
- method:post
- request:ID,CHECK_FLG(2=查驗(yàn)合格没佑,3=查驗(yàn)不合格),CHECK_REMARK,CHECK_REASON毕贼,CHECK_RESULT(技術(shù)處理=01,檢疫處理=02,退運(yùn)處理=03,銷毀處理=04)
,例如:{"ID":"xxx","CHECK_FLG":"xxx","CHECK_REMARK":"xxx","CHECK_REASON":"xxx","CHECK_RESULT","xxx"} - response:
調(diào)回-子單
- url:/exp/rest/decl/BackLgs
- method:post
- request:{"id":"xxx"}
- response:
確認(rèn)調(diào)回-總單
- url:/exp/rest/decl/ConfirmBackLgs
- method:post
- request:{"id":"xxx"}
- response:
批量通過-子單
- url:/exp/rest/decl/BatchPassLgs
- method:post
- request:["id1","id2","id3"]
- response:
平臺(tái)端快件申報(bào)
- url:/exp/rest/decl/Register
- method:post
- request:主單蛤奢、分單信息鬼癣,如下例:{"DECL_NO":"11111","TOTAL_LGS_NO":"888888","LGS_COUNT":98.0,"TOTAL_COUNT":4.0,"TOTAL_WEIGHT":4.0,"FLIGHT_DATE":null,"DESP_CTRY":null,"ENTRY_PORT":null,"CARRIER_AVIATION":null,"DECL_ORG_CODE":null,"DECL_ORG_NAME":null,"WOODEN_PACKING":null,"PACKING_TYPE":null,"PACKING_QTY":null,"I_E_FLAG":"I","RE_DECL":"0","picList":[{"PIC_URL":"xxxx","PIC_NAME":"name1","PIC_TYPE":"type1"},{"PIC_URL":"xxxcxccx","PIC_NAME":"name2","PIC_TYPE":"type2"}],
"lgsList":[
{"LGS_NO":"111","QTY":null,"WEIGHT":null,"VAL_US":null,"PAY_WAY":null,"ORI_CTRY":null,"MODEL":null,"DECL_TYPE":null,"CONSIGNEE_NAME":null,"CONSIGNEE_ORG":null,"CONSIGNEE_COUNTRY":null,"CONSIGNEE_CITY":null,"CONSIGNEE_ADDR":null,"CONSIGNEE_POSTCODE":null,"CONSIGNEE_TEL":null,"CONSIGNOR_NAME":null,"CONSIGNOR_ORG":null,"CONSIGNOR_COUNTRY":null,"CONSIGNOR_CITY":null,"CONSIGNOR_ADDR":null,"CONSIGNOR_POSTCODE":null,"CONSIGNOR_TEL":null,"cargoList":[{"GOODS_NAME":"name1","HS_NUMBER":"hsnumber1","HS_CODE":"hscode1"},{"GOODS_NAME":"name2","HS_NUMBER":"hsnumber2","HS_CODE":"hscode2"}],"CARD_ID":"xxx","CARD_FILE":"xxx","picList":[{"PIC_URL":"xxxx","PIC_NAME":"name1","PIC_TYPE":"type1"},{"PIC_URL":"xxxcxccx","PIC_NAME":"name2","PIC_TYPE":"type2"}]},
{"LGS_NO":"222","QTY":null,"WEIGHT":null,"VAL_US":null,"PAY_WAY":null,"ORI_CTRY":null,"MODEL":null,"DECL_TYPE":null,"CONSIGNEE_NAME":null,"CONSIGNEE_ORG":null,"CONSIGNEE_COUNTRY":null,"CONSIGNEE_CITY":null,"CONSIGNEE_ADDR":null,"CONSIGNEE_POSTCODE":null,"CONSIGNEE_TEL":null,"CONSIGNOR_NAME":null,"CONSIGNOR_ORG":null,"CONSIGNOR_COUNTRY":null,"CONSIGNOR_CITY":null,"CONSIGNOR_ADDR":null,"CONSIGNOR_POSTCODE":null,"CONSIGNOR_TEL":null,"cargoList":[{"GOODS_NAME":"name1","HS_NUMBER":"hsnumber1","HS_CODE":"hscode1"},{"GOODS_NAME":"name2","HS_NUMBER":"hsnumber2","HS_CODE":"hscode2"}],"CARD_ID":"xxx","CARD_FILE":"xxx","picList":[{"PIC_URL":"xxxx","PIC_NAME":"name1","PIC_TYPE":"type1"},{"PIC_URL":"xxxcxccx","PIC_NAME":"name2","PIC_TYPE":"type2"}]},
{"LGS_NO":"333","QTY":null,"WEIGHT":null,"VAL_US":null,"PAY_WAY":null,"ORI_CTRY":null,"MODEL":null,"DECL_TYPE":null,"CONSIGNEE_NAME":null,"CONSIGNEE_ORG":null,"CONSIGNEE_COUNTRY":null,"CONSIGNEE_CITY":null,"CONSIGNEE_ADDR":null,"CONSIGNEE_POSTCODE":null,"CONSIGNEE_TEL":null,"CONSIGNOR_NAME":null,"CONSIGNOR_ORG":null,"CONSIGNOR_COUNTRY":null,"CONSIGNOR_CITY":null,"CONSIGNOR_ADDR":null,"CONSIGNOR_POSTCODE":null,"CONSIGNOR_TEL":null,"cargoList":[{"GOODS_NAME":"name1","HS_NUMBER":"hsnumber1","HS_CODE":"hscode1"},{"GOODS_NAME":"name2","HS_NUMBER":"hsnumber2","HS_CODE":"hscode2"}],"CARD_ID":"xxx","CARD_FILE":"xxx","picList":[{"PIC_URL":"xxxx","PIC_NAME":"name1","PIC_TYPE":"type1"},{"PIC_URL":"xxxcxccx","PIC_NAME":"name2","PIC_TYPE":"type2"}]}
]} - response:
企業(yè)
獲取企業(yè)備案總列表
- url:/exp/rest/org/list
- method:get
- request:
- response:EXP_ORG_INFO列表
獲取單個(gè)企業(yè)備案信息
- url:/exp/rest/org/get
- method:get
- request:id
- response:EXP_ORG_INFO
新增或更新企業(yè)信息
- url:/exp/rest/org/save
- method:post
- request:EXP_ORG_INFO對(duì)象,id為空新增啤贩,其他更新
- response:EXP_ORG_INFO
審核
- url:/exp/rest/org/check
- method:post
- request:id,result(結(jié)果待秃,1通過,2不通過),remark
- response:
鎖定解鎖
- url:/exp/rest/org/lock
- method:post
- request:id,result(0解鎖痹屹,1鎖定)
- response:
申報(bào)端申報(bào)
- url:/exp/rest/org/Register
- method:post
- request:{"ID":"868189765be5cb47015be5cd0dd20000","ORG_CODE":"33344233255555","ORG_NAME":"寧波口岸測(cè)試公司","ORG_TYPE":null,"ADDRESS":"中山路","TEL":"0574-88886666","FACSIMILE_TEL":"0574-88886666","LOCK_FLG":null,"CHECK_FLG":null,"CHECK_TIME":null,"CHECK_REMARK":null,"CONTACT_PERSON":"張三李四","CONTACT_WAY":"12345678901","COUNTRY":"中國(guó)","WH_ADDRESS":null,"WH_CONTACT_PERSON":null,"WH_CONTACT_WAY":null,"OU":"OU333f4c6810f89d8a8377341","picList":[{"PIC_URL":"xxxx","PIC_NAME":"name1","PIC_TYPE":"type1"},{"PIC_URL":"xxxcxccx","PIC_NAME":"name2","PIC_TYPE":"type2"}]}
- response:
查驗(yàn)規(guī)則
獲取列表
- url:/exp/rest/CheckRate/list
- method:get
- request:
- response:EXP_CHECK_RATE列表
獲取單個(gè)
- url:/exp/rest/CheckRate/get
- method:get
- request:id
- response:EXP_CHECK_RATE
新增或更新
- url:/exp/rest/CheckRate/save
- method:post
- request:EXP_CHECK_RATE對(duì)象章郁,id為空新增,其他更新
- response:EXP_CHECK_RATE
審核
- url:/exp/rest/CheckRate/Check
- method:post
- request:{"ID":"xxx"}
- response:
選擇
- url:/exp/rest/CheckRate/Select
- method:post
- request:{"ID":"xxx"}
- response:
刪除
- url:/exp/rest/CheckRate/Delete
- method:post
- request:{"ID":"xxx"}
- response:
工作日志
獲取列表
- url:/exp/rest/WorkLog/list
- method:get
- request:
- response:EXP_WORK_LOG列表
獲取單個(gè)
- url:/exp/rest/WorkLog/get
- method:get
- request:id
- response:EXP_WORK_LOG
新增或更新
- url:/exp/rest/WorkLog/save
- method:post
- request:EXP_WORK_LOG對(duì)象志衍,id為空新增暖庄,其他更新
- response:EXP_WORK_LOG
刪除
- url:/exp/rest/WorkLog/Delete
- method:post
- request:{"ID":"xxx","CREATE_BY":"username"}
- response:
是否可以新增
- url:/exp/rest/WorkLog/CanAdd
- method:get
- request:userName用戶名
- response:{Result = result} result=true可以新增,result=false已添加楼肪,不可新增
是否可以編輯
- url:/exp/rest/WorkLog/CanEdit
- method:get
- request:id=當(dāng)前id培廓,userName=用戶名
- response:{Result = result} result=true可以編輯,result=false不可編輯
是否可以刪除
- url:/exp/rest/WorkLog/CanDelete
- method:get
- request:id=當(dāng)前id淹辞,userName=用戶名
- response:{Result = result} result=true可以編輯医舆,result=false不可編輯
查閱
- url:/exp/rest/WorkLog/Read
- method:post
- request:{"ID":"xxx","LAST_MODIFY_BY":"username"}
- response:
統(tǒng)計(jì)
快件業(yè)務(wù)量統(tǒng)計(jì)2
- url:/exp/rest/count/KjCount2
- method:get
- request:startDate=2018-01-01起始時(shí)間,endDate=2018-01-08結(jié)束時(shí)間
- response:Amount=出入境數(shù)量,Weight=出入境重量,ImAmount=入境數(shù)量,ImWeight=入境重量,ExAmount=出境數(shù)量,ExWeight=出境重量
目的地統(tǒng)計(jì)
- url:/exp/rest/count/DestinationCount
- method:get
- request:startDate=2018-01-01起始時(shí)間,endDate=2018-01-08結(jié)束時(shí)間,ieFlag=I或者E進(jìn)出境
- response:CONSIGNEE_CITY=目的地,LGS_COUNT=票數(shù)
收發(fā)貨人統(tǒng)計(jì)
- url:/exp/rest/count/ConsigneeCount
- method:get
- request:startDate=2018-01-01起始時(shí)間,endDate=2018-01-08結(jié)束時(shí)間,ieFlag=I或者E進(jìn)出境
- response:CONSIGNEE_NAME=收件人,CARD_ID=身份證號(hào)碼象缀,LGS_COUNT=票數(shù)蔬将,DECL_TYPE=快件類型
不合格快件統(tǒng)計(jì)
- url:/exp/rest/count/UnqualifiedCount
- method:get
- request:startDate=2018-01-01起始時(shí)間,endDate=2018-01-08結(jié)束時(shí)間
- response:CheckAmount=進(jìn)出境查驗(yàn)票數(shù),TyAmount=退運(yùn)央星,XhAmount=銷毀霞怀,ZghgAmount=整改合格放行,UnqualifiedAmount=合計(jì)莉给,ImCheckAmount=進(jìn)境查驗(yàn)票數(shù)毙石,ImTyAmount=退運(yùn)廉沮,ImXhAmount=銷毀,ImZghgAmount=整改合格放行徐矩,ImUnqualifiedAmount=合計(jì)滞时,ExCheckAmount=出境查驗(yàn)票數(shù),ExTyAmount=退運(yùn)滤灯,ExXhAmount=銷毀坪稽,ExZghgAmount=整改合格放行,ExUnqualifiedAmount=合計(jì)