Exemplo n.º 1
0
        //Reseller
        public PanelResult ResellerCreate(Reseller reseller)
        {
            _args.Clear();

            _args.Add("username", reseller.Username);
            _args.Add("password", reseller.Password);
            _args.Add("planAlias", reseller.PlanAlias);
            _args.Add("firstName", reseller.FirstName);
            _args.Add("lastname", reseller.LastName);
            _args.Add("email", reseller.Email);
            _args.Add("country", reseller.Country);
            _args.Add("organization", reseller.Organization);
            _args.Add("address1", reseller.Address1);
            _args.Add("address2", reseller.Address2);
            _args.Add("city", reseller.City);
            _args.Add("province", reseller.Province);
            _args.Add("postalcode", reseller.PostalCode);
            _args.Add("phone", reseller.Phone);
            _args.Add("fax", reseller.Fax);

            ApiResult <ResellerOperationResult> result = ExecuteAction <ResellerOperationResult>(MaestroAction.ResellerCreate, Method.POST, _args);

            return(GetPanelResult(result));
        }
Exemplo n.º 2
0
 public PanelResult ResellerCreate(Reseller reseller)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 public PanelResult ResellerCreate(Reseller reseller)
 {
     throw new NotImplementedException();
 }