Home
Find the answer to your question
CustomBusinessPoliciesManagement.cs |
|
Program.cs |
using System; using System.Collections.Generic; using System.Text; using BusinessPoliciesManagement_API_Sample.com.ebay.developer;
namespace BusinessPoliciesManagement_API_Sample { class Program { static void Main(string[] args) { try { CustomBusinessPoliciesManagement service = new CustomBusinessPoliciesManagement(); service.Url = @"http://svcs.sandbox.ebay.com/services/selling/v1/SellerProfilesManagementService";
RemoveProfileRequest request = new RemoveProfileRequest(); request.profileId = 5153121000;
RemoveProfileResponse response = new RemoveProfileResponse(); response = service.removeProfile(request);
if (response.ack == AckValue.Success) { Console.WriteLine("Profile ID " + request.profileId + " is successfully deleted."); } } catch (Exception ex) { throw ex; } Console.ReadLine(); } } }
|