Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Name | Type | Description | Mandatory | Available from version |
---|
Name | string |
|
|
|
Key | string |
|
|
|
Url | string |
|
|
|
Comment | string |
|
|
|
Response rows
Name | Type | Description | Available from version |
---|
BrickId | Guid | The BrickId (unique id) of the account type |
|
Key | string | The account type key of the account type |
|
Code examples
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);
}