Click or drag to resize

IAccount Interface

Contains the Account operations exposed by the API service.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
public interface IAccount

The IAccount type exposes the following members.

Methods
 NameDescription
Public methodAddNewAccount Adds a new account. "Account" in Visma Severa consists internally of Account and Company entities. When inserting a new account, both of these need to be handled.
Public methodGetAccountByGUID Get an account, which matches the given GUID.
Public methodGetAccountByName Get an account, which matches the given name.
Public methodGetAccountByNumber Get an account, which matches the given number.
Public methodGetAccountByVatNumber Get account by VAT number.
Public methodGetAccountsByCompanyGUID Gets account, which is related the the given company by company GUID.
Public methodGetAccountsByInsertDate Gets accounts that were inserted on the given time period.
Public methodGetAccountsChangedSince Gets accounts, which have been changed on the given time period.
Public methodGetAccountsChangedSinceOpts Gets accounts, which have been changed on the given time period.
Public methodGetAllAccounts Get accounts in tiny format. There can be thousands of accounts, depending on organization. This method is meant to be used in places where accounts need to be listed, and second API call is done to get detailed data.
Public methodGetHeadOfficeAddressByAccountGUID Gets the head office address of an account.
Public methodUpdateAccount Updates an existing account.
Top
See Also