CNG Certificate


Click here for a complete list of operations.

AddTransaction

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userId:
clientCompanyName:
clientSalutation:
clientName:
clientSurname:
clientEmail:
clientAddress:
clientPostalCode:
clientGender:
clientCity:
clientCountry:
pax:
totalCo2:
amountOfPeople:
priceExVat:
vat:
turbines:
trees:
paymentID:

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 /CNGCertificateService.asmx HTTP/1.1
Host: cngcertificate.climateneutralgroup.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://cng.nl/AddTransaction"

<?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>
    <AddTransaction xmlns="http://cng.nl/">
      <userId>int</userId>
      <clientCompanyName>string</clientCompanyName>
      <clientSalutation>string</clientSalutation>
      <clientName>string</clientName>
      <clientSurname>string</clientSurname>
      <clientEmail>string</clientEmail>
      <clientAddress>string</clientAddress>
      <clientPostalCode>string</clientPostalCode>
      <clientGender>string</clientGender>
      <clientCity>string</clientCity>
      <clientCountry>string</clientCountry>
      <pax>int</pax>
      <totalCo2>double</totalCo2>
      <amountOfPeople>int</amountOfPeople>
      <priceExVat>double</priceExVat>
      <vat>double</vat>
      <turbines>double</turbines>
      <trees>double</trees>
      <paymentID>string</paymentID>
    </AddTransaction>
  </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>
    <AddTransactionResponse xmlns="http://cng.nl/">
      <AddTransactionResult>boolean</AddTransactionResult>
    </AddTransactionResponse>
  </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 /CNGCertificateService.asmx HTTP/1.1
Host: cngcertificate.climateneutralgroup.com
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>
    <AddTransaction xmlns="http://cng.nl/">
      <userId>int</userId>
      <clientCompanyName>string</clientCompanyName>
      <clientSalutation>string</clientSalutation>
      <clientName>string</clientName>
      <clientSurname>string</clientSurname>
      <clientEmail>string</clientEmail>
      <clientAddress>string</clientAddress>
      <clientPostalCode>string</clientPostalCode>
      <clientGender>string</clientGender>
      <clientCity>string</clientCity>
      <clientCountry>string</clientCountry>
      <pax>int</pax>
      <totalCo2>double</totalCo2>
      <amountOfPeople>int</amountOfPeople>
      <priceExVat>double</priceExVat>
      <vat>double</vat>
      <turbines>double</turbines>
      <trees>double</trees>
      <paymentID>string</paymentID>
    </AddTransaction>
  </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>
    <AddTransactionResponse xmlns="http://cng.nl/">
      <AddTransactionResult>boolean</AddTransactionResult>
    </AddTransactionResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

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

POST /CNGCertificateService.asmx/AddTransaction HTTP/1.1
Host: cngcertificate.climateneutralgroup.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userId=string&clientCompanyName=string&clientSalutation=string&clientName=string&clientSurname=string&clientEmail=string&clientAddress=string&clientPostalCode=string&clientGender=string&clientCity=string&clientCountry=string&pax=string&totalCo2=string&amountOfPeople=string&priceExVat=string&vat=string&turbines=string&trees=string&paymentID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="http://cng.nl/">boolean</boolean>