LicenceService
Click here for a complete list of operations.
CreateDemoLicence
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /LicenceService.asmx HTTP/1.1 Host: licenceservice.infusionnz.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CreateDemoLicence" <?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> <CreateDemoLicence xmlns="http://tempuri.org/"> <companyName>string</companyName> <addressLine1>string</addressLine1> <addressLine2>string</addressLine2> <addressSuburb>string</addressSuburb> <addressCity>string</addressCity> <addressCountry>string</addressCountry> <companyPhone>string</companyPhone> <companyMobile>string</companyMobile> <companyFax>string</companyFax> <companyEmail>string</companyEmail> <companyWebsite>string</companyWebsite> <contactName>string</contactName> <contactPosition>string</contactPosition> <contactEmail>string</contactEmail> <companyGSTNo>string</companyGSTNo> <softwareVersion>int</softwareVersion> <referenceCode>string</referenceCode> <comment>string</comment> </CreateDemoLicence> </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> <CreateDemoLicenceResponse xmlns="http://tempuri.org/"> <CreateDemoLicenceResult>boolean</CreateDemoLicenceResult> </CreateDemoLicenceResponse> </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 /LicenceService.asmx HTTP/1.1 Host: licenceservice.infusionnz.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> <CreateDemoLicence xmlns="http://tempuri.org/"> <companyName>string</companyName> <addressLine1>string</addressLine1> <addressLine2>string</addressLine2> <addressSuburb>string</addressSuburb> <addressCity>string</addressCity> <addressCountry>string</addressCountry> <companyPhone>string</companyPhone> <companyMobile>string</companyMobile> <companyFax>string</companyFax> <companyEmail>string</companyEmail> <companyWebsite>string</companyWebsite> <contactName>string</contactName> <contactPosition>string</contactPosition> <contactEmail>string</contactEmail> <companyGSTNo>string</companyGSTNo> <softwareVersion>int</softwareVersion> <referenceCode>string</referenceCode> <comment>string</comment> </CreateDemoLicence> </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> <CreateDemoLicenceResponse xmlns="http://tempuri.org/"> <CreateDemoLicenceResult>boolean</CreateDemoLicenceResult> </CreateDemoLicenceResponse> </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 /LicenceService.asmx/CreateDemoLicence?companyName=string&addressLine1=string&addressLine2=string&addressSuburb=string&addressCity=string&addressCountry=string&companyPhone=string&companyMobile=string&companyFax=string&companyEmail=string&companyWebsite=string&contactName=string&contactPosition=string&contactEmail=string&companyGSTNo=string&softwareVersion=string&referenceCode=string&comment=string HTTP/1.1 Host: licenceservice.infusionnz.com
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://tempuri.org/">boolean</boolean>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /LicenceService.asmx/CreateDemoLicence HTTP/1.1 Host: licenceservice.infusionnz.com Content-Type: application/x-www-form-urlencoded Content-Length: length companyName=string&addressLine1=string&addressLine2=string&addressSuburb=string&addressCity=string&addressCountry=string&companyPhone=string&companyMobile=string&companyFax=string&companyEmail=string&companyWebsite=string&contactName=string&contactPosition=string&contactEmail=string&companyGSTNo=string&softwareVersion=string&referenceCode=string&comment=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://tempuri.org/">boolean</boolean>