IHardataNetPubliWebService


Click here for a complete list of operations.

GetPACKAGE

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ID_PACKAGE:
PA_NAME:
PA_INITIAL_PRICE:
PA_CONTRACT_LENGTH:
PA_RENEW_PRICE:
PA_START_DATE:
PA_END_DATE:
PA_DESCRIPTION:
PA_AUTO_RENEW:
PA_STATE:
PA_FOR_NEW_USERS:
ID_TYPE_PROMOTION:
PA_PAYMENTYPE:
TOKEN:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /HardataNetPublicWebService.asmx HTTP/1.1
Host: services.hardata.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Hardata/GetPACKAGE"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPACKAGE xmlns="Hardata">
      <ID_PACKAGE>string</ID_PACKAGE>
      <PA_NAME>string</PA_NAME>
      <PA_INITIAL_PRICE>string</PA_INITIAL_PRICE>
      <PA_CONTRACT_LENGTH>string</PA_CONTRACT_LENGTH>
      <PA_RENEW_PRICE>string</PA_RENEW_PRICE>
      <PA_START_DATE>string</PA_START_DATE>
      <PA_END_DATE>string</PA_END_DATE>
      <PA_DESCRIPTION>string</PA_DESCRIPTION>
      <PA_AUTO_RENEW>string</PA_AUTO_RENEW>
      <PA_STATE>string</PA_STATE>
      <PA_FOR_NEW_USERS>string</PA_FOR_NEW_USERS>
      <ID_TYPE_PROMOTION>string</ID_TYPE_PROMOTION>
      <PA_PAYMENTYPE>string</PA_PAYMENTYPE>
      <TOKEN>string</TOKEN>
    </GetPACKAGE>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPACKAGEResponse xmlns="Hardata">
      <GetPACKAGEResult>string</GetPACKAGEResult>
    </GetPACKAGEResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /HardataNetPublicWebService.asmx HTTP/1.1
Host: services.hardata.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPACKAGE xmlns="Hardata">
      <ID_PACKAGE>string</ID_PACKAGE>
      <PA_NAME>string</PA_NAME>
      <PA_INITIAL_PRICE>string</PA_INITIAL_PRICE>
      <PA_CONTRACT_LENGTH>string</PA_CONTRACT_LENGTH>
      <PA_RENEW_PRICE>string</PA_RENEW_PRICE>
      <PA_START_DATE>string</PA_START_DATE>
      <PA_END_DATE>string</PA_END_DATE>
      <PA_DESCRIPTION>string</PA_DESCRIPTION>
      <PA_AUTO_RENEW>string</PA_AUTO_RENEW>
      <PA_STATE>string</PA_STATE>
      <PA_FOR_NEW_USERS>string</PA_FOR_NEW_USERS>
      <ID_TYPE_PROMOTION>string</ID_TYPE_PROMOTION>
      <PA_PAYMENTYPE>string</PA_PAYMENTYPE>
      <TOKEN>string</TOKEN>
    </GetPACKAGE>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPACKAGEResponse xmlns="Hardata">
      <GetPACKAGEResult>string</GetPACKAGEResult>
    </GetPACKAGEResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /HardataNetPublicWebService.asmx/GetPACKAGE?ID_PACKAGE=string&PA_NAME=string&PA_INITIAL_PRICE=string&PA_CONTRACT_LENGTH=string&PA_RENEW_PRICE=string&PA_START_DATE=string&PA_END_DATE=string&PA_DESCRIPTION=string&PA_AUTO_RENEW=string&PA_STATE=string&PA_FOR_NEW_USERS=string&ID_TYPE_PROMOTION=string&PA_PAYMENTYPE=string&TOKEN=string HTTP/1.1
Host: services.hardata.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="Hardata">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /HardataNetPublicWebService.asmx/GetPACKAGE HTTP/1.1
Host: services.hardata.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ID_PACKAGE=string&PA_NAME=string&PA_INITIAL_PRICE=string&PA_CONTRACT_LENGTH=string&PA_RENEW_PRICE=string&PA_START_DATE=string&PA_END_DATE=string&PA_DESCRIPTION=string&PA_AUTO_RENEW=string&PA_STATE=string&PA_FOR_NEW_USERS=string&ID_TYPE_PROMOTION=string&PA_PAYMENTYPE=string&TOKEN=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="Hardata">string</string>