主表
提交主表
- url:/nap/rest/decl/{id}
- method:post
- request:NAP_DECL_MAIN对象,id不传就新增,其他则更新
- response:NAP_DECL_MAIN对象
获取主表列表信息
- url:/nap/rest/decl
- method:get
- request:
- response:NAP_DECL_MAIN对象列表
删除
- url:/nap/rest/decl/{id}/del
- method:get
- request:对象id
- response:
获取主表单条数据
- url:/nap/rest/decl/{id}
- method:get
- request:对象id
- response:NAP_DECL_MAIN对象
货物表
提交货物
- url:/nap/rest/decl/{mid}/cargo/{id}
- method:post
- request:NAP_DECL_CARGO对象,mid=主表id,id=子表id,id不传则新增,其他更新
- response:NAP_DECL_CARGO对象
删除货物
- url:/nap/rest/decl/{mid}/cargo/{id}/del
- method:post
- request:id
- response:
货物列表
- url:/nap/rest/decl/{mid}/cargo
- method:get
- request:
- response:NAP_DECL_CARGO对象列表
单个货物
- url:/pos/rest/decl/{mid}/cargo/{id}
- method:get
- request:
- response:NAP_DECL_CARGO对象
集装箱
提交集装箱
- url:/nap/rest/decl/{mid}/ctn/{id}
- method:post
- request:NAP_DECL_CTN对象,mid=主表id,id=子表id,id不传则新增,其他更新
- response:NAP_DECL_CTN对象
删除集装箱
- url:/nap/rest/decl/{mid}/ctn/{id}/del
- method:post
- request:id
- response:
集装箱列表
- url:/nap/rest/decl/{mid}/ctn
- method:get
- request:
- response:NAP_DECL_CTN对象列表
单个集装箱
- url:/pos/rest/decl/{mid}/ctn/{id}
- method:get
- request:
- response:NAP_DECL_CTN对象
厂检信息
提交厂检信息
- url:/nap/rest/decl/{mid}/exchange/{id}
- method:post
- request:NAP_DECL_EXCHANGE对象,mid=主表id,id=子表id,id不传则新增,其他更新
- response:NAP_DECL_EXCHANGE对象
删除厂检信息
- url:/nap/rest/decl/{mid}/exchange/{id}/del
- method:post
- request:id
- response:
货物厂检信息
- url:/nap/rest/decl/{mid}/exchange
- method:get
- request:
- response:NAP_DECL_EXCHANGE对象列表
单个厂检信息
- url:/pos/rest/decl/{mid}/exchange/{id}
- method:get
- request:
- response:NAP_DECL_EXCHANGE对象
许可证
提交许可证
- url:/nap/rest/decl/{mid}/limit/{id}
- method:post
- request:NAP_DECL_LIMIT对象,mid=主表id,id=子表id,id不传则新增,其他更新
- response:NAP_DECL_LIMIT对象
删除许可证
- url:/nap/rest/decl/{mid}/limit/{id}/del
- method:post
- request:id
- response:
许可证信息
- url:/nap/rest/decl/{mid}/limit
- method:get
- request:
- response:NAP_DECL_LIMIT对象列表
单个许可证
- url:/pos/rest/decl/{mid}/limit/{id}
- method:get
- request:
- response:NAP_DECL_LIMIT对象
包装信息
提交包装信息
- url:/nap/rest/decl/{mid}/pack/{id}
- method:post
- request:NAP_DECL_PACK对象,mid=主表id,id=子表id,id不传则新增,其他更新
- response:NAP_DECL_PACK对象
删除包装信息
- url:/nap/rest/decl/{mid}/pack/{id}/del
- method:post
- request:id
- response:
包装信息信息
- url:/nap/rest/decl/{mid}/pack
- method:get
- request:
- response:NAP_DECL_PACK对象列表
单个包装信息
- url:/nap/rest/decl/{mid}/pack/{id}
- method:get
- request:
- response:NAP_DECL_PACK对象
单据
获取主表单据
- url:/nap/rest/decl/{mid}/attach/{type_code}
- method:get
- request:mid=主表id,type_code=单据类型
- response:NAP_DECL_ATTACH_VIEW数组
获取货物单据数据
- url:/nap/rest/decl/{mid}/cargo/{cargo_id}/attach/{type_code}
- method:get
- request:mid=主表id,cargo_id=货物表id,type_code=单据类型
- response:NAP_DECL_ATTACH_VIEW数组
提交主表对应的单据
- url:/nap/rest/decl/{mid}/attach/{type_code}
- method:post
- request:mid=主表id,type_code=单据类型,List<NAP_DECL_ATTACH_VIEW>=单据列表
- response:NAP_DECL_ATTACH_VIEW数组
提交子表单据
- url:/nap/rest/decl/{mid}/cargo/{cargo_id}/attach/{type_code}
- method:post
- request:mid=主表id,cargo_id=货物表id,type_code=单据类型,List<NAP_DECL_ATTACH_VIEW>=单据列表
- response:NAP_DECL_ATTACH_VIEW数组
基础代码表
代码表
- url:/nap/rest/code/set/codetype/{code_type}
- method:get
- request:code_type=代码类型
- response: 返回所有NAP_CODE_SET数组
代码表
- url:/nap/rest/code/set/codetype/{code_type}/{prefix}
- method:get
- request:code_type =代码类型,prefix=CODE_VALUE or CODE_NAME
- response: NAP_CODE_SET数组
口岸
- url:/nap/rest/code/forport
- method:get
- request:
- response: 所有NAP_C_FORPORT数组
口岸
- url:/nap/rest/code/forport/{prefix}
- method:get
- request:prefix =CNAME or X_SPELL or CODE
- response: NAP_C_FORPORT数组
国家
- url:/nap/rest/code/country
- method:get
- request:
- response: 所有NAP_C_COUNTRY数组
国家
- url:/nap/rest/code/country/{prefix}
- method:get
- request:prefix =CNAME or X_SPELL or CODE
- response: NAP_C_COUNTRY数组
目的地
- url:/nap/rest/code/domregjion
- method:get
- request:
- response: 所有NAP_C_DOM_REGION数组
目的地
- url:/nap/rest/code/domregjion/{prefix}
- method:get
- request:prefix =CNAME or X_SPELL or CODE
- response: NAP_C_DOM_REGION数组
币制
- url:/nap/rest/code/moneykind
- method:get
- request:
- response: 所有NAP_C_MONEYKIND数组
币制
- url:/nap/rest/code/moneykind/{prefix}
- method:get
- request:prefix =CNAME or X_SPELL or CODE
- response: NAP_C_MONEYKIND数组
单位
- url:/nap/rest/code/unit
- method:get
- request:
- response: 所有NAP_C_UNIT数组
单位
- url:/nap/rest/code/unit/{prefix}
- method:get
- request:prefix =CNAME or X_SPELL or CODE
- response: NAP_C_UNIT数组