SOAP CreateDocumentation

With this method you can upload documents that are needed for orders. The function returns a documentationId, that you can use als Batch in orders: Order definition. Allowed file types to attach are: txt, doc, rtf, zip, csv, xls, pdf, gif, jpg, png, ddoc, smd, xml.

Response CreateDocumentation(string sessionId,NameServer nameServer)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments

CreateDocumentation request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
attachments

CreateDocumentationResponse

PropertyDescription
CreateDocumentationResult
documentationIdExample: 1

SOAP example

<soapenv:Envelope xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:v3="http://www.ascio.com/2013/02" xmlns:v2="http://www.ascio.com/2007/01" xmlns:service="http://www.ascio.com/2013/02/AscioService" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <v2:CreateDocumentation>
            <v2:sessionId>${#Project#sessionId}</v2:sessionId>
            <v2:attachments>
                <v2:Attachment>
                    <v2:Data>DataTest</v2:Data>
                    <v2:FileName>anything.jpg</v2:FileName>
                </v2:Attachment>
            </v2:attachments>
        </v2:CreateDocumentation>
    </soapenv:Body>
</soapenv:Envelope>
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)