GET api/productversion?updateversion={updateversion}&deleteversion={deleteversion}

Returns the current update and delete version. See Incremental Updates for more information.

Resource URL

Tests: https://sandbox.weplann.com/api/productversion?updateversion={updateversion}&deleteversion={deleteversion}
Production: https://developer.weplann.com/api/productversion?updateversion={updateversion}&deleteversion={deleteversion}

Request Parameters

Name Description Type Additional Information Mandatory
updateversion The update version to compare update records from integer No
deleteversion The delete version to compare deleted records from integer No

Response Information

Name Description Type Additional Information
UpdateVersion Maximum update version greater than the supplied updateversion integer Will return a value of 0 (zero) if there are no records updated after the supplied updateversion
DeleteVersion Maximum delete version greater than the supplied updateversion integer Will return a value of 0 (zero) if there are no records deleted after the supplied updateversion

Example Request

GET https://developer.weplann.com/api/productversion?updateversion=33&deleteversion=25 

Example Result (XML)

<VersionResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.weplann.com">
	<UpdateVersion>116</UpdateVersion>
	<DeleteVersion>118</DeleteVersion>
</VersionResponse>

Example Result (JSON)

{
	"updateVersion" : 116,
	"deleteVersion" : 118
}