Ascio Web Service v3

Class GetContactsRequest

PropertyDescription
HandleExample: "JD123"
FirstNameExample: "John"
LastNameExample: "Doe"
OrgNameExample: "Ascio"
OrganisationNumber
Address1
Address2
City
State
PostalCodeExample: "888349"
CountryCodeExample: "DK"
PhoneExample: "+45.123456789"
FaxExample: "+45.987654321"
EmailExample: "administrator@ascio-test-domain.com"
Status
CreationFromDate
CreationToDate
OrderSort
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);

$getContactsRequest =  new ascio\GetContactsRequest();
$getContactsRequest->setHandle("JD123");
$getContactsRequest->setFirstName("John");
$getContactsRequest->setLastName("Doe");
$getContactsRequest->setOrgName("Ascio");
$getContactsRequest->setOrganisationNumber("OrganisationNumberTest");
$getContactsRequest->setAddress1("Address1Test");
$getContactsRequest->setAddress2("Address2Test");
$getContactsRequest->setCity("CityTest");
$getContactsRequest->setState("StateTest");
$getContactsRequest->setPostalCode("888349");
$getContactsRequest->setCountryCode("DK");
$getContactsRequest->setPhone("+45.123456789");
$getContactsRequest->setFax("+45.987654321");
$getContactsRequest->setEmail("administrator@ascio-test-domain.com");
$getContactsRequest->setStatus("StatusTest");
$getContactsRequest->setCreationFromDate(new \DateTime());
$getContactsRequest->setCreationToDate(new \DateTime());
$getContactsRequest->setOrderSort(ascio\ContactSortType::CreatedAsc);
$getContactsRequest->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.