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 »

Inputs (Array[]) inherits from EntityBase

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuidNot used 2.10
AccountTypeGuid The BrickId (unique id) of the account type 2.10
AssetGuid The BrickId (unique id) of the asset 2.10

Response rows

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the AssetAccountTypeLimitation2.10
AccountTypeGuidThe BrickId (unique id) of the account type2.10
AssetGuidThe BrickId (unique id) of the asset2.10

Code examples

C# - Get all account types from a BFS instance
 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")
        }
    }
 
});

 

Blog Posts

  • No labels