Ascio Web Service v3

Class GetSalesLinesResponse

PropertyDescription
GetSalesLinesResult
TotalCountExample: 1
SalesLines
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";

Product product =  new Product();
product.ProductName = "ProductNameTest";
product.ObjectType = ObjectType.DomainType;
product.ObjectTypeSpecified = true;
product.OrderType = OrderType.Register;
product.OrderTypeSpecified = true;
product.Tld = "TldTest";
product.TldCountry = "TldCountryTest";
product.Period = 1;
product.Note = "NoteTest";

SalesLine salesLine =  new SalesLine();
salesLine.OrderId = "TEST123456";
salesLine.OrderIdSpecified = true;
salesLine.Product = product;
salesLine.ObjectHandle = "ObjectHandleTest";
salesLine.ObjectHandleSpecified = true;
salesLine.ObjectName = "ObjectNameTest";
salesLine.ObjectNameSpecified = true;
salesLine.Price = 1.1;
salesLine.PriceSpecified = true;
salesLine.PriceCategory = "PriceCategoryTest";
salesLine.PriceCategorySpecified = true;
salesLine.CurrencyCode = "CurrencyCodeTest";
salesLine.CurrencyCodeSpecified = true;
salesLine.Created = new \DateTime();
salesLine.CreatedSpecified = true;
salesLine.State = SalesLineState.Open;
salesLine.InvoiceNo = 1;
salesLine.InvoiceNoSpecified = true;
salesLine.CreditNo = 1;
salesLine.CreditNoSpecified = true;
salesLine.DomainComment = "DomainCommentTest";
salesLine.DomainCommentSpecified = true;

ArrayOfSalesLines salesLines =  new ArrayOfSalesLines(array($salesLine));

GetSalesLinesResponse getSalesLinesResponse =  new GetSalesLinesResponse();
getSalesLinesResponse.ResultCode = 1;
getSalesLinesResponse.ResultCodeSpecified = true;
getSalesLinesResponse.ResultMessage = "ResultMessageTest";
getSalesLinesResponse.ResultMessageSpecified = true;
getSalesLinesResponse.Errors = array(
	);
getSalesLinesResponse.TotalCount = 1;
getSalesLinesResponse.TotalCountSpecified = true;
getSalesLinesResponse.SalesLines = salesLines;
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.