Ascio Web Service v3

SOAP GetSalesLines

Get the pricelist.

GetSalesLinesResponse GetSalesLines(SecurityHeaderDetails securityHeader,GetSalesLinesRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found
405Access denied
406Invalid ObjectClassName
501Syntax error in parameters or arguments

GetSalesLines Request

Property
request

GetSalesLinesResponse

PropertyDescription
GetSalesLinesResult
TotalCountExample: 1
SalesLines
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

SOAP example

<soapenv:Envelope xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:service="http://www.ascio.com/2013/02/AscioService" xmlns:v3="http://www.ascio.com/2013/02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
        <v3:SecurityHeaderDetails>
            <v3:Account>${#Project#Account}</v3:Account>
            <v3:Password>${#Project#Password}</v3:Password>
        </v3:SecurityHeaderDetails>
        <v3:ImpersonationHeaderDetails>
            <v3:TransactionAccount>${#Project#TransactionAccount}</v3:TransactionAccount>
        </v3:ImpersonationHeaderDetails>
    </soapenv:Header>
    <soapenv:Body>
        <service:GetSalesLines>
            <service:request>
                <v3:ObjectName>ObjectNameTest</v3:ObjectName>
                <v3:ObjectHandle>ObjectHandleTest</v3:ObjectHandle>
                <v3:ObjectType>DomainType</v3:ObjectType>
                <v3:ProductName>ProductNameTest</v3:ProductName>
                <v3:FromDate>FromDateTest</v3:FromDate>
                <v3:ToDate>ToDateTest</v3:ToDate>
                <v3:SalesLineStates>
                    <v3:SalesLineState>Open</v3:SalesLineState>
                    <v3:SalesLineState>Completed</v3:SalesLineState>
                    <v3:SalesLineState>Failed</v3:SalesLineState>
                </v3:SalesLineStates>
                <v3:InvoiceState>NotInvoiced</v3:InvoiceState>
                <v3:InvoiceNo>1</v3:InvoiceNo>
                <v3:CreditNo>1</v3:CreditNo>
                <v3:OrderBy>CreatedAsc</v3:OrderBy>
                <v3:PageInfo>
                    <v3:PageIndex>1</v3:PageIndex>
                    <v3:PageSize>1</v3:PageSize>
                </v3:PageInfo>
            </service:request>
        </service:GetSalesLines>
    </soapenv:Body>
</soapenv:Envelope>
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.