Skip to content

REST API

Roger Zander edited this page Dec 4, 2017 · 24 revisions

Upload Data

http://{URL}/upload/{Id}

Get full Data

http://{URL}/full?id={Id}[&index={revision}]

http://{URL}/full?{lookupId}={LookupValue}[&index={revision}]

Example:

http://server/full?%23Name=NUC1&index=1

get differential between revisions

http://{URL}/diff?id={Id}[&index={revision}]

http://{URL}/diff?{lookupId}={LookupValue}[&index={revision}]

Example:

http://server/diff?%23Name=NUC1&index=1

Query Data

http://{URL}/query?OS.Caption,OS.Version&$select=%23Name,_inventoryDate

Query Data including History

http://{URL}/queryAll?OS.Caption,OS.Version&$select=%23Name,_inventoryDate

Search

http://{URL}/search?{free text}&$select=%23Name

Show History

Get all index,timestamp and hashid for a specific device.
http://{URL}/history?id={Id}[&index={revision}]

http://{URL}/history?{lookupId}={LookupValue}

Clone this wiki locally