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 | Not used | | 2.10 |
AccountType | Guid | The BrickId (unique id) of the account type | | 2.10 |
Asset | Guid | The BrickId (unique id) of the asset | | 2.10 |
Response rows
Name | Type | Description | Available from version |
---|
BrickId | Guid | The BrickId (unique id) of the AssetAccountTypeLimitation | 2.10 |
AccountType | Guid | The BrickId (unique id) of the account type | 2.10 |
Asset | Guid | The BrickId (unique id) of the asset | 2.10 |
Code examples
var client = new BFSServiceReference.bfsapiSoapClient();
var credentials = new BFSServiceReference.Credentials()
{
UserName = bfsusername, //Username of administrative user in your instance of BFS
Password = bfspassword, //Password of the administrative user in your instance of BFS
};
var response = client.CreateAssetAccountTypeLimitations(new BFSServiceReference.CreateAssetAccountTypeLimitationRequest()
{
Credentials = credentials,
identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
Entities = new[]
{
new AssetAccountTypeLimitation()
{
AccountType = new Guid("66439e17-95c7-4313-8a83-954809785ee0"),
Asset = new Guid("2e3f8205-1a10-4de5-801c-65ed267283a7")
}
}
});