Saturday, January 28, 2012
Axosoft OnTime Retrieve all customer contacts in the system using PowerShell and OnTime SDK
clear
$securityToken="your guid here"
$customerUrl="http://your url here/ontimesdk/customerservice.asmx"
$onTimeCustomer = New-WebServiceProxy $customerUrl -Namespace customers
$customerHandler = New-Object customers.CustomerHandler
$dataset = $customerHandler.GetAllCustomerContacts($securityToken)
foreach ($row in $dataset.Tables[0].Rows)
{
foreach ($field in $row)
{
$field
}
}
Labels:
AxoSoft,
OnTime,
PowerShell,
Programming
Location:
LaSalle, QC H8R 3C2, Canada
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment