Ascio Web Service v3

Class GetSalesLinesRequest

PropertyDescription
ObjectName
ObjectHandle
ObjectType
ProductName
FromDate
ToDate
SalesLineStates
InvoiceState
InvoiceNoExample: 1
CreditNoExample: 1
OrderBy
PageInfo
<?php
namespace ascio\v3\examples;
require("../service/autoload.php");
require("../../lib/AscioConfig.php");
use ascio\v3 as ascio;


$pageInfo =  new ascio\PagingInfo();
$pageInfo->setPageIndex(1);
$pageInfo->setPageSize(1);

$getSalesLinesRequest =  new ascio\GetSalesLinesRequest();
$getSalesLinesRequest->setObjectName("ObjectNameTest");
$getSalesLinesRequest->setObjectHandle("ObjectHandleTest");
$getSalesLinesRequest->setObjectType(ascio\ObjectType::DomainType);
$getSalesLinesRequest->setProductName("ProductNameTest");
$getSalesLinesRequest->setFromDate(new \DateTime());
$getSalesLinesRequest->setToDate(new \DateTime());
$getSalesLinesRequest->setSalesLineStates([
"Open", 
"Completed", 
"Failed"
]);
$getSalesLinesRequest->setInvoiceState(ascio\InvoiceState::NotInvoiced);
$getSalesLinesRequest->setInvoiceNo(1);
$getSalesLinesRequest->setCreditNo(1);
$getSalesLinesRequest->setOrderBy(ascio\SalesLineSortType::CreatedAsc);
$getSalesLinesRequest->setPageInfo($pageInfo);
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.