invantive documentation
Invantive Support ForumsLog In / Sign Up

Opportunities: Exact Online Opportunities

insert update delete per partition webhook REST

  • Catalog: ExactOnlineREST
  • Schema: CRM
  • Primary Keys: ID
  • Label: Opportunities

The data in this table is partitioned per value of the Division column.

Can retrieve data and change data using insert, update and delete.

Changes arrive through the webhook topic Opportunities.

API Source

  • Endpoint: /api/v1/{division}/crm/Opportunities
  • Metadata: /api/v1/{division}/crm/$metadata

Performance Characteristics

Characteristic Value
Average access latency (ms) 5
Full scan rows per minute 7,200
Point query rows per minute 300
Write rows per minute 300

The result can be cached on the client.

Table Columns

The columns of the table Opportunities are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
Account guid Account filters on the platform, writable Lead to which the opportunity applies.
AccountCode varchar2(18) Account Code filters on the platform, writable Code of Account.
AccountName varchar2(50) Account Name filters on the platform, writable Name of account.
Accountant guid Accountant filters on the platform, writable Accountant linked to the opportunity.
AccountantCode varchar2 Accountant Code filters on the platform, writable Code of the Accountant.
AccountantName varchar2(50) Accountant Name filters on the platform, writable Name of the Accountant.
ActionDate datetime Action Date filters on the platform, writable Indicates the date before/on the NextAction is supposed to be done.
AmountDC double Amount Division Currency filters on the platform, writable Amount in the default currency of the company. AmountDC = AmountFC * RateFC.
AmountDCWeighted double Amount Division Currency Weighted writable Opportunity weighted amount in division currency.
AmountFC double Amount Foreign Currency filters on the platform, writable Amount in the currency of the transaction.
AmountFCWeighted double Amount Foreign Currency Weighted writable Opportunity weighted amount in foreign currency.
Campaign guid Campaign filters on the platform, writable Reference to the campaign opportunity is related to.
CampaignDescription varchar2 Campaign Description filters on the platform, writable Description of Campaign.
Channel int16 Channel filters on the platform, writable Reference to the channel opportunity is related to.
ChannelDescription varchar2 Channel Description filters on the platform, writable Description of Channel.
CloseDate datetime Date Closed filters on the platform, writable The date when the opportunity is expected to be closed.
Contact guid Contact filters on the platform, writable
ContactFullName varchar2 Contact Full Name filters on the platform
Created datetime Created filters on the platform, writable Creation date.
CreatedUtc datetime Created (UTC) writable Creation date in UTC.
Creator guid Creator filters on the platform, writable User ID of creator.
CreatorFullName varchar2(240) Creator Full Name filters on the platform, writable Name of the creator.
Currency varchar2(30) Currency filters on the platform, writable Currency code.
CustomField varchar2 Custom Field filters on the platform, writable
Division int32 Division Division code.
DivisionCompanyCoCNumber varchar2(60) Division Chamber of Commerce Number writable Chamber of commerce number of the Exact Online division.
DivisionCompanyIBANNumber varchar2(50) Division IBAN Number writable IBAN number of the Exact Online division.
DivisionCompanyName varchar2(50) Division Company Name writable Company name of the Exact Online division.
DivisionCompanyRSINNumber varchar2(9) Division RSIN Number writable RSIN number of the Exact Online division.
DivisionCompanyVATNumber varchar2(35) Division VAT Number writable VAT number of the Exact Online division.
DivisionCompanyWageTaxNumber varchar2(60) Division Wage Tax Number writable Wage tax number of the Exact Online division.
DivisionLabel varchar2(128) Division Label writable Label of the Exact Online division.
DivisionName varchar2(50) Administration Name writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Subscription Holder Name writable Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionOwnerCompanyNumber varchar2(18) Subscription Holder Number writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName int64 Division Short Name writable Short name of the Exact Online division.
ID guid ID filters on the platform, writable Primary key.
LeadSource guid Lead Source filters on the platform, writable The source of the lead/opportunity.
LeadSourceDescription varchar2 Lead Source Description filters on the platform, writable Description of LeadSource.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modified (UTC) writable Last modified date in UTC.
Modifier guid Modifier filters on the platform, writable User ID of modifier.
ModifierFullName varchar2(240) Modified Full Name filters on the platform, writable Name of modifier.
Name varchar2 Name filters on the platform, writable Name of the opportunity.
NextAction varchar2 Next Action filters on the platform, writable Indicates what follow up action is to be undertaken to move the opportunity towards a deal. Is used in combination with ActionDate.
Notes varchar2 Notes filters on the platform, writable Notes of the opportunity.
Number int32 Number filters on the platform, writable
OpportunityDepartmentCode int16 itgen_eol_opportunitydepartmentcode filters on the platform, writable
OpportunityDepartmentDescription varchar2 itgen_eol_opportunitydepartmentdescription filters on the platform, writable
OpportunityStage guid Opportunity Stage filters on the platform, writable The stage of the opportunity. This is a list defined by the user.
OpportunityStageDescription varchar2 Opportunity Stage Description filters on the platform, writable Description of OpportunityStage.
OpportunityStatus int32 Opportunity Status filters on the platform, writable Status: 1=Open, 2=Closed won, 3=Closed lost.
OpportunityType int16 Opportunity Type filters on the platform, writable Code of Opportunity Type.
OpportunityTypeDescription varchar2(240) Opportunity Type Description filters on the platform, writable Description of Opportunity Type.
Owner guid Owner filters on the platform, writable The resource who owns the opportunity and is responsible to close the opportunity (either won or lost).
OwnerFullName varchar2(240) Owner Full Name filters on the platform, writable Name of Owner.
Probability double Probability filters on the platform, writable The chance that the opportunity will be closed and won. The default for the probability depends on the default from the opportunity stage.
Project guid Project filters on the platform, writable Reference to project.
ProjectCode varchar2(20) Project Code filters on the platform, writable Code of Project.
ProjectDescription varchar2(60) Project Description filters on the platform, writable Description of Project.
RateFC double Rate Foreign Currency filters on the platform, writable Exchange rate from original to division currency.
ReasonCode guid Reason Code filters on the platform, writable Indicates the reason why the opportunity was lost.
ReasonCodeDescription varchar2 Reason Code Description filters on the platform, writable Description of ReasonCode.
Reseller guid Reseller filters on the platform, writable Reseller linked to the opportunity.
ResellerCode varchar2(18) Reseller Code filters on the platform, writable Code of the Reseller.
ResellerName varchar2(50) Reseller Name filters on the platform, writable Name of the Reseller.
SalesType guid Sales Type filters on the platform, writable Reference to Sales type.
SalesTypeDescription varchar2(240) Sales Type Description filters on the platform, writable Description of SalesType.

Keys

Key Column Refers to Kind Description
Opportunities_Account_Accounts_fk Account Accounts.ID Key
Opportunities_Accountant_Accounts_fk Accountant Accounts.ID Key
Opportunities_Creator_Users_fk Creator Users.UserID Key
Opportunities_Currency_Currencies_fk Currency Currencies.Code Key
Opportunities_LeadSource_LeadSources_fk LeadSource LeadSources.ID Key
Opportunities_Modifier_Users_fk Modifier Users.UserID Key
Opportunities_OpportunityStage_OpportunityStages_fk OpportunityStage OpportunityStages.ID Key
Opportunities_Owner_Users_fk Owner Users.UserID Key
Opportunities_Project_Projects_fk Project Projects.ID Key
Opportunities_ReasonCode_ReasonCodes_fk ReasonCode ReasonCodes.ID Key
Opportunities_Reseller_Accounts_fk Reseller Accounts.ID Key
Opportunities_SalesType_SalesTypes_fk SalesType SalesTypes.ID Key

Referenced By

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: