Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inputs (Array[]) inherits fromĀ EntityBase

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]


Keysstring[]


AccountNoSeriesKeystring



int



bool


Response rows

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the account type
KeystringThe account type key of the account type

Code examples

...

Code Block
languagec#
themeRDark
titleC# - Get all account types from a BFS instanceCreate WhiteLabel
linenumberstrue
collapsetrue

...

public static void CreateWhiteLabel()
        {
            var binding = new BasicHttpBinding();
            binding.MaxReceivedMessageSize = Int32.MaxValue;

            var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://apiurl/bfsapi.asmx"));
            var req = new bfsapi.CreateWhiteLabelRequest();
            req.Credentials = new bfsapi.Credentials
            {
                UserName = "user",
                Password = "password"
            };

            req.identify = "identifier";


            req.Entities = new bfsapi.WhiteLabel[]
            {
                new bfsapi.WhiteLabel()
                {
                    Name = "Test1",
                    Key = "testingkey",
                    Comment = "TestComment",
                    RequestReference = "ref",
                    Url = "http://someurl.com"
                },
                
            };

            var resp = target.CreateWhiteLabels(req);


        }