Versions Compared

Key

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

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

Code Block
languagec#
themeRDark
titleC# - Get all account types from a BFS instanceExample Code
linenumberstrue
collapsetrue
 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")
        }
    }
 
});

...