Ascio Web Service v3

Class GetAccountBalanceResponse

PropertyDescription
GetAccountBalanceResult
Currency
VatExample: 1.1
UnInvoicedOrdersExample: 1.1
UnInvoicedOpenOrdersExample: 1.1
UnInvoicedCompletedOrdersExample: 1.1
UnInvoicedCompletedOrdersLast24hExample: 1.1
AccountBalanceExample: 1.1
CurrentBalanceExample: 1.1
ReminderThresholdExample: 1.1
BlockingThresholdExample: 1.1
ReminderEmailAddress
InvoiceEmailAddress
LastReminderSent
NumberOfRemindersSentExample: 1
LastBlockedAccountMessageSent
NumberOfBlockedAccountMessagesSentExample: 1
StandingAccountBalanceExample: 1.1
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

use SOAP::Lite;
use Date::Format;
$proxy = "https://aws.demo.ascio.com/v3/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite
    ->on_action( sub { "" } )
    ->proxy($proxy)
    ->ns("http://www.ascio.com/2013/02", "v3")
    ->ns("http://www.ascio.com/2013/02/AscioService", "service");
    
# Please enter your ascio-credentials here

my $header = SOAP::Header->new(
            name =>"v3:SecurityHeaderDetails",
            value => {"v3:Account" => "username", "v3:Password" =>"password"} 
        );
$soap->autotype(0);
$method = SOAP::Data->name("service:GetAccountBalanceResponse")->attr({xmlns => $namespace});

#GetAccountBalanceResponse
$getAccountBalanceResponse =  \SOAP::Data->value(
SOAP::Data->name('v3:ResultCode',1),
SOAP::Data->name('v3:ResultMessage','ResultMessageTest'),
SOAP::Data->name('v3:Errors',SOAP::Data->value()),
SOAP::Data->name('v3:Currency','CurrencyTest'),
SOAP::Data->name('v3:Vat',1.1),
SOAP::Data->name('v3:UnInvoicedOrders',1.1),
SOAP::Data->name('v3:UnInvoicedOpenOrders',1.1),
SOAP::Data->name('v3:UnInvoicedCompletedOrders',1.1),
SOAP::Data->name('v3:UnInvoicedCompletedOrdersLast24h',1.1),
SOAP::Data->name('v3:AccountBalance',1.1),
SOAP::Data->name('v3:CurrentBalance',1.1),
SOAP::Data->name('v3:ReminderThreshold',1.1),
SOAP::Data->name('v3:BlockingThreshold',1.1),
SOAP::Data->name('v3:ReminderEmailAddress',SOAP::Data->value()),
SOAP::Data->name('v3:InvoiceEmailAddress',SOAP::Data->value()),
SOAP::Data->name('v3:LastReminderSent',new \DateTime()),
SOAP::Data->name('v3:NumberOfRemindersSent',1),
SOAP::Data->name('v3:LastBlockedAccountMessageSent',new \DateTime()),
SOAP::Data->name('v3:NumberOfBlockedAccountMessagesSent',1),
SOAP::Data->name('v3:StandingAccountBalance',1.1)
);
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.