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

HTTP + XML

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

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

<HardwareDataRecordsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <from_date>String</from_date>
  <hardware_data_records xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:HardwareDataRecords>
      <d2p1:distributor>String</d2p1:distributor>
      <d2p1:hardware_name>String</d2p1:hardware_name>
      <d2p1:i_account>0</d2p1:i_account>
      <d2p1:i_customer>0</d2p1:i_customer>
      <d2p1:i_env>0</d2p1:i_env>
      <d2p1:i_parent>0</d2p1:i_parent>
      <d2p1:id>0</d2p1:id>
      <d2p1:order_id>0</d2p1:order_id>
      <d2p1:order_type>String</d2p1:order_type>
      <d2p1:purchase_date>0001-01-01T00:00:00</d2p1:purchase_date>
      <d2p1:qty>0</d2p1:qty>
      <d2p1:technical_name>String</d2p1:technical_name>
      <d2p1:ua_type>String</d2p1:ua_type>
    </d2p1:HardwareDataRecords>
  </hardware_data_records>
  <license>String</license>
  <to_date>String</to_date>
</HardwareDataRecordsRequest>