XML LogProgramError

From SVE Wiki
Jump to navigation Jump to search

One of the methods the web service provides is to log program errors, the method is called LogProgramError. 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:LogProgramError>
			<sves:CompanyId>CompanyId</sves:CompanyId>
			<sves:StoreId>StoreId</sves:StoreId>
			<sves:Timestamp>TimestampValue</sves:Timestamp>
			<sves:LogLevel>Error</sves:LogLevel>
			<sves:Message>This is where the log message would go</sves:Message>
		</sves:LogProgramError>
	</soap:Body>
</soap:Envelope>