-
名称 SaveOrderInfo保存订单信息 描述 保存订单,包含自定义字段,只需设置参数中token和orderUdf模板 接口地址 Order/SaveOrderInfo HTTP请求方式 POST -
请求参数 类型 描述 param OrderUdfParameters 请求参数
-
请求参数示例(Request body formats)
application/json, text/json
Sample:{-
-"orderUdf": {
-
-"OrderLines": [
-
-{
-
-"OrderLineItems": [
-
-{
- "ITEM_GID": "【ITEM_GID】,字符串类型,最大长度82",
- "ITEM_ID": "*必输字段,【货品ID】,字符串类型,最大长度60",
- "ITEM_NAME": "*必输字段,【货品名称】,字符串类型,最大长度100",
- "ORL_COUNT": "【数量】,浮点类型",
- "WEIGHT": "【重量】,浮点类型",
- "WEIGHT_UOM": "【重量单位】,字符串类型,值必须为千克,吨等",
- "VOLUME": "【体积】,浮点类型",
- "VOLUME_UOM": "【体积单位】,字符串类型,值必须为立方米等",
- "LENGTH": "【长度】,浮点类型",
- "LENGTH_UOM": "【长度单位】,字符串类型,最大长度5,值必须为厘米,米等",
- "WIDTH": "【宽度】,浮点类型",
- "WIDTH_UOM": "【宽度单位】,字符串类型,最大长度5,值必须为厘米,米等",
- "HEIGHT": "【高度】,浮点类型",
- "HEIGHT_UOM": "【高度单位】,字符串类型,最大长度5,值必须为厘米,米等",
- "NET_WEIGHT": "【净重】,浮点类型",
- "NET_WEIGHT_UOM": "【净重单位】,字符串类型,值必须为千克,吨等",
- "OLI_UDF1": "【自定义1】,字符串类型,最大长度100",
- "OLI_UDF2": "【OLI_UDF2】,字符串类型,最大长度100",
- "OLI_UDF3": "【自定义3】,字符串类型,最大长度100",
- "OLI_UDF4": "【自定义4】,字符串类型,最大长度100",
- "OLI_UDF5": "【自定义5】,字符串类型,最大长度100",
- "OLI_UDF6": "【自定义6】,字符串类型,最大长度100",
- "OLI_UDF7": "【自定义7】,字符串类型,最大长度100",
- "OLI_UDF8": "【自定义8】,字符串类型,最大长度100",
- "OLI_UDF9": "【自定义9】,字符串类型,最大长度100",
- "OLI_UDF10": "【自定义10】,字符串类型,最大长度100"
-
- "ERP_ORDER_LINE": "【ERP订单行号】,字符串类型,最大长度30",
- "ORL_COUNT": "【数量】,浮点类型",
- "PACKAGE_COUNT": "*必输字段,【件数】,浮点类型",
- "PACKAGE_COUNT_UOM": "*必输字段,【包装单位】,字符串类型,最大长度32,值必须为箱,托,荣盛-大箱,荣盛-小箱,荣盛-中箱等",
- "WEIGHT": "【重量】,浮点类型",
- "WEIGHT_DIS_UOM": "【毛重单位】,字符串类型,最大长度5,值必须为千克,吨等",
- "NET_WEIGHT": "【净重】,浮点类型",
- "NET_WEIGHT_DIS_UOM": "【净重单位】,字符串类型,最大长度5,值必须为千克,吨等",
- "VOLUME": "【体积】,浮点类型",
- "VOLUME_UOM": "【体积单位】,字符串类型,最大长度5,值必须为立方米等",
- "OL_LENGTH": "【长度】,浮点类型",
- "OL_LENGTH_UOM": "【长度单位】,字符串类型,值必须为厘米,米等",
- "OL_WIDTH": "【宽度】,浮点类型",
- "OL_WIDTH_UOM": "【宽度单位】,字符串类型,值必须为厘米,米等",
- "OL_HEIGHT": "【高度】,浮点类型",
- "OL_HEIGHT_UOM": "【高度单位】,字符串类型,值必须为厘米,米等",
- "UNIT_WEIGHT": "【单个重量】,浮点类型",
- "UNIT_WEIGHT_UOM": "【UNIT_WEIGHT_UOM】,字符串类型,最大长度5,值必须为千克,吨等",
- "UNIT_VOLUME": "【单个体积】,浮点类型",
- "UNIT_VOLUME_UOM": "【UNIT_VOLUME_UOM】,字符串类型,最大长度5,值必须为立方米等",
- "UNIT_NET_WEIGHT": "【单个净重】,浮点类型",
- "UNIT_NET_WEIGHT_UOM": "【UNIT_NET_WEIGHT_UOM】,字符串类型,最大长度5,值必须为千克,吨等",
- "PACKAGE_REMARK": "*必输字段,【包装描述】,字符串类型,最大长度80",
- "OL_UDF1": "【历峰箱号】,字符串类型,最大长度100",
- "OL_UDF2": "【历峰品牌号】,字符串类型,最大长度100",
- "OL_UDF3": "【OL_UDF3】,字符串类型,最大长度100",
- "OL_UDF4": "【OL_UDF4】,字符串类型,最大长度100",
- "OL_UDF5": "【OL_UDF5】,字符串类型,最大长度100",
- "OL_UDF6": "【OL_UDF6】,字符串类型,最大长度100",
- "OL_UDF7": "【OL_UDF7】,字符串类型,最大长度100",
- "OL_UDF8": "【OL_UDF8】,字符串类型,最大长度100",
- "OL_UDF9": "【OL_UDF9】,字符串类型,最大长度100",
- "OL_UDF10": "【OL_UDF10】,字符串类型,最大长度100"
-
-
-
-"OrderAmountLines": [
-
-{
- "ORDER_GID": "【订单标识】,字符串类型,最大长度80",
- "LINE_ID": "【行号】,浮点类型",
- "CHARGE_TYPE_PSC": "*必输字段,【费用类型】,字符串类型,最大长度5,值必须为运费调整,搬运费,包车费,包装费,保险费等",
- "AMOUNT": "【金额】,浮点类型",
- "IS_AGENCY_FUND": "【是否代收】,字符串类型,最大长度1,值必须为是,否等",
- "DESCRIPTION": "【描述】,字符串类型,最大长度50",
- "IS_SYS": "【是否系统】,字符串类型,最大长度1",
-
-"ListUdfRecords": [
-
-{
- "RecordID": "【RECORDID】,字符串类型,扩展记录ID",
-
-"SetLine": {
- "TypeName": "【模块名称】,字符串类型",
- "TTID": "【租户ID】,字符串类型,租户ID",
- "Name": "【名称】,字符串类型,名称",
- "DataType": "【数据类型】,浮点类型,数据类型 0文本框,1数字,2日期,3复选,4下拉框",
- "DisplayName": "【显示名称】,字符串类型,显示名称",
- "IsShowInQuery": "【列表显示】,浮点类型,是否显示到列表 1/0",
- "DropDownListSource": "【下拉框数据源】,字符串类型,下拉框数据源,数据字典类型的值",
-
-"DdlSource": {
- "sample string 1": "sample string 2"
- "RecordValue": "【RECORDVALUE】,字符串类型,记录值"
-
-
-"ListUdfDisplays": [
-
-{
- "TypeName": "【模块名称】,字符串类型,模型名称",
- "PropName": "【PROPNAME】,字符串类型,属性名称,包含了DTO上的所有属性,以及UdfRecord中的 RecordName",
- "SortID": "【SORTID】,浮点类型,排序ID",
- "IsHidden": "【ISHIDDEN】,浮点类型,是否隐藏,1/0",
- "IsForzen": "【ISFORZEN】,浮点类型,列表中是否固定到首列 1/0",
- "Width": "【宽度】,浮点类型,列表的宽度"
-
-
-
-"OrderEquipmentTypes": [
-
-{
- "EQUIPMENT_TYPE_ID": "【设备类型ID】,字符串类型"
-
- "ORDER_ID": "【发货订单ID】,字符串类型,最大长度50,发货订单编号",
- "C_ORDER_NO": "【客户订单号】,字符串类型,最大长度256,发货订单原始编号",
- "ORDER_RELEASE_TYPE_PSC": "【发货订单类型】,字符串类型,最大长度5,值必须为普通单,预约单,退货单,市内单,调拨单等",
- "RELEASE_FROM_TYPE_PSC": "*必输字段,【发货订单来源】,字符串类型,最大长度30,值必须为手工录入,系统导入,Milk单,客户单,APP等",
- "EARLY_PICKUP_DATE": "【最早提货日期】,字符串类型",
- "LATE_PICKUP_DATE": "*必输字段,【最晚提货日期】,字符串类型",
- "EARLY_DELIVERY_DATE": "【最早到货日期】,字符串类型",
- "LATE_DELIVERY_DATE": "*必输字段,【最晚到货日期】,字符串类型",
- "PLAN_SP_GID": "【PLAN_SP_GID】,字符串类型,最大长度52",
- "PLAN_SP_ID": "【计划承运商ID】,字符串类型,最大长度30",
- "PLAN_TM_GID": "【PLAN_TM_GID】,字符串类型,最大长度32",
- "PLAN_TM_ID": "【计划运输方式ID】,字符串类型,最大长度20",
- "CUSTOMER_GID": "【CUSTOMER_GID】,字符串类型,最大长度52",
- "CUSTOMER_ID": "【客户ID】,字符串类型,最大长度30",
- "BU_GID": "【结算客户GID】,字符串类型,最大长度50",
- "BU_ID": "【结算客户ID】,字符串类型,最大长度30",
- "INCO_TERM_PSC": "【贸易条款】,字符串类型,最大长度5,值必须为CIF,CIP等",
- "DISPATCH_TYPE": "【配送方式】,字符串类型,最大长度10,值必须为自提,送货等",
- "SERVICE_LEVEL_PSC": "【服务级别】,字符串类型,最大长度5,值必须为PTP,PTD,DTP,DTD等",
- "PAY_METHOD": "【付款方式】,字符串类型,最大长度5,值必须为现金,支票,月结,白条,到付等",
- "FEATURE_SC": "【特点】,字符串类型,最大长度5,值必须为普货,冷藏,危险品等",
- "NEGOTIATED_PRICE": "【议价】,字符串类型,最大长度1,值必须为是,否等",
- "IS_URGENCY": "【是否加急】,字符串类型,最大长度1,值必须为是,否等",
- "ORDER_INFO_REMARK": "【订单备注】,字符串类型,最大长度160",
- "DELIVERY": "【运输备注】,字符串类型,最大长度160",
- "SRC_LOCATION_GID": "【起始地GID】,字符串类型",
- "SRC_LOCATION_ID": "【起始地ID】,字符串类型",
- "SRC_ENABLED": "【创建(更新)地址】,字符串类型",
- "SRC_LOCATION_NAME": "*必输字段,【起始地名称】,字符串类型",
- "SRC_CONTACT_NAME": "【联系人姓名(S)】,字符串类型",
- "SRC_CONTACT_PHONE": "【联系人电话(S)】,字符串类型",
- "SRC_COUNTRY_CODE_ID": "【起始地国家代码】,字符串类型",
- "SRC_CITY": "【起始地城市】,字符串类型,值必须为ARUBA,BAGRAM,KABUL,BENGUELA,CABINDA等",
- "SRC_PROVINCE": "【起始地省份】,字符串类型",
- "SRC_ZONE1_GID": "【起始区域1】,字符串类型",
- "SRC_ZONE1": "【起始地区域1】,字符串类型",
- "SRC_ZONE2_GID": "【起始区域2】,字符串类型",
- "SRC_ZONE2": "【起始地区域2】,字符串类型",
- "SRC_LATITUED": "【起始地纬度】,字符串类型",
- "SRC_LONGITUDE": "【起始地经度】,字符串类型",
- "SRC_ADDRESS": "【起始地地址】,字符串类型",
- "SRC_COUNTY_ID": "【起始地区(县)】,字符串类型",
- "DEST_LOCATION_GID": "【目的地GID】,字符串类型",
- "DEST_LOCATION_ID": "【目的地ID】,字符串类型",
- "DEST_ENABLED": "【创建(更新)地址】,字符串类型",
- "DEST_LOCATION_NAME": "*必输字段,【目的地名称】,字符串类型",
- "DEST_CONTACT_NAME": "【联系人姓名(D)】,字符串类型",
- "DEST_CONTACT_PHONE": "【联系人电话(D)】,字符串类型",
- "DEST_COUNTRY_CODE_ID": "【目的地国家代码】,字符串类型",
- "DEST_CITY": "【目的地城市】,字符串类型,值必须为ARUBA,BAGRAM,KABUL,BENGUELA,CABINDA等",
- "DEST_PROVINCE": "【目的地省份】,字符串类型",
- "DEST_ZONE1_GID": "【目的区域1】,字符串类型",
- "DEST_ZONE1": "【目的地区域1】,字符串类型",
- "DEST_ZONE2_GID": "【目的区域2】,字符串类型",
- "DEST_ZONE2": "【目的地区域2】,字符串类型",
- "DEST_ADDRESS": "【目的地地址】,字符串类型",
- "DEST_LATITUED": "【目的地纬度】,字符串类型",
- "DEST_LONGITUDE": "【目的地经度】,字符串类型",
- "DEST_COUNTY_ID": "【目的地区(县)】,字符串类型",
- "UDF1": "【母单号】,字符串类型,最大长度60",
- "UDF2": "【专签份数】,字符串类型,最大长度60",
- "UDF3": "【UDF3】,字符串类型,最大长度60",
- "UDF4": "【UDF4】,字符串类型,最大长度60",
- "UDF5": "【UDF5】,字符串类型,最大长度60",
- "UDF6": "【UDF6】,字符串类型,最大长度60",
- "UDF7": "【UDF7】,字符串类型,最大长度60",
- "UDF8": "【UDF8】,字符串类型,最大长度60",
- "UDF9": "【UDF9】,字符串类型,最大长度60",
- "UDF10": "【UDF10】,字符串类型,最大长度60",
- "CREATED_BY": "【创建人】,字符串类型,最大长度40",
- "CREATED_DATE": "【创建日期】,字符串类型",
- "UPDATED_BY": "【更新人】,字符串类型,最大长度40",
- "UPDATED_DATE": "【更新日期】,字符串类型",
- "DOMAIN_NAME": "【域】,字符串类型,最大长度10",
- "SRC_PERIOD": "【提货时间段】,字符串类型",
- "SRC_FLOOR": "【起始地楼层】,浮点类型",
- "DEST_PERIOD": "【送货时间段】,字符串类型",
- "DEST_FLOOR": "【目的地楼层】,浮点类型",
- "FORECAST_ARRIVE_DATE": "【预计到货日期】,字符串类型",
- "SERVICE_TYPE": "【服务类型】,字符串类型,最大长度30",
- "SALESMAN_DEPT": "【所属业务部门】,字符串类型,最大长度40",
- "SALESMAN_NAME": "【业务员】,字符串类型,最大长度20",
- "SALESMAN_CONTACT": "【业务员联系方式】,字符串类型,最大长度40",
- "INSURED_AMOUNT": "【保价金额】,浮点类型",
- "SRC_EMAIL": "【联系人邮箱(S)】,字符串类型",
- "SRC_REMARK": "【起始地备注】,字符串类型",
- "DEST_EMAIL": "【联系人邮箱(D)】,字符串类型",
- "DEST_REMARK": "【目的地备注】,字符串类型",
- "SALESMAN_EMAIL": "【业务员邮箱】,字符串类型,最大长度80",
- "CUSTOMS_DECLARE_NO": "【报关单号】,字符串类型,最大长度20",
- "CUSTOMS_DECLARE_PLACE": "【报关地】,字符串类型,最大长度60",
- "INVOICE_NO": "【发票号】,字符串类型,最大长度20",
- "TRADE_FORM_SC": "【贸易方式】,字符串类型,最大长度10",
-
-"ListUdfRecords": [
-
-{
- "RecordID": "【RECORDID】,字符串类型,扩展记录ID",
-
-"SetLine": {
- "TypeName": "【模块名称】,字符串类型",
- "TTID": "【租户ID】,字符串类型,租户ID",
- "Name": "【名称】,字符串类型,名称",
- "DataType": "【数据类型】,浮点类型,数据类型 0文本框,1数字,2日期,3复选,4下拉框",
- "DisplayName": "【显示名称】,字符串类型,显示名称",
- "IsShowInQuery": "【列表显示】,浮点类型,是否显示到列表 1/0",
- "DropDownListSource": "【下拉框数据源】,字符串类型,下拉框数据源,数据字典类型的值",
-
-"DdlSource": {
- "sample string 1": "sample string 2"
- "RecordValue": "【RECORDVALUE】,字符串类型,记录值"
-
-
-"ListUdfDisplays": [
-
-{
- "TypeName": "【模块名称】,字符串类型,模型名称",
- "PropName": "【PROPNAME】,字符串类型,属性名称,包含了DTO上的所有属性,以及UdfRecord中的 RecordName",
- "SortID": "【SORTID】,浮点类型,排序ID",
- "IsHidden": "【ISHIDDEN】,浮点类型,是否隐藏,1/0",
- "IsForzen": "【ISFORZEN】,浮点类型,列表中是否固定到首列 1/0",
- "Width": "【宽度】,浮点类型,列表的宽度"
-
-
- "token": "【登录标识】,字符串类型"
application/xml, text/xml
Sample:123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243<OrderUdfParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SCM.TMS7.WebApi.Common"> <token>【登录标识】,字符串类型</token> <orderUdf xmlns:d2p1="http://schemas.datacontract.org/2004/07/SCM.TMS7.DTO.Api"> <ListUdfDisplays xmlns="http://schemas.datacontract.org/2004/07/Quantum.FrameWorkCore.WebUI.UDF"> <UdfDisplayForQuery> <IsForzen>5</IsForzen> <IsHidden>4</IsHidden> <PropName>【PROPNAME】,字符串类型,属性名称,包含了DTO上的所有属性,以及UdfRecord中的 RecordName</PropName> <SortID>3</SortID> <TypeName>【模块名称】,字符串类型,模型名称</TypeName> <Width>6</Width> </UdfDisplayForQuery> </ListUdfDisplays> <ListUdfRecords xmlns="http://schemas.datacontract.org/2004/07/Quantum.FrameWorkCore.WebUI.UDF"> <UdfRecord> <RecordID>【RECORDID】,字符串类型,扩展记录ID</RecordID> <RecordValue>【RECORDVALUE】,字符串类型,记录值</RecordValue> <SetLine> <DataType>4</DataType> <DdlSource xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>sample string 1</d6p1:Key> <d6p1:Value>sample string 2</d6p1:Value> </d6p1:KeyValueOfstringstring> </DdlSource> <DisplayName>【显示名称】,字符串类型,显示名称</DisplayName> <DropDownListSource>【下拉框数据源】,字符串类型,下拉框数据源,数据字典类型的值</DropDownListSource> <IsShowInQuery>6</IsShowInQuery> <Name>【名称】,字符串类型,名称</Name> <TTID>【租户ID】,字符串类型,租户ID</TTID> <TypeName>【模块名称】,字符串类型</TypeName> </SetLine> </UdfRecord> </ListUdfRecords> <d2p1:BU_GID>【结算客户GID】,字符串类型,最大长度50</d2p1:BU_GID> <d2p1:BU_ID>【结算客户ID】,字符串类型,最大长度30</d2p1:BU_ID> <d2p1:CREATED_BY>【创建人】,字符串类型,最大长度40</d2p1:CREATED_BY> <d2p1:CREATED_DATE>【创建日期】,字符串类型</d2p1:CREATED_DATE> <d2p1:CUSTOMER_GID>【CUSTOMER_GID】,字符串类型,最大长度52</d2p1:CUSTOMER_GID> <d2p1:CUSTOMER_ID>【客户ID】,字符串类型,最大长度30</d2p1:CUSTOMER_ID> <d2p1:CUSTOMS_DECLARE_NO>【报关单号】,字符串类型,最大长度20</d2p1:CUSTOMS_DECLARE_NO> <d2p1:CUSTOMS_DECLARE_PLACE>【报关地】,字符串类型,最大长度60</d2p1:CUSTOMS_DECLARE_PLACE> <d2p1:C_ORDER_NO>【客户订单号】,字符串类型,最大长度256,发货订单原始编号</d2p1:C_ORDER_NO> <d2p1:DELIVERY>【运输备注】,字符串类型,最大长度160</d2p1:DELIVERY> <d2p1:DEST_ADDRESS>【目的地地址】,字符串类型</d2p1:DEST_ADDRESS> <d2p1:DEST_CITY>【目的地城市】,字符串类型,值必须为ARUBA,BAGRAM,KABUL,BENGUELA,CABINDA等</d2p1:DEST_CITY> <d2p1:DEST_CONTACT_NAME>【联系人姓名(D)】,字符串类型</d2p1:DEST_CONTACT_NAME> <d2p1:DEST_CONTACT_PHONE>【联系人电话(D)】,字符串类型</d2p1:DEST_CONTACT_PHONE> <d2p1:DEST_COUNTRY_CODE_ID>【目的地国家代码】,字符串类型</d2p1:DEST_COUNTRY_CODE_ID> <d2p1:DEST_COUNTY_ID>【目的地区(县)】,字符串类型</d2p1:DEST_COUNTY_ID> <d2p1:DEST_EMAIL>【联系人邮箱(D)】,字符串类型</d2p1:DEST_EMAIL> <d2p1:DEST_ENABLED>【创建(更新)地址】,字符串类型</d2p1:DEST_ENABLED> <d2p1:DEST_FLOOR>82</d2p1:DEST_FLOOR> <d2p1:DEST_LATITUED>【目的地纬度】,字符串类型</d2p1:DEST_LATITUED> <d2p1:DEST_LOCATION_GID>【目的地GID】,字符串类型</d2p1:DEST_LOCATION_GID> <d2p1:DEST_LOCATION_ID>【目的地ID】,字符串类型</d2p1:DEST_LOCATION_ID> <d2p1:DEST_LOCATION_NAME>*必输字段,【目的地名称】,字符串类型</d2p1:DEST_LOCATION_NAME> <d2p1:DEST_LONGITUDE>【目的地经度】,字符串类型</d2p1:DEST_LONGITUDE> <d2p1:DEST_PERIOD>【送货时间段】,字符串类型</d2p1:DEST_PERIOD> <d2p1:DEST_PROVINCE>【目的地省份】,字符串类型</d2p1:DEST_PROVINCE> <d2p1:DEST_REMARK>【目的地备注】,字符串类型</d2p1:DEST_REMARK> <d2p1:DEST_ZONE1>【目的地区域1】,字符串类型</d2p1:DEST_ZONE1> <d2p1:DEST_ZONE1_GID>【目的区域1】,字符串类型</d2p1:DEST_ZONE1_GID> <d2p1:DEST_ZONE2>【目的地区域2】,字符串类型</d2p1:DEST_ZONE2> <d2p1:DEST_ZONE2_GID>【目的区域2】,字符串类型</d2p1:DEST_ZONE2_GID> <d2p1:DISPATCH_TYPE>【配送方式】,字符串类型,最大长度10,值必须为自提,送货等</d2p1:DISPATCH_TYPE> <d2p1:DOMAIN_NAME>【域】,字符串类型,最大长度10</d2p1:DOMAIN_NAME> <d2p1:EARLY_DELIVERY_DATE>【最早到货日期】,字符串类型</d2p1:EARLY_DELIVERY_DATE> <d2p1:EARLY_PICKUP_DATE>【最早提货日期】,字符串类型</d2p1:EARLY_PICKUP_DATE> <d2p1:FEATURE_SC>【特点】,字符串类型,最大长度5,值必须为普货,冷藏,危险品等</d2p1:FEATURE_SC> <d2p1:FORECAST_ARRIVE_DATE>【预计到货日期】,字符串类型</d2p1:FORECAST_ARRIVE_DATE> <d2p1:INCO_TERM_PSC>【贸易条款】,字符串类型,最大长度5,值必须为CIF,CIP等</d2p1:INCO_TERM_PSC> <d2p1:INSURED_AMOUNT>88</d2p1:INSURED_AMOUNT> <d2p1:INVOICE_NO>【发票号】,字符串类型,最大长度20</d2p1:INVOICE_NO> <d2p1:IS_URGENCY>【是否加急】,字符串类型,最大长度1,值必须为是,否等</d2p1:IS_URGENCY> <d2p1:LATE_DELIVERY_DATE>*必输字段,【最晚到货日期】,字符串类型</d2p1:LATE_DELIVERY_DATE> <d2p1:LATE_PICKUP_DATE>*必输字段,【最晚提货日期】,字符串类型</d2p1:LATE_PICKUP_DATE> <d2p1:NEGOTIATED_PRICE>【议价】,字符串类型,最大长度1,值必须为是,否等</d2p1:NEGOTIATED_PRICE> <d2p1:ORDER_ID>【发货订单ID】,字符串类型,最大长度50,发货订单编号</d2p1:ORDER_ID> <d2p1:ORDER_INFO_REMARK>【订单备注】,字符串类型,最大长度160</d2p1:ORDER_INFO_REMARK> <d2p1:ORDER_RELEASE_TYPE_PSC>【发货订单类型】,字符串类型,最大长度5,值必须为普通单,预约单,退货单,市内单,调拨单等</d2p1:ORDER_RELEASE_TYPE_PSC> <d2p1:OrderAmountLines xmlns:d3p1="http://schemas.datacontract.org/2004/07/SCM.TMS7.DTO.OrderInfo"> <d3p1:OrderAmountEditDTO> <ListUdfDisplays xmlns="http://schemas.datacontract.org/2004/07/Quantum.FrameWorkCore.WebUI.UDF"> <UdfDisplayForQuery> <IsForzen>5</IsForzen> <IsHidden>4</IsHidden> <PropName>【PROPNAME】,字符串类型,属性名称,包含了DTO上的所有属性,以及UdfRecord中的 RecordName</PropName> <SortID>3</SortID> <TypeName>【模块名称】,字符串类型,模型名称</TypeName> <Width>6</Width> </UdfDisplayForQuery> </ListUdfDisplays> <ListUdfRecords xmlns="http://schemas.datacontract.org/2004/07/Quantum.FrameWorkCore.WebUI.UDF"> <UdfRecord> <RecordID>【RECORDID】,字符串类型,扩展记录ID</RecordID> <RecordValue>【RECORDVALUE】,字符串类型,记录值</RecordValue> <SetLine> <DataType>4</DataType> <DdlSource xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d8p1:KeyValueOfstringstring> <d8p1:Key>sample string 1</d8p1:Key> <d8p1:Value>sample string 2</d8p1:Value> </d8p1:KeyValueOfstringstring> </DdlSource> <DisplayName>【显示名称】,字符串类型,显示名称</DisplayName> <DropDownListSource>【下拉框数据源】,字符串类型,下拉框数据源,数据字典类型的值</DropDownListSource> <IsShowInQuery>6</IsShowInQuery> <Name>【名称】,字符串类型,名称</Name> <TTID>【租户ID】,字符串类型,租户ID</TTID> <TypeName>【模块名称】,字符串类型</TypeName> </SetLine> </UdfRecord> </ListUdfRecords> <d3p1:AMOUNT>4</d3p1:AMOUNT> <d3p1:CHARGE_TYPE_PSC>*必输字段,【费用类型】,字符串类型,最大长度5,值必须为运费调整,搬运费,包车费,包装费,保险费等</d3p1:CHARGE_TYPE_PSC> <d3p1:DESCRIPTION>【描述】,字符串类型,最大长度50</d3p1:DESCRIPTION> <d3p1:IS_AGENCY_FUND>【是否代收】,字符串类型,最大长度1,值必须为是,否等</d3p1:IS_AGENCY_FUND> <d3p1:IS_SYS>【是否系统】,字符串类型,最大长度1</d3p1:IS_SYS> <d3p1:LINE_ID>2</d3p1:LINE_ID> <d3p1:ORDER_GID>【订单标识】,字符串类型,最大长度80</d3p1:ORDER_GID> </d3p1:OrderAmountEditDTO> </d2p1:OrderAmountLines> <d2p1:OrderEquipmentTypes> <d2p1:OrderEquipmentTypeApiDTO> <d2p1:EQUIPMENT_TYPE_ID>【设备类型ID】,字符串类型</d2p1:EQUIPMENT_TYPE_ID> </d2p1:OrderEquipmentTypeApiDTO> </d2p1:OrderEquipmentTypes> <d2p1:OrderLines> <d2p1:OrderLineDTO> <d2p1:ERP_ORDER_LINE>【ERP订单行号】,字符串类型,最大长度30</d2p1:ERP_ORDER_LINE> <d2p1:NET_WEIGHT>9</d2p1:NET_WEIGHT> <d2p1:NET_WEIGHT_DIS_UOM>【净重单位】,字符串类型,最大长度5,值必须为千克,吨等</d2p1:NET_WEIGHT_DIS_UOM> <d2p1:OL_HEIGHT>17</d2p1:OL_HEIGHT> <d2p1:OL_HEIGHT_UOM>【高度单位】,字符串类型,值必须为厘米,米等</d2p1:OL_HEIGHT_UOM> <d2p1:OL_LENGTH>13</d2p1:OL_LENGTH> <d2p1:OL_LENGTH_UOM>【长度单位】,字符串类型,值必须为厘米,米等</d2p1:OL_LENGTH_UOM> <d2p1:OL_UDF1>【历峰箱号】,字符串类型,最大长度100</d2p1:OL_UDF1> <d2p1:OL_UDF10>【OL_UDF10】,字符串类型,最大长度100</d2p1:OL_UDF10> <d2p1:OL_UDF2>【历峰品牌号】,字符串类型,最大长度100</d2p1:OL_UDF2> <d2p1:OL_UDF3>【OL_UDF3】,字符串类型,最大长度100</d2p1:OL_UDF3> <d2p1:OL_UDF4>【OL_UDF4】,字符串类型,最大长度100</d2p1:OL_UDF4> <d2p1:OL_UDF5>【OL_UDF5】,字符串类型,最大长度100</d2p1:OL_UDF5> <d2p1:OL_UDF6>【OL_UDF6】,字符串类型,最大长度100</d2p1:OL_UDF6> <d2p1:OL_UDF7>【OL_UDF7】,字符串类型,最大长度100</d2p1:OL_UDF7> <d2p1:OL_UDF8>【OL_UDF8】,字符串类型,最大长度100</d2p1:OL_UDF8> <d2p1:OL_UDF9>【OL_UDF9】,字符串类型,最大长度100</d2p1:OL_UDF9> <d2p1:OL_WIDTH>15</d2p1:OL_WIDTH> <d2p1:OL_WIDTH_UOM>【宽度单位】,字符串类型,值必须为厘米,米等</d2p1:OL_WIDTH_UOM> <d2p1:ORL_COUNT>4</d2p1:ORL_COUNT> <d2p1:OrderLineItems> <d2p1:OrderLineItemDTO> <d2p1:HEIGHT>16</d2p1:HEIGHT> <d2p1:HEIGHT_UOM>【高度单位】,字符串类型,最大长度5,值必须为厘米,米等</d2p1:HEIGHT_UOM> <d2p1:ITEM_GID>【ITEM_GID】,字符串类型,最大长度82</d2p1:ITEM_GID> <d2p1:ITEM_ID>*必输字段,【货品ID】,字符串类型,最大长度60</d2p1:ITEM_ID> <d2p1:ITEM_NAME>*必输字段,【货品名称】,字符串类型,最大长度100</d2p1:ITEM_NAME> <d2p1:LENGTH>12</d2p1:LENGTH> <d2p1:LENGTH_UOM>【长度单位】,字符串类型,最大长度5,值必须为厘米,米等</d2p1:LENGTH_UOM> <d2p1:NET_WEIGHT>18</d2p1:NET_WEIGHT> <d2p1:NET_WEIGHT_UOM>【净重单位】,字符串类型,值必须为千克,吨等</d2p1:NET_WEIGHT_UOM> <d2p1:OLI_UDF1>【自定义1】,字符串类型,最大长度100</d2p1:OLI_UDF1> <d2p1:OLI_UDF10>【自定义10】,字符串类型,最大长度100</d2p1:OLI_UDF10> <d2p1:OLI_UDF2>【OLI_UDF2】,字符串类型,最大长度100</d2p1:OLI_UDF2> <d2p1:OLI_UDF3>【自定义3】,字符串类型,最大长度100</d2p1:OLI_UDF3> <d2p1:OLI_UDF4>【自定义4】,字符串类型,最大长度100</d2p1:OLI_UDF4> <d2p1:OLI_UDF5>【自定义5】,字符串类型,最大长度100</d2p1:OLI_UDF5> <d2p1:OLI_UDF6>【自定义6】,字符串类型,最大长度100</d2p1:OLI_UDF6> <d2p1:OLI_UDF7>【自定义7】,字符串类型,最大长度100</d2p1:OLI_UDF7> <d2p1:OLI_UDF8>【自定义8】,字符串类型,最大长度100</d2p1:OLI_UDF8> <d2p1:OLI_UDF9>【自定义9】,字符串类型,最大长度100</d2p1:OLI_UDF9> <d2p1:ORL_COUNT>7</d2p1:ORL_COUNT> <d2p1:VOLUME>10</d2p1:VOLUME> <d2p1:VOLUME_UOM>【体积单位】,字符串类型,值必须为立方米等</d2p1:VOLUME_UOM> <d2p1:WEIGHT>8</d2p1:WEIGHT> <d2p1:WEIGHT_UOM>【重量单位】,字符串类型,值必须为千克,吨等</d2p1:WEIGHT_UOM> <d2p1:WIDTH>14</d2p1:WIDTH> <d2p1:WIDTH_UOM>【宽度单位】,字符串类型,最大长度5,值必须为厘米,米等</d2p1:WIDTH_UOM> </d2p1:OrderLineItemDTO> </d2p1:OrderLineItems> <d2p1:PACKAGE_COUNT>5</d2p1:PACKAGE_COUNT> <d2p1:PACKAGE_COUNT_UOM>*必输字段,【包装单位】,字符串类型,最大长度32,值必须为箱,托,荣盛-大箱,荣盛-小箱,荣盛-中箱等</d2p1:PACKAGE_COUNT_UOM> <d2p1:PACKAGE_REMARK>*必输字段,【包装描述】,字符串类型,最大长度80</d2p1:PACKAGE_REMARK> <d2p1:UNIT_NET_WEIGHT>23</d2p1:UNIT_NET_WEIGHT> <d2p1:UNIT_NET_WEIGHT_UOM>【UNIT_NET_WEIGHT_UOM】,字符串类型,最大长度5,值必须为千克,吨等</d2p1:UNIT_NET_WEIGHT_UOM> <d2p1:UNIT_VOLUME>21</d2p1:UNIT_VOLUME> <d2p1:UNIT_VOLUME_UOM>【UNIT_VOLUME_UOM】,字符串类型,最大长度5,值必须为立方米等</d2p1:UNIT_VOLUME_UOM> <d2p1:UNIT_WEIGHT>19</d2p1:UNIT_WEIGHT> <d2p1:UNIT_WEIGHT_UOM>【UNIT_WEIGHT_UOM】,字符串类型,最大长度5,值必须为千克,吨等</d2p1:UNIT_WEIGHT_UOM> <d2p1:VOLUME>11</d2p1:VOLUME> <d2p1:VOLUME_UOM>【体积单位】,字符串类型,最大长度5,值必须为立方米等</d2p1:VOLUME_UOM> <d2p1:WEIGHT>7</d2p1:WEIGHT> <d2p1:WEIGHT_DIS_UOM>【毛重单位】,字符串类型,最大长度5,值必须为千克,吨等</d2p1:WEIGHT_DIS_UOM> </d2p1:OrderLineDTO> </d2p1:OrderLines> <d2p1:PAY_METHOD>【付款方式】,字符串类型,最大长度5,值必须为现金,支票,月结,白条,到付等</d2p1:PAY_METHOD> <d2p1:PLAN_SP_GID>【PLAN_SP_GID】,字符串类型,最大长度52</d2p1:PLAN_SP_GID> <d2p1:PLAN_SP_ID>【计划承运商ID】,字符串类型,最大长度30</d2p1:PLAN_SP_ID> <d2p1:PLAN_TM_GID>【PLAN_TM_GID】,字符串类型,最大长度32</d2p1:PLAN_TM_GID> <d2p1:PLAN_TM_ID>【计划运输方式ID】,字符串类型,最大长度20</d2p1:PLAN_TM_ID> <d2p1:RELEASE_FROM_TYPE_PSC>*必输字段,【发货订单来源】,字符串类型,最大长度30,值必须为手工录入,系统导入,Milk单,客户单,APP等</d2p1:RELEASE_FROM_TYPE_PSC> <d2p1:SALESMAN_CONTACT>【业务员联系方式】,字符串类型,最大长度40</d2p1:SALESMAN_CONTACT> <d2p1:SALESMAN_DEPT>【所属业务部门】,字符串类型,最大长度40</d2p1:SALESMAN_DEPT> <d2p1:SALESMAN_EMAIL>【业务员邮箱】,字符串类型,最大长度80</d2p1:SALESMAN_EMAIL> <d2p1:SALESMAN_NAME>【业务员】,字符串类型,最大长度20</d2p1:SALESMAN_NAME> <d2p1:SERVICE_LEVEL_PSC>【服务级别】,字符串类型,最大长度5,值必须为PTP,PTD,DTP,DTD等</d2p1:SERVICE_LEVEL_PSC> <d2p1:SERVICE_TYPE>【服务类型】,字符串类型,最大长度30</d2p1:SERVICE_TYPE> <d2p1:SRC_ADDRESS>【起始地地址】,字符串类型</d2p1:SRC_ADDRESS> <d2p1:SRC_CITY>【起始地城市】,字符串类型,值必须为ARUBA,BAGRAM,KABUL,BENGUELA,CABINDA等</d2p1:SRC_CITY> <d2p1:SRC_CONTACT_NAME>【联系人姓名(S)】,字符串类型</d2p1:SRC_CONTACT_NAME> <d2p1:SRC_CONTACT_PHONE>【联系人电话(S)】,字符串类型</d2p1:SRC_CONTACT_PHONE> <d2p1:SRC_COUNTRY_CODE_ID>【起始地国家代码】,字符串类型</d2p1:SRC_COUNTRY_CODE_ID> <d2p1:SRC_COUNTY_ID>【起始地区(县)】,字符串类型</d2p1:SRC_COUNTY_ID> <d2p1:SRC_EMAIL>【联系人邮箱(S)】,字符串类型</d2p1:SRC_EMAIL> <d2p1:SRC_ENABLED>【创建(更新)地址】,字符串类型</d2p1:SRC_ENABLED> <d2p1:SRC_FLOOR>80</d2p1:SRC_FLOOR> <d2p1:SRC_LATITUED>【起始地纬度】,字符串类型</d2p1:SRC_LATITUED> <d2p1:SRC_LOCATION_GID>【起始地GID】,字符串类型</d2p1:SRC_LOCATION_GID> <d2p1:SRC_LOCATION_ID>【起始地ID】,字符串类型</d2p1:SRC_LOCATION_ID> <d2p1:SRC_LOCATION_NAME>*必输字段,【起始地名称】,字符串类型</d2p1:SRC_LOCATION_NAME> <d2p1:SRC_LONGITUDE>【起始地经度】,字符串类型</d2p1:SRC_LONGITUDE> <d2p1:SRC_PERIOD>【提货时间段】,字符串类型</d2p1:SRC_PERIOD> <d2p1:SRC_PROVINCE>【起始地省份】,字符串类型</d2p1:SRC_PROVINCE> <d2p1:SRC_REMARK>【起始地备注】,字符串类型</d2p1:SRC_REMARK> <d2p1:SRC_ZONE1>【起始地区域1】,字符串类型</d2p1:SRC_ZONE1> <d2p1:SRC_ZONE1_GID>【起始区域1】,字符串类型</d2p1:SRC_ZONE1_GID> <d2p1:SRC_ZONE2>【起始地区域2】,字符串类型</d2p1:SRC_ZONE2> <d2p1:SRC_ZONE2_GID>【起始区域2】,字符串类型</d2p1:SRC_ZONE2_GID> <d2p1:TRADE_FORM_SC>【贸易方式】,字符串类型,最大长度10</d2p1:TRADE_FORM_SC> <d2p1:UDF1>【母单号】,字符串类型,最大长度60</d2p1:UDF1> <d2p1:UDF10>【UDF10】,字符串类型,最大长度60</d2p1:UDF10> <d2p1:UDF2>【专签份数】,字符串类型,最大长度60</d2p1:UDF2> <d2p1:UDF3>【UDF3】,字符串类型,最大长度60</d2p1:UDF3> <d2p1:UDF4>【UDF4】,字符串类型,最大长度60</d2p1:UDF4> <d2p1:UDF5>【UDF5】,字符串类型,最大长度60</d2p1:UDF5> <d2p1:UDF6>【UDF6】,字符串类型,最大长度60</d2p1:UDF6> <d2p1:UDF7>【UDF7】,字符串类型,最大长度60</d2p1:UDF7> <d2p1:UDF8>【UDF8】,字符串类型,最大长度60</d2p1:UDF8> <d2p1:UDF9>【UDF9】,字符串类型,最大长度60</d2p1:UDF9> <d2p1:UPDATED_BY>【更新人】,字符串类型,最大长度40</d2p1:UPDATED_BY> <d2p1:UPDATED_DATE>【更新日期】,字符串类型</d2p1:UPDATED_DATE> </orderUdf> </OrderUdfParameters> application/x-www-form-urlencoded
Sample: -
-
返回数据示例(Request body formats)
application/json, text/json
Sample:{- "resultCode": "【RESULTCODE】",
- "flag": true,
- "data": { },
- "msg": "【MSG】,字符串类型,消息",
- "token": "【登录标识】,字符串类型,登录凭证",
- "ttid": "【租户ID】,字符串类型,租户ID",
- "domain": "【域】,字符串类型,当前域",
- "transactionId": "160930100849258902"
application/xml, text/xml
Sample:123456789<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Quantum.FrameWorkCore.BaseClass"> <data /> <domain>【域】,字符串类型,当前域</domain> <flag>true</flag> <msg>【MSG】,字符串类型,消息</msg> <resultCode>1</resultCode> <token>【登录标识】,字符串类型,登录凭证</token> <ttid>【租户ID】,字符串类型,租户ID</ttid> </ApiResult>
保存订单信息
最新推荐文章于 2022-06-14 11:04:17 发布