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
Version 1
Current »
Name | Type | Description | Mandatory | Available from version |
---|
BrickId | Guid | This is the unique id of the WhiteLabel that should be updated |
|
|
Name | string | New name of the WhiteLabel |
|
|
Key | string | New Key of the WhiteLabel |
|
|
Url | string | New Url of the WhiteLabel |
|
|
Comment | string | New Comment of the WhiteLabel |
|
|
Outputs
Name | Type | Description | Available from version |
---|
BrickId | Guid | All WhiteLabels in the request is returned along with Errors per WhiteLabel |
|
Code examples
public static void UpdateWhiteLabel()
{
var binding = new BasicHttpBinding();
binding.MaxReceivedMessageSize = Int32.MaxValue;
var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
var req = new bfsapi.UpdateWhiteLabelsRequest()
{
Credentials = new bfsapi.Credentials
{
UserName = "user",
Password = "password"
},
identify = "identifier",
Fields = new bfsapi.UpdateWhiteLabelFields()
{
Name = true,
Url = true
},
Entities = new bfsapi.UpdateWhiteLabel[]
{
new bfsapi.UpdateWhiteLabel
{
BrickId = new Guid("5d263308-ff11-48d7-bd94-41aac88ac8e7"),
Name = "NewName",
Url = "NewUrl"
}
}
};
var resp = target.UpdateWhiteLabel(req);
}