Porta Plus 2 Web Services

<back to all web services

HardwareDataRecordsRequest

The following routes are available for this service:
POST/hardwaredatarecords/insert
GET/hardwaredatarecords/get/{license}/{from_date}/{to_date}

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/oneway/HardwareDataRecordsRequest HTTP/1.1 
Host: 7el.co 
Content-Type: text/jsv
Content-Length: length

{
	license: String,
	hardware_data_records: 
	[
		{
			id: 0,
			hardware_name: String,
			qty: 0,
			purchase_date: 0001-01-01,
			i_env: 0,
			i_customer: 0,
			i_parent: 0,
			order_type: String,
			ua_type: String,
			distributor: String,
			order_id: 0,
			technical_name: String,
			i_account: 0
		}
	],
	from_date: String,
	to_date: String
}