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

HTTP + CSV

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

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

license,hardware_data_records,from_date,to_date
String,"[{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}]",String,String