POS数据收集WebService方式开发指南V10Word下载.docx
- 文档编号:16208079
- 上传时间:2022-11-21
- 格式:DOCX
- 页数:41
- 大小:28.52KB
POS数据收集WebService方式开发指南V10Word下载.docx
《POS数据收集WebService方式开发指南V10Word下载.docx》由会员分享,可在线阅读,更多相关《POS数据收集WebService方式开发指南V10Word下载.docx(41页珍藏版)》请在冰豆网上搜索。
3.函数调用示例说明
以下提供XML文件格式,紧接着是以表格的形式对文件格式进行详细解释。
postsalescreate()请求数据格式:
以下是SOAP1.2请求和响应示例。
所显示的占位符需替换为实际值。
POST/esPOS_WebService/nv_espos_webservice.asmxHTTP/1.1
Host:
59.41.59.58
Content-Type:
application/soap+xml;
charset=utf-8
Content-Length:
length
<
?
xmlversion="
1.0"
encoding="
utf-8"
>
soap12:
Envelopexmlns:
xsi="
http:
//www.w3.org/2001/XMLSchema-instance"
xmlns:
xsd="
//www.w3.org/2001/XMLSchema"
soap12="
//www.w3.org/2003/05/soap-envelope"
<
Body>
postsalescreatexmlns="
//tempurl.org"
astr_request>
header>
licensekey>
string<
/licensekey>
username>
/username>
password>
/password>
lang>
/lang>
pagerecords>
int<
/pagerecords>
pageno>
/pageno>
updatecount>
/updatecount>
messagetype>
/messagetype>
messageid>
/messageid>
version>
/version>
/header>
salestotal>
localstorecode>
/localstorecode>
reservedocno>
/reservedocno>
txdate_yyyymmdd>
/txdate_yyyymmdd>
txtime_hhmmss>
/txtime_hhmmss>
mallid>
/mallid>
storecode>
/storecode>
tillid>
/tillid>
salestype>
/salestype>
txdocno>
/txdocno>
orgtxdate_yyyymmdd>
/orgtxdate_yyyymmdd>
orgstorecode>
/orgstorecode>
orgtillid>
/orgtillid>
txorgdocno>
/txorgdocno>
mallitemcode>
/mallitemcode>
cashier>
/cashier>
vipcode>
/vipcode>
salesman>
/salesman>
demographiccode>
/demographiccode>
demographicdata>
/demographicdata>
netqty>
decimal<
/netqty>
originalamount>
/originalamount>
sellingamount>
/sellingamount>
couponnumber>
/couponnumber>
coupongroup>
/coupongroup>
coupontype>
/coupontype>
couponqty>
short<
/couponqty>
totaldiscount>
salesdiscountxsi:
nil="
true"
/>
/totaldiscount>
ttltaxamount1>
/ttltaxamount1>
ttltaxamount2>
/ttltaxamount2>
netamount>
/netamount>
paidamount>
/paidamount>
changeamount>
/changeamount>
priceincludetax>
/priceincludetax>
shoptaxgroup>
/shoptaxgroup>
extendparam>
/extendparam>
invoicetitle>
/invoicetitle>
invoicecontent>
/invoicecontent>
issueby>
/issueby>
issuedate_yyyymmdd>
/issuedate_yyyymmdd>
issuetime_hhmmss>
/issuetime_hhmmss>
ecorderno>
/ecorderno>
buyerremark>
/buyerremark>
orderremark>
/orderremark>
status>
/status>
ttpossalesdocno>
/ttpossalesdocno>
/salestotal>
salesitems>
salesitem>
iscounteritemcode>
/iscounteritemcode>
lineno>
/lineno>
counteritemcode>
/counteritemcode>
itemcode>
/itemcode>
plucode>
/plucode>
colorcode>
/colorcode>
sizecode>
/sizecode>
itemlotnum>
/itemlotnum>
serialnum>
/serialnum>
isdeposit>
/isdeposit>
iswholesale>
/iswholesale>
invttype>
/invttype>
qty>
/qty>
exstk2sales>
/exstk2sales>
originalprice>
/originalprice>
sellingprice>
/sellingprice>
pricemode>
/pricemode>
priceapprove>
/priceapprove>
itemdiscountxsi:
vipdiscountpercent>
/vipdiscountpercent>
vipdiscountless>
/vipdiscountless>
promotionxsi:
totaldiscountless1>
/totaldiscountless1>
totaldiscountless2>
/totaldiscountless2>
totaldiscountless>
/totaldiscountless>
taxxsi:
bonusearn>
/bonusearn>
salesitemremark>
/salesitemremark>
refundreasoncode>
/refundreasoncode>
/salesitem>
/salesitems>
salestenders>
salestender>
tendercode>
/tendercode>
tendertype>
/tendertype>
tendercategory>
/tendercategory>
payamount>
/payamount>
baseamount>
/baseamount>
excessamount>
/excessamount>
remark>
/remark>
/salestender>
/salestenders>
salesdelivery>
receiver_name>
/receiver_name>
receiver_country>
/receiver_country>
receiver_province>
/receiver_province>
receiver_city>
/receiver_city>
receiver_district>
/receiver_district>
receiver_address1>
/receiver_address1>
receiver_address2>
/receiver_address2>
receiver_address3>
/receiver_address3>
receiver_address4>
/receiver_address4>
receiver_postal>
/receiver_postal>
receiver_mobile>
/receiver_mobile>
receiver_phone>
/receiver_phone>
logisticscompany>
/logisticscompany>
logisticsdocno>
/logisticsdocno>
expectdeliverydate_yyyymmdd>
/expectdeliverydate_yyyymmdd>
deliveryremarks>
/deliveryremarks>
/salesdelivery>
/astr_request>
/postsalescreate>
/soap12:
Envelope>
备注:
1)以上示例中tendercode付款方式代号解释:
CH----现金CI----国内银行卡CO----国外银行卡OT-----其他付款方式。
接口数据应在TenderCode付款方式中填写对应方式付款实际金额,无对应付款方式时在其他付款方式字段填写剩余付款方式金额的合计。
Postsalescreate()返回信息:
HTTP/1.1200OK
postsalescreateResponsexmlns="
postsalescreateResult>
responsecode>
/responsecode>
responsemessage>
/responsemessage>
maxrecords>
/maxrecords>
maxpageno>
/maxpageno>
/ttltaxamou
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- POS 数据 收集 WebService 方式 开发 指南 V10