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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"license":"String","hardware_data_records":[{"id":0,"hardware_name":"String","qty":0,"purchase_date":"\/Date(-62135596800000-0000)\/","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"}