Interface IBasBSInformaDB
Assembly: IBasBS100.dll
public interface IBasBSInformaDB
Methods
Creates a new Informa DB product and saves it to database.
Declaration
void Create(string taxId, StdBETipos.EnumEntityType entityType, string entityKey)
Parameters
Type |
Name |
Description |
System.String |
taxId |
Entity tax ID
|
StdBETipos.EnumEntityType |
entityType |
The type of entity
|
System.String |
entityKey |
The entity ERP key
|
Creates a new Informa DB product and saves it to database.
Declaration
void Create(string taxId, string entityType, string entityKey)
Parameters
Type |
Name |
Description |
System.String |
taxId |
Entity tax ID
|
System.String |
entityType |
The text representation of the entity type
|
System.String |
entityKey |
The entity ERP key
|
Declaration
void Delete(BasBETipos.EnumInformaDBIdentificationType idType, string idValue)
Parameters
Declaration
BasBEInformaDBAccount Edit(BasBETipos.EnumInformaDBIdentificationType idType, string idValue)
Parameters
Returns
Validates if an entity is being monitored on Informa DB API.
Declaration
bool Exists(BasBETipos.EnumInformaDBIdentificationType idType, string idValue)
Parameters
Returns
Type |
Description |
System.Boolean |
Entity is being monitored or not
|
Declaration
CompanyFileItem FillBaseInformation(BasBEInformaDBAccount informaAccount)
Parameters
Returns
Declaration
void FillInformation(BasBEInformaDBAccount informaAccount, bool save, bool getProducts = false)
Parameters
Type |
Name |
Description |
BasBEInformaDBAccount |
informaAccount |
|
System.Boolean |
save |
|
System.Boolean |
getProducts |
|
Declaration
void FillNotifications(BasBEInformaDBAccount informaAccount, bool save = false)
Parameters
Gets all notifications for an entity.
Declaration
List<BasBEInformaDBNotification> GetAccountNotifications(BasBETipos.EnumInformaDBIdentificationType idType, string idValue)
Parameters
Returns
Retrieves all monitored informaDB accounts
Declaration
List<BasBEInformaDBAccount> GetAllMonitoredAccounts()
Returns
GetStringTableEntry(String, String, Boolean)
Declaration
string GetStringTableEntry(string table, string resourceId, bool refreshFromService = false)
Parameters
Type |
Name |
Description |
System.String |
table |
|
System.String |
resourceId |
|
System.Boolean |
refreshFromService |
|
Returns
Type |
Description |
System.String |
|
Declaration
List<BasBEInformaDBProduct> GetUserProducts(BasBETipos.EnumInformaDBIdentificationType idType, string idValue, bool refreshFromService = false)
Parameters
Returns
InsertStringTableEntry(BasBEInformaDBStringTableEntry)
Declaration
void InsertStringTableEntry(BasBEInformaDBStringTableEntry entry)
Parameters
Declaration
void SaveAccountNotifications(BasBEInformaDBAccount informaAccount)
Parameters
Declaration
void Update(BasBEInformaDBAccount informaAccount)
Parameters