Ascio Web Service v3

NodeJS CreateContact

Creating a contact. The contactHandle is returned in the contact object passed by reference.

CreateContactResponse CreateContact(SecurityHeaderDetails securityHeader,CreateContactRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

CreateContact Request

Property
request

CreateContactResponse

PropertyTypeDescription
CreateContactResult
Contact
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

NodeJS example

Caught error java:org.exist.xquery.XPathException: exerr:ERROR Type error in expression: required node name is {''}:properties; got: property [at line 27, column 61, source: /db/apps/aws/code-generator/lang/nodejs.xqm]
In function:
	nodejs:get-array(element(properties)) [27:43:/db/apps/aws/code-generator/lang/nodejs.xqm]
	nodejs:serialize-objects(element(properties)*, element(inputs)) [515:34:/db/apps/aws/code-generator/lang/nodejs.xqm]
	code:generate-lang(item()*) [522:19:/db/apps/aws/code-generator/code-generator.xqm]
	code:generate-code(element(inputs)) [214:24:/db/apps/aws/code-generator/code-generator.xqm]. Type error in expression: required node name is {''}:properties; got: property. Data: .
             
             <inputs>
            <api>v3</api>
            <type name="CreateContact"/>
        </inputs>
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.