NAME

Microsoft::AdCenter::V7::CustomerManagementService - Service client for Microsoft AdCenter Customer Management Service.

SYNOPSIS

use Microsoft::AdCenter::V7::CustomerManagementService;

my $service_client = Microsoft::AdCenter::V7::CustomerManagementService->new
    ->ApplicationToken("application token")
    ->DeveloperToken("developer token")
    ->Password("password")
    ->UserName("user name");

my $response = $service_client->AddAccount(
    Account => ...
);

See http://msdn.microsoft.com/en-us/library/ee730328%28v=MSADS.70%29.aspx for detailed documentation for this service.

METHODS

EndPoint

Changes the end point for this service client.

Default value: https://sharedservices.adcenterapi.microsoft.com/Api/CustomerManagement/v7/CustomerManagementService.svc

ApplicationToken

Gets/sets ApplicationToken (string) in the request header

DeveloperToken

Gets/sets DeveloperToken (string) in the request header

Password

Gets/sets Password (string) in the request header

UserName

Gets/sets UserName (string) in the request header

TrackingId

Gets TrackingId (string) in the response header

AddAccount

Parameters:
Account (Account)
Returns:
AddAccountResponse

AddUser

Parameters:
User (User)
Role (UserRole)
AccountIds (ArrayOflong)
Returns:
AddUserResponse

DeleteAccount

Parameters:
AccountId (long)
TimeStamp (base64Binary)
Returns:
DeleteAccountResponse

DeleteCustomer

Parameters:
CustomerId (long)
TimeStamp (base64Binary)
Returns:
DeleteCustomerResponse

DeleteUser

Parameters:
UserId (long)
TimeStamp (base64Binary)
Returns:
DeleteUserResponse

GetAccount

Parameters:
AccountId (long)
Returns:
GetAccountResponse

GetAccountsInfo

Parameters:
CustomerId (long)
Returns:
GetAccountsInfoResponse

GetCustomer

Parameters:
CustomerId (long)
Returns:
GetCustomerResponse

GetCustomerPilotFeature

Parameters:
CustomerId (long)
Returns:
GetCustomerPilotFeatureResponse

GetCustomersInfo

Parameters:
CustomerNameFilter (string)
TopN (int)
ApplicationScope (ApplicationType)
Returns:
GetCustomersInfoResponse

GetUser

Parameters:
UserId (long)
Returns:
GetUserResponse

GetUsersInfo

Parameters:
CustomerId (long)
StatusFilter (UserStatus)
Returns:
GetUsersInfoResponse

SignupCustomer

Parameters:
Customer (Customer)
User (User)
Account (Account)
ParentCustomerId (long)
ApplicationScope (ApplicationType)
Returns:
SignupCustomerResponse

UpdateAccount

Parameters:
Account (Account)
Returns:
UpdateAccountResponse

UpdateCustomer

Parameters:
Customer (Customer)
Returns:
UpdateCustomerResponse

UpdateUser

Parameters:
User (User)
Returns:
UpdateUserResponse

UpdateUserRoles

Parameters:
CustomerId (long)
UserId (long)
NewRoleId (int)
NewAccountIds (ArrayOflong)
NewCustomerIds (ArrayOflong)
DeleteRoleId (int)
DeleteAccountIds (ArrayOflong)
DeleteCustomerIds (ArrayOflong)
Returns:
UpdateUserRolesResponse