Ascio Web Service v2

NodeJS ValidateOrder

Submitting an order. The Order ID is returned in the order object passed by reference.

Response ValidateOrder(string sessionId,Order order)

Response codes

ResultCodeMessageValue
200OK
400Order not validatedMessages
401Authorization failed
405Access denied
554Transaction failed

ValidateOrder Request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
order

ValidateOrderResponse

Property
ValidateOrderResult

NodeJS example

Caught error err:XPTY0004: It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching. Type error in expression: required node name is properties; got: property. Data: .
             
             <inputs>
            <api>v2</api>
            <type name="ValidateOrder"/>
        </inputs>
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.