Ascio Web Service v3

NodeJS CreateOrder

Submitting an order. The Order ID is returned in the order object passed by reference. All orders are asynchrnous. That means, after the order is submitted, the partner-system must wait for a message from Ascio. Message are sent via HTTP-GET, PollQueue or Mail. With that no full-sync is necessary, like with other APIs. Most domains-transaction are done with CreateOrder. Following OrderTypes exist:

CreateOrderResponse CreateOrder(SecurityHeaderDetails securityHeader,CreateOrderRequest request)

Response codes

ResultCodeMessageValue
200Order validated
200Order received
400Order not validatedMessages
401Authorization failed
405Access denied

CreateOrder Request

PropertyType
request

CreateOrderResponse

PropertyDescription
CreateOrderResult
OrderInfo
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="CreateOrder"/>
        </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.