XML RecordNewSettlement

From SVE Wiki
Jump to navigation Jump to search

One of the methods the web service provides is to record a new settlement, the method is called RecordNewSettlement. A typical XML object will look like the following XML code.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:sves="http://reportsvr.sv-e.info/SveSvc/">
	<soap:Header/>
	<soap:Body>
		<sves:RecordNewSettlement>
			<sves:CompanyId>CompanyId</sves:CompanyId>
			<sves:StoreId>StoreId</sves:StoreId>
			<sves:Amex>123.45</sves:Amex>
			<sves:Discover>123.45</sves:Discover>
			<sves:Mastercard>123.45</sves:Mastercard>
			<sves:visa>123.45</sves:visa>
			<sves:TotalCards>493.80</sves:TotalCards>
			<sves:variance>0.00</sves:variance>
			<sves:ProgramVersion>Client App Version Information</sves:ProgramVersion>
			<sves:TotalDsr>493.80</sves:TotalDsr>
			<sves:CardQty>50</sves:CardQty>
		</sves:RecordNewSettlement>
	</soap:Body>
</soap:Envelope>