crm

package
v0.0.0-...-7cd2dfd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountClasses

type AccountClasses struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Code: Classification code
	Code *string `json:"Code,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CreditManagementScenario: Default credit management scenario to be used for new payment terms
	CreditManagementScenario *types.GUID `json:"CreditManagementScenario,omitempty"`

	// Description: Description
	Description *string `json:"Description,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`
}

AccountClasses: Service: CRM Entity: AccountClasses URL: /api/v1/{division}/crm/AccountClasses HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAccountClasses

func (*AccountClasses) GetPrimary

func (e *AccountClasses) GetPrimary() *types.GUID

type AccountClassesEndpoint

type AccountClassesEndpoint service

AccountClassesEndpoint is responsible for communicating with the AccountClasses endpoint of the CRM service.

func (*AccountClassesEndpoint) Get

func (s *AccountClassesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*AccountClasses, error)

Get the AccountClasses entitiy in the provided division.

func (*AccountClassesEndpoint) List

func (s *AccountClassesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*AccountClasses, error)

List the AccountClasses entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*AccountClassesEndpoint) UserHasRights

func (s *AccountClassesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type AccountClassificationNames

type AccountClassificationNames struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Description: Description
	Description *string `json:"Description,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// SequenceNumber: Sequence number
	SequenceNumber *int `json:"SequenceNumber,omitempty"`
}

AccountClassificationNames: Service: CRM Entity: AccountClassificationNames URL: /api/v1/{division}/crm/AccountClassificationNames HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAccountClassificationNames

func (*AccountClassificationNames) GetPrimary

func (e *AccountClassificationNames) GetPrimary() *types.GUID

type AccountClassificationNamesEndpoint

type AccountClassificationNamesEndpoint service

AccountClassificationNamesEndpoint is responsible for communicating with the AccountClassificationNames endpoint of the CRM service.

func (*AccountClassificationNamesEndpoint) Get

Get the AccountClassificationNames entitiy in the provided division.

func (*AccountClassificationNamesEndpoint) List

List the AccountClassificationNames entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*AccountClassificationNamesEndpoint) UserHasRights

func (s *AccountClassificationNamesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type AccountClassifications

type AccountClassifications struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// AccountClassificationName: Reference to Account classification name
	AccountClassificationName *types.GUID `json:"AccountClassificationName,omitempty"`

	// AccountClassificationNameDescription: Description of AccountClassificationName
	AccountClassificationNameDescription *string `json:"AccountClassificationNameDescription,omitempty"`

	// Code: Account classification code
	Code *string `json:"Code,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Description: Description
	Description *string `json:"Description,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`
}

AccountClassifications: Service: CRM Entity: AccountClassifications URL: /api/v1/{division}/crm/AccountClassifications HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAccountClassifications

func (*AccountClassifications) GetPrimary

func (e *AccountClassifications) GetPrimary() *types.GUID

type AccountClassificationsEndpoint

type AccountClassificationsEndpoint service

AccountClassificationsEndpoint is responsible for communicating with the AccountClassifications endpoint of the CRM service.

func (*AccountClassificationsEndpoint) Get

Get the AccountClassifications entitiy in the provided division.

func (*AccountClassificationsEndpoint) List

List the AccountClassifications entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*AccountClassificationsEndpoint) UserHasRights

func (s *AccountClassificationsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type Accounts

type Accounts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Accountant:
	Accountant *types.GUID `json:"Accountant,omitempty"`

	// AccountManager:
	AccountManager *types.GUID `json:"AccountManager,omitempty"`

	// AccountManagerFullName:
	AccountManagerFullName *string `json:"AccountManagerFullName,omitempty"`

	// AccountManagerHID:
	AccountManagerHID *int `json:"AccountManagerHID,omitempty"`

	// ActivitySector:
	ActivitySector *types.GUID `json:"ActivitySector,omitempty"`

	// ActivitySubSector:
	ActivitySubSector *types.GUID `json:"ActivitySubSector,omitempty"`

	// AddressLine1:
	AddressLine1 *string `json:"AddressLine1,omitempty"`

	// AddressLine2:
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressLine3:
	AddressLine3 *string `json:"AddressLine3,omitempty"`

	// BankAccounts:
	BankAccounts *json.RawMessage `json:"BankAccounts,omitempty"`

	// Blocked:
	Blocked *bool `json:"Blocked,omitempty"`

	// BRIN:
	BRIN *types.GUID `json:"BRIN,omitempty"`

	// BSN:
	BSN *string `json:"BSN,omitempty"`

	// BusinessType:
	BusinessType *types.GUID `json:"BusinessType,omitempty"`

	// CanDropShip:
	CanDropShip *bool `json:"CanDropShip,omitempty"`

	// ChamberOfCommerce:
	ChamberOfCommerce *string `json:"ChamberOfCommerce,omitempty"`

	// City:
	City *string `json:"City,omitempty"`

	// Classification:
	Classification *string `json:"Classification,omitempty"`

	// Classification1:
	Classification1 *types.GUID `json:"Classification1,omitempty"`

	// Classification2:
	Classification2 *types.GUID `json:"Classification2,omitempty"`

	// Classification3:
	Classification3 *types.GUID `json:"Classification3,omitempty"`

	// Classification4:
	Classification4 *types.GUID `json:"Classification4,omitempty"`

	// Classification5:
	Classification5 *types.GUID `json:"Classification5,omitempty"`

	// Classification6:
	Classification6 *types.GUID `json:"Classification6,omitempty"`

	// Classification7:
	Classification7 *types.GUID `json:"Classification7,omitempty"`

	// Classification8:
	Classification8 *types.GUID `json:"Classification8,omitempty"`

	// ClassificationDescription:
	ClassificationDescription *string `json:"ClassificationDescription,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// CodeAtSupplier:
	CodeAtSupplier *string `json:"CodeAtSupplier,omitempty"`

	// CompanySize:
	CompanySize *types.GUID `json:"CompanySize,omitempty"`

	// ConsolidationScenario:
	ConsolidationScenario *byte `json:"ConsolidationScenario,omitempty"`

	// ControlledDate:
	ControlledDate *types.Date `json:"ControlledDate,omitempty"`

	// Costcenter:
	Costcenter *string `json:"Costcenter,omitempty"`

	// CostcenterDescription:
	CostcenterDescription *string `json:"CostcenterDescription,omitempty"`

	// CostPaid:
	CostPaid *byte `json:"CostPaid,omitempty"`

	// Country:
	Country *string `json:"Country,omitempty"`

	// CountryName:
	CountryName *string `json:"CountryName,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CreditLinePurchase:
	CreditLinePurchase *float64 `json:"CreditLinePurchase,omitempty"`

	// CreditLineSales:
	CreditLineSales *float64 `json:"CreditLineSales,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomerSince:
	CustomerSince *types.Date `json:"CustomerSince,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// DatevCreditorCode:
	DatevCreditorCode *string `json:"DatevCreditorCode,omitempty"`

	// DatevDebtorCode:
	DatevDebtorCode *string `json:"DatevDebtorCode,omitempty"`

	// DeliveryAdvice:
	DeliveryAdvice *byte `json:"DeliveryAdvice,omitempty"`

	// DiscountPurchase:
	DiscountPurchase *float64 `json:"DiscountPurchase,omitempty"`

	// DiscountSales:
	DiscountSales *float64 `json:"DiscountSales,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DunsNumber:
	DunsNumber *string `json:"DunsNumber,omitempty"`

	// Email:
	Email *string `json:"Email,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// EORINumber:
	EORINumber *string `json:"EORINumber,omitempty"`

	// EstablishedDate:
	EstablishedDate *types.Date `json:"EstablishedDate,omitempty"`

	// Fax:
	Fax *string `json:"Fax,omitempty"`

	// GLAccountPurchase:
	GLAccountPurchase *types.GUID `json:"GLAccountPurchase,omitempty"`

	// GLAccountSales:
	GLAccountSales *types.GUID `json:"GLAccountSales,omitempty"`

	// GLAP:
	GLAP *types.GUID `json:"GLAP,omitempty"`

	// GLAR:
	GLAR *types.GUID `json:"GLAR,omitempty"`

	// GlnNumber:
	GlnNumber *string `json:"GlnNumber,omitempty"`

	// HasWithholdingTaxSales:
	HasWithholdingTaxSales *bool `json:"HasWithholdingTaxSales,omitempty"`

	// IgnoreDatevWarningMessage:
	IgnoreDatevWarningMessage *bool `json:"IgnoreDatevWarningMessage,omitempty"`

	// IncotermAddressPurchase:
	IncotermAddressPurchase *string `json:"IncotermAddressPurchase,omitempty"`

	// IncotermAddressSales:
	IncotermAddressSales *string `json:"IncotermAddressSales,omitempty"`

	// IncotermCodePurchase:
	IncotermCodePurchase *string `json:"IncotermCodePurchase,omitempty"`

	// IncotermCodeSales:
	IncotermCodeSales *string `json:"IncotermCodeSales,omitempty"`

	// IncotermVersionPurchase:
	IncotermVersionPurchase *int `json:"IncotermVersionPurchase,omitempty"`

	// IncotermVersionSales:
	IncotermVersionSales *int `json:"IncotermVersionSales,omitempty"`

	// IntraStatArea:
	IntraStatArea *string `json:"IntraStatArea,omitempty"`

	// IntraStatDeliveryTerm:
	IntraStatDeliveryTerm *string `json:"IntraStatDeliveryTerm,omitempty"`

	// IntraStatSystem:
	IntraStatSystem *string `json:"IntraStatSystem,omitempty"`

	// IntraStatTransactionA:
	IntraStatTransactionA *string `json:"IntraStatTransactionA,omitempty"`

	// IntraStatTransactionB:
	IntraStatTransactionB *string `json:"IntraStatTransactionB,omitempty"`

	// IntraStatTransportMethod:
	IntraStatTransportMethod *string `json:"IntraStatTransportMethod,omitempty"`

	// InvoiceAccount:
	InvoiceAccount *types.GUID `json:"InvoiceAccount,omitempty"`

	// InvoiceAccountCode:
	InvoiceAccountCode *string `json:"InvoiceAccountCode,omitempty"`

	// InvoiceAccountName:
	InvoiceAccountName *string `json:"InvoiceAccountName,omitempty"`

	// InvoiceAttachmentType:
	InvoiceAttachmentType *int `json:"InvoiceAttachmentType,omitempty"`

	// InvoicingMethod:
	InvoicingMethod *int `json:"InvoicingMethod,omitempty"`

	// IsAccountant:
	IsAccountant *byte `json:"IsAccountant,omitempty"`

	// IsAgency:
	IsAgency *byte `json:"IsAgency,omitempty"`

	// IsAnonymised:
	IsAnonymised *byte `json:"IsAnonymised,omitempty"`

	// IsBank:
	IsBank *bool `json:"IsBank,omitempty"`

	// IsCompetitor:
	IsCompetitor *byte `json:"IsCompetitor,omitempty"`

	// IsExtraDuty:
	IsExtraDuty *bool `json:"IsExtraDuty,omitempty"`

	// IsMailing:
	IsMailing *byte `json:"IsMailing,omitempty"`

	// IsMember:
	IsMember *bool `json:"IsMember,omitempty"`

	// IsPilot:
	IsPilot *bool `json:"IsPilot,omitempty"`

	// IsPurchase:
	IsPurchase *bool `json:"IsPurchase,omitempty"`

	// IsReseller:
	IsReseller *bool `json:"IsReseller,omitempty"`

	// IsSales:
	IsSales *bool `json:"IsSales,omitempty"`

	// IsSupplier:
	IsSupplier *bool `json:"IsSupplier,omitempty"`

	// Language:
	Language *string `json:"Language,omitempty"`

	// LanguageDescription:
	LanguageDescription *string `json:"LanguageDescription,omitempty"`

	// Latitude:
	Latitude *float64 `json:"Latitude,omitempty"`

	// LeadPurpose:
	LeadPurpose *types.GUID `json:"LeadPurpose,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	Logo *[]byte `json:"Logo,omitempty"`

	// LogoFileName:
	LogoFileName *string `json:"LogoFileName,omitempty"`

	// LogoThumbnailUrl:
	LogoThumbnailUrl *string `json:"LogoThumbnailUrl,omitempty"`

	// LogoUrl:
	LogoUrl *string `json:"LogoUrl,omitempty"`

	// Longitude:
	Longitude *float64 `json:"Longitude,omitempty"`

	// MainContact:
	MainContact *types.GUID `json:"MainContact,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Name:
	Name *string `json:"Name,omitempty"`

	// OINNumber:
	OINNumber *string `json:"OINNumber,omitempty"`

	// Parent:
	Parent *types.GUID `json:"Parent,omitempty"`

	// PayAsYouEarn:
	PayAsYouEarn *string `json:"PayAsYouEarn,omitempty"`

	// PaymentConditionPurchase:
	PaymentConditionPurchase *string `json:"PaymentConditionPurchase,omitempty"`

	// PaymentConditionPurchaseDescription:
	PaymentConditionPurchaseDescription *string `json:"PaymentConditionPurchaseDescription,omitempty"`

	// PaymentConditionSales:
	PaymentConditionSales *string `json:"PaymentConditionSales,omitempty"`

	// PaymentConditionSalesDescription:
	PaymentConditionSalesDescription *string `json:"PaymentConditionSalesDescription,omitempty"`

	// Phone:
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension:
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Postcode:
	Postcode *string `json:"Postcode,omitempty"`

	// PriceList:
	PriceList *types.GUID `json:"PriceList,omitempty"`

	// PurchaseCurrency:
	PurchaseCurrency *string `json:"PurchaseCurrency,omitempty"`

	// PurchaseCurrencyDescription:
	PurchaseCurrencyDescription *string `json:"PurchaseCurrencyDescription,omitempty"`

	// PurchaseLeadDays:
	PurchaseLeadDays *int `json:"PurchaseLeadDays,omitempty"`

	// PurchaseVATCode:
	PurchaseVATCode *string `json:"PurchaseVATCode,omitempty"`

	// PurchaseVATCodeDescription:
	PurchaseVATCodeDescription *string `json:"PurchaseVATCodeDescription,omitempty"`

	// RecepientOfCommissions:
	RecepientOfCommissions *bool `json:"RecepientOfCommissions,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// Reseller:
	Reseller *types.GUID `json:"Reseller,omitempty"`

	// ResellerCode:
	ResellerCode *string `json:"ResellerCode,omitempty"`

	// ResellerName:
	ResellerName *string `json:"ResellerName,omitempty"`

	// RSIN:
	RSIN *string `json:"RSIN,omitempty"`

	// SalesCurrency:
	SalesCurrency *string `json:"SalesCurrency,omitempty"`

	// SalesCurrencyDescription:
	SalesCurrencyDescription *string `json:"SalesCurrencyDescription,omitempty"`

	// SalesTaxSchedule:
	SalesTaxSchedule *types.GUID `json:"SalesTaxSchedule,omitempty"`

	// SalesTaxScheduleCode:
	SalesTaxScheduleCode *string `json:"SalesTaxScheduleCode,omitempty"`

	// SalesTaxScheduleDescription:
	SalesTaxScheduleDescription *string `json:"SalesTaxScheduleDescription,omitempty"`

	// SalesVATCode:
	SalesVATCode *string `json:"SalesVATCode,omitempty"`

	// SalesVATCodeDescription:
	SalesVATCodeDescription *string `json:"SalesVATCodeDescription,omitempty"`

	// SearchCode:
	SearchCode *string `json:"SearchCode,omitempty"`

	// SecurityLevel:
	SecurityLevel *int `json:"SecurityLevel,omitempty"`

	// SeparateInvPerProject:
	SeparateInvPerProject *byte `json:"SeparateInvPerProject,omitempty"`

	// SeparateInvPerSubscription:
	SeparateInvPerSubscription *byte `json:"SeparateInvPerSubscription,omitempty"`

	// ShippingLeadDays:
	ShippingLeadDays *int `json:"ShippingLeadDays,omitempty"`

	// ShippingMethod:
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShowRemarkForSales:
	ShowRemarkForSales *bool `json:"ShowRemarkForSales,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// State:
	State *string `json:"State,omitempty"`

	// StateName:
	StateName *string `json:"StateName,omitempty"`

	// Status:
	Status *string `json:"Status,omitempty"`

	// StatusSince:
	StatusSince *types.Date `json:"StatusSince,omitempty"`

	// TradeName:
	TradeName *string `json:"TradeName,omitempty"`

	// Type:
	Type *string `json:"Type,omitempty"`

	// UniqueTaxpayerReference:
	UniqueTaxpayerReference *string `json:"UniqueTaxpayerReference,omitempty"`

	// VATLiability:
	VATLiability *string `json:"VATLiability,omitempty"`

	// VATNumber:
	VATNumber *string `json:"VATNumber,omitempty"`

	// Website:
	Website *string `json:"Website,omitempty"`
}

Accounts: Service: CRM Entity: Accounts URL: /api/v1/{division}/crm/Accounts HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAccounts

func (*Accounts) GetPrimary

func (e *Accounts) GetPrimary() *types.GUID

type AccountsEndpoint

type AccountsEndpoint service

AccountsEndpoint is responsible for communicating with the Accounts endpoint of the CRM service.

func (*AccountsEndpoint) Create

func (s *AccountsEndpoint) Create(ctx context.Context, division int, entity *Accounts) (*Accounts, error)

Create the Accounts entity in the provided division.

func (*AccountsEndpoint) Delete

func (s *AccountsEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the Accounts entity in the provided division.

func (*AccountsEndpoint) Get

func (s *AccountsEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*Accounts, error)

Get the Accounts entitiy in the provided division.

func (*AccountsEndpoint) List

func (s *AccountsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Accounts, error)

List the Accounts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*AccountsEndpoint) New

func (s *AccountsEndpoint) New() *Accounts

New returns an empty Accounts entity

func (*AccountsEndpoint) Update

func (s *AccountsEndpoint) Update(ctx context.Context, division int, entity *Accounts) (*Accounts, error)

Update the Accounts entity in the provided division.

func (*AccountsEndpoint) UserHasRights

func (s *AccountsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type AddressStates

type AddressStates struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Country: Country code
	Country *string `json:"Country,omitempty"`

	// DisplayValue: Description of state prefixed with the code
	DisplayValue *string `json:"DisplayValue,omitempty"`

	// Latitude: Latitude
	Latitude *float64 `json:"Latitude,omitempty"`

	// Longitude: Longitude
	Longitude *float64 `json:"Longitude,omitempty"`

	// Name: State name
	Name *string `json:"Name,omitempty"`

	// State: State code
	State *string `json:"State,omitempty"`
}

AddressStates: Service: CRM Entity: AddressStates URL: /api/v1/{division}/crm/AddressStates HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAddressStates

func (*AddressStates) GetPrimary

func (e *AddressStates) GetPrimary() *types.GUID

type AddressStatesEndpoint

type AddressStatesEndpoint service

AddressStatesEndpoint is responsible for communicating with the AddressStates endpoint of the CRM service.

func (*AddressStatesEndpoint) Get

func (s *AddressStatesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*AddressStates, error)

Get the AddressStates entitiy in the provided division.

func (*AddressStatesEndpoint) List

func (s *AddressStatesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*AddressStates, error)

List the AddressStates entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*AddressStatesEndpoint) UserHasRights

func (s *AddressStatesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type Addresses

type Addresses struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Account: Account linked to the address
	Account *types.GUID `json:"Account,omitempty"`

	// AccountIsSupplier: Indicates if the account is a supplier
	AccountIsSupplier *bool `json:"AccountIsSupplier,omitempty"`

	// AccountName: Name of the account
	AccountName *string `json:"AccountName,omitempty"`

	// AddressLine1: First address line
	AddressLine1 *string `json:"AddressLine1,omitempty"`

	// AddressLine2: Second address line
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressLine3: Third address line
	AddressLine3 *string `json:"AddressLine3,omitempty"`

	// City: City
	City *string `json:"City,omitempty"`

	// Contact: Contact linked to Address
	Contact *types.GUID `json:"Contact,omitempty"`

	// ContactName: Contact name
	ContactName *string `json:"ContactName,omitempty"`

	// Country: Country code
	Country *string `json:"Country,omitempty"`

	// CountryName: Country name
	CountryName *string `json:"CountryName,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// Fax: Fax number
	Fax *string `json:"Fax,omitempty"`

	// FreeBoolField_01: Free boolean field 1
	FreeBoolField_01 *bool `json:"FreeBoolField_01,omitempty"`

	// FreeBoolField_02: Free boolean field 2
	FreeBoolField_02 *bool `json:"FreeBoolField_02,omitempty"`

	// FreeBoolField_03: Free boolean field 3
	FreeBoolField_03 *bool `json:"FreeBoolField_03,omitempty"`

	// FreeBoolField_04: Free boolean field 4
	FreeBoolField_04 *bool `json:"FreeBoolField_04,omitempty"`

	// FreeBoolField_05: Free boolean field 5
	FreeBoolField_05 *bool `json:"FreeBoolField_05,omitempty"`

	// FreeDateField_01: Free date field 1
	FreeDateField_01 *types.Date `json:"FreeDateField_01,omitempty"`

	// FreeDateField_02: Free date field 2
	FreeDateField_02 *types.Date `json:"FreeDateField_02,omitempty"`

	// FreeDateField_03: Free date field 3
	FreeDateField_03 *types.Date `json:"FreeDateField_03,omitempty"`

	// FreeDateField_04: Free date field 4
	FreeDateField_04 *types.Date `json:"FreeDateField_04,omitempty"`

	// FreeDateField_05: Free date field 5
	FreeDateField_05 *types.Date `json:"FreeDateField_05,omitempty"`

	// FreeNumberField_01: Free number field 1
	FreeNumberField_01 *float64 `json:"FreeNumberField_01,omitempty"`

	// FreeNumberField_02: Free number field 2
	FreeNumberField_02 *float64 `json:"FreeNumberField_02,omitempty"`

	// FreeNumberField_03: Free number field 3
	FreeNumberField_03 *float64 `json:"FreeNumberField_03,omitempty"`

	// FreeNumberField_04: Free number field 4
	FreeNumberField_04 *float64 `json:"FreeNumberField_04,omitempty"`

	// FreeNumberField_05: Free number field 5
	FreeNumberField_05 *float64 `json:"FreeNumberField_05,omitempty"`

	// FreeTextField_01: Free text field 1
	FreeTextField_01 *string `json:"FreeTextField_01,omitempty"`

	// FreeTextField_02: Free text field 2
	FreeTextField_02 *string `json:"FreeTextField_02,omitempty"`

	// FreeTextField_03: Free text field 3
	FreeTextField_03 *string `json:"FreeTextField_03,omitempty"`

	// FreeTextField_04: Free text field 4
	FreeTextField_04 *string `json:"FreeTextField_04,omitempty"`

	// FreeTextField_05: Free text field 5
	FreeTextField_05 *string `json:"FreeTextField_05,omitempty"`

	// Mailbox: Mailbox
	Mailbox *string `json:"Mailbox,omitempty"`

	// Main: Indicates if the address is the main address for this type
	Main *bool `json:"Main,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NicNumber: Last 5 digits of SIRET number which is an intern sequential number of 4 digits representing the identification of the localization of the office
	NicNumber *string `json:"NicNumber,omitempty"`

	// Notes: Notes for an address
	Notes *string `json:"Notes,omitempty"`

	// Phone: Phone number
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension: Phone extension
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Postcode: Postcode
	Postcode *string `json:"Postcode,omitempty"`

	// State: State
	State *string `json:"State,omitempty"`

	// StateDescription: Name of the State
	StateDescription *string `json:"StateDescription,omitempty"`

	// Type: The type of address. Visit=1, Postal=2, Invoice=3, Delivery=4
	Type *int `json:"Type,omitempty"`

	// Warehouse: The warehouse linked to the address, if a warehouse is linked the account will be empty. Can only be filled for type=Delivery
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode: Code of the warehoude
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription: Description of the warehouse
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`
}

Addresses: Service: CRM Entity: Addresses URL: /api/v1/{division}/crm/Addresses HasWebhook: false IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAddresses

func (*Addresses) GetPrimary

func (e *Addresses) GetPrimary() *types.GUID

type AddressesEndpoint

type AddressesEndpoint service

AddressesEndpoint is responsible for communicating with the Addresses endpoint of the CRM service.

func (*AddressesEndpoint) Create

func (s *AddressesEndpoint) Create(ctx context.Context, division int, entity *Addresses) (*Addresses, error)

Create the Addresses entity in the provided division.

func (*AddressesEndpoint) Delete

func (s *AddressesEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the Addresses entity in the provided division.

func (*AddressesEndpoint) Get

func (s *AddressesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*Addresses, error)

Get the Addresses entitiy in the provided division.

func (*AddressesEndpoint) List

func (s *AddressesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Addresses, error)

List the Addresses entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*AddressesEndpoint) New

func (s *AddressesEndpoint) New() *Addresses

New returns an empty Addresses entity

func (*AddressesEndpoint) Update

func (s *AddressesEndpoint) Update(ctx context.Context, division int, entity *Addresses) (*Addresses, error)

Update the Addresses entity in the provided division.

func (*AddressesEndpoint) UserHasRights

func (s *AddressesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type BankAccounts

type BankAccounts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// Bank:
	Bank *types.GUID `json:"Bank,omitempty"`

	// BankAccount:
	BankAccount *string `json:"BankAccount,omitempty"`

	// BankAccountHolderName:
	BankAccountHolderName *string `json:"BankAccountHolderName,omitempty"`

	// BankDescription:
	BankDescription *string `json:"BankDescription,omitempty"`

	// BankName:
	BankName *string `json:"BankName,omitempty"`

	// BICCode:
	BICCode *string `json:"BICCode,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Format:
	Format *string `json:"Format,omitempty"`

	// IBAN:
	IBAN *string `json:"IBAN,omitempty"`

	// Main:
	Main *bool `json:"Main,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// PaymentServiceAccount:
	PaymentServiceAccount *types.GUID `json:"PaymentServiceAccount,omitempty"`

	// Type:
	Type *string `json:"Type,omitempty"`

	// TypeDescription:
	TypeDescription *string `json:"TypeDescription,omitempty"`
}

BankAccounts: Service: CRM Entity: BankAccounts URL: /api/v1/{division}/crm/BankAccounts HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMBankAccounts

func (*BankAccounts) GetPrimary

func (e *BankAccounts) GetPrimary() *types.GUID

type BankAccountsEndpoint

type BankAccountsEndpoint service

BankAccountsEndpoint is responsible for communicating with the BankAccounts endpoint of the CRM service.

func (*BankAccountsEndpoint) Create

func (s *BankAccountsEndpoint) Create(ctx context.Context, division int, entity *BankAccounts) (*BankAccounts, error)

Create the BankAccounts entity in the provided division.

func (*BankAccountsEndpoint) Delete

func (s *BankAccountsEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the BankAccounts entity in the provided division.

func (*BankAccountsEndpoint) Get

func (s *BankAccountsEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*BankAccounts, error)

Get the BankAccounts entitiy in the provided division.

func (*BankAccountsEndpoint) List

func (s *BankAccountsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*BankAccounts, error)

List the BankAccounts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*BankAccountsEndpoint) New

New returns an empty BankAccounts entity

func (*BankAccountsEndpoint) Update

func (s *BankAccountsEndpoint) Update(ctx context.Context, division int, entity *BankAccounts) (*BankAccounts, error)

Update the BankAccounts entity in the provided division.

func (*BankAccountsEndpoint) UserHasRights

func (s *BankAccountsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type CRMService

type CRMService struct {

	// Endpoints available under this service
	AccountClasses             *AccountClassesEndpoint
	AccountClassificationNames *AccountClassificationNamesEndpoint
	AccountClassifications     *AccountClassificationsEndpoint
	Accounts                   *AccountsEndpoint
	Addresses                  *AddressesEndpoint
	AddressStates              *AddressStatesEndpoint
	BankAccounts               *BankAccountsEndpoint
	Contacts                   *ContactsEndpoint
	Documents                  *DocumentsEndpoint
	DocumentsAttachments       *DocumentsAttachmentsEndpoint
	HostingOpportunities       *HostingOpportunitiesEndpoint
	LeadPurposes               *LeadPurposesEndpoint
	LeadSources                *LeadSourcesEndpoint
	Opportunities              *OpportunitiesEndpoint
	OpportunityContacts        *OpportunityContactsEndpoint
	QuotationLines             *QuotationLinesEndpoint
	Quotations                 *QuotationsEndpoint
	ReasonCodes                *ReasonCodesEndpoint
	// contains filtered or unexported fields
}

CRMService is responsible for communication with the CRM endpoints of the Exact Online API.

func NewCRMService

func NewCRMService(apiClient *api.Client) *CRMService

NewCRMService creates a new initialized instance of the CRMService.

type Contacts

type Contacts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountIsCustomer:
	AccountIsCustomer *bool `json:"AccountIsCustomer,omitempty"`

	// AccountIsSupplier:
	AccountIsSupplier *bool `json:"AccountIsSupplier,omitempty"`

	// AccountMainContact:
	AccountMainContact *types.GUID `json:"AccountMainContact,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// AddressLine2:
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressStreet:
	AddressStreet *string `json:"AddressStreet,omitempty"`

	// AddressStreetNumber:
	AddressStreetNumber *string `json:"AddressStreetNumber,omitempty"`

	// AddressStreetNumberSuffix:
	AddressStreetNumberSuffix *string `json:"AddressStreetNumberSuffix,omitempty"`

	// AllowMailing:
	AllowMailing *int `json:"AllowMailing,omitempty"`

	// BirthDate:
	BirthDate *types.Date `json:"BirthDate,omitempty"`

	// BirthName:
	BirthName *string `json:"BirthName,omitempty"`

	// BirthNamePrefix:
	BirthNamePrefix *string `json:"BirthNamePrefix,omitempty"`

	// BirthPlace:
	BirthPlace *string `json:"BirthPlace,omitempty"`

	// BusinessEmail:
	BusinessEmail *string `json:"BusinessEmail,omitempty"`

	// BusinessFax:
	BusinessFax *string `json:"BusinessFax,omitempty"`

	// BusinessMobile:
	BusinessMobile *string `json:"BusinessMobile,omitempty"`

	// BusinessPhone:
	BusinessPhone *string `json:"BusinessPhone,omitempty"`

	// BusinessPhoneExtension:
	BusinessPhoneExtension *string `json:"BusinessPhoneExtension,omitempty"`

	// City:
	City *string `json:"City,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// Country:
	Country *string `json:"Country,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Email:
	Email *string `json:"Email,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// FirstName:
	FirstName *string `json:"FirstName,omitempty"`

	// FullName:
	FullName *string `json:"FullName,omitempty"`

	// Gender:
	Gender *string `json:"Gender,omitempty"`

	// HID:
	HID *int `json:"HID,omitempty"`

	// IdentificationDate:
	IdentificationDate *types.Date `json:"IdentificationDate,omitempty"`

	// IdentificationDocument:
	IdentificationDocument *types.GUID `json:"IdentificationDocument,omitempty"`

	// IdentificationUser:
	IdentificationUser *types.GUID `json:"IdentificationUser,omitempty"`

	// Initials:
	Initials *string `json:"Initials,omitempty"`

	// IsAnonymised:
	IsAnonymised *byte `json:"IsAnonymised,omitempty"`

	// IsMailingExcluded:
	IsMailingExcluded *bool `json:"IsMailingExcluded,omitempty"`

	// IsMainContact:
	IsMainContact *bool `json:"IsMainContact,omitempty"`

	// JobTitleDescription:
	JobTitleDescription *string `json:"JobTitleDescription,omitempty"`

	// Language:
	Language *string `json:"Language,omitempty"`

	// LastName:
	LastName *string `json:"LastName,omitempty"`

	// LeadPurpose:
	LeadPurpose *types.GUID `json:"LeadPurpose,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	// MarketingNotes:
	MarketingNotes *string `json:"MarketingNotes,omitempty"`

	// MiddleName:
	MiddleName *string `json:"MiddleName,omitempty"`

	// Mobile:
	Mobile *string `json:"Mobile,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Nationality:
	Nationality *string `json:"Nationality,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// PartnerName:
	PartnerName *string `json:"PartnerName,omitempty"`

	// PartnerNamePrefix:
	PartnerNamePrefix *string `json:"PartnerNamePrefix,omitempty"`

	// Person:
	Person *types.GUID `json:"Person,omitempty"`

	// Phone:
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension:
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Picture:
	Picture *[]byte `json:"Picture,omitempty"`

	// PictureName:
	PictureName *string `json:"PictureName,omitempty"`

	// PictureThumbnailUrl:
	PictureThumbnailUrl *string `json:"PictureThumbnailUrl,omitempty"`

	// PictureUrl:
	PictureUrl *string `json:"PictureUrl,omitempty"`

	// Postcode:
	Postcode *string `json:"Postcode,omitempty"`

	// SocialSecurityNumber:
	SocialSecurityNumber *string `json:"SocialSecurityNumber,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// State:
	State *string `json:"State,omitempty"`

	// Title:
	Title *string `json:"Title,omitempty"`
}

Contacts: Service: CRM Entity: Contacts URL: /api/v1/{division}/crm/Contacts HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMContacts

func (*Contacts) GetPrimary

func (e *Contacts) GetPrimary() *types.GUID

type ContactsEndpoint

type ContactsEndpoint service

ContactsEndpoint is responsible for communicating with the Contacts endpoint of the CRM service.

func (*ContactsEndpoint) Create

func (s *ContactsEndpoint) Create(ctx context.Context, division int, entity *Contacts) (*Contacts, error)

Create the Contacts entity in the provided division.

func (*ContactsEndpoint) Delete

func (s *ContactsEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the Contacts entity in the provided division.

func (*ContactsEndpoint) Get

func (s *ContactsEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*Contacts, error)

Get the Contacts entitiy in the provided division.

func (*ContactsEndpoint) List

func (s *ContactsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Contacts, error)

List the Contacts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*ContactsEndpoint) New

func (s *ContactsEndpoint) New() *Contacts

New returns an empty Contacts entity

func (*ContactsEndpoint) Update

func (s *ContactsEndpoint) Update(ctx context.Context, division int, entity *Contacts) (*Contacts, error)

Update the Contacts entity in the provided division.

func (*ContactsEndpoint) UserHasRights

func (s *ContactsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type Documents

type Documents struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Account: ID of the related account of this document
	Account *types.GUID `json:"Account,omitempty"`

	// Attachments: Attachments linked to the document. Binaries are not sent in the response.
	Attachments *json.RawMessage `json:"Attachments,omitempty"`

	// Contact: ID of the related contact of this document
	Contact *types.GUID `json:"Contact,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// DocumentDate: Entry date of the incoming document
	DocumentDate *types.Date `json:"DocumentDate,omitempty"`

	// DocumentFolder: Id of document folder
	DocumentFolder *types.GUID `json:"DocumentFolder,omitempty"`

	// DocumentViewUrl: Url to view the document
	DocumentViewUrl *string `json:"DocumentViewUrl,omitempty"`

	// HasEmptyBody: Indicates that the document body is empty
	HasEmptyBody *bool `json:"HasEmptyBody,omitempty"`

	// HID: Human-readable ID, formatted as xx.xxx.xxx. Unique. May not be equal to zero
	HID *int `json:"HID,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// Opportunity: The opportunity linked to the document
	Opportunity *types.GUID `json:"Opportunity,omitempty"`

	// PurchaseInvoiceNumber: Purchase invoice number.
	PurchaseInvoiceNumber *int `json:"PurchaseInvoiceNumber,omitempty"`

	// PurchaseOrderNumber: Purchase order number.
	PurchaseOrderNumber *int `json:"PurchaseOrderNumber,omitempty"`

	// SalesInvoiceNumber: 'Our reference' of the transaction that belongs to this document
	SalesInvoiceNumber *int `json:"SalesInvoiceNumber,omitempty"`

	// SalesOrderNumber: Number of the sales order
	SalesOrderNumber *int `json:"SalesOrderNumber,omitempty"`

	// SendMethod: Send Method
	SendMethod *int `json:"SendMethod,omitempty"`

	// Share:
	Share *int `json:"Share,omitempty"`

	// SharePointConnectionStatus: SharePointConnectionStatus of this document
	SharePointConnectionStatus *int `json:"SharePointConnectionStatus,omitempty"`

	// SharePointID: SharePointID of this document
	SharePointID *string `json:"SharePointID,omitempty"`

	// Source: Source
	Source *int `json:"Source,omitempty"`

	// SourceDescription: Translated description of the Source type
	SourceDescription *string `json:"SourceDescription,omitempty"`

	// Subject: Subject of this document
	Subject *string `json:"Subject,omitempty"`

	// Type: The document type
	Type *int `json:"Type,omitempty"`

	// TypeDescription: Translated description of the document type. $filter and $orderby are not supported for this property.
	TypeDescription *string `json:"TypeDescription,omitempty"`
}

Documents: Service: CRM Entity: Documents URL: /api/v1/{division}/read/crm/Documents HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadCRMDocuments

func (*Documents) GetPrimary

func (e *Documents) GetPrimary() *types.GUID

type DocumentsAttachments

type DocumentsAttachments struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// AttachmentFileName: Filename of the attachment
	AttachmentFileName *string `json:"AttachmentFileName,omitempty"`

	// AttachmentFileSize: File size of the attachment
	AttachmentFileSize *float64 `json:"AttachmentFileSize,omitempty"`

	// AttachmentUrl: Url for downloading the attachment. To get the file in its original format (xml, jpg, pdf, etc.) append &Download=1 to the url.
	AttachmentUrl *string `json:"AttachmentUrl,omitempty"`

	// CanShowInWebView:
	CanShowInWebView *bool `json:"CanShowInWebView,omitempty"`
}

DocumentsAttachments: Service: CRM Entity: DocumentsAttachments URL: /api/v1/{division}/read/crm/DocumentsAttachments HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadCRMDocumentsAttachments

func (*DocumentsAttachments) GetPrimary

func (e *DocumentsAttachments) GetPrimary() *types.GUID

type DocumentsAttachmentsEndpoint

type DocumentsAttachmentsEndpoint service

DocumentsAttachmentsEndpoint is responsible for communicating with the DocumentsAttachments endpoint of the CRM service.

func (*DocumentsAttachmentsEndpoint) Get

Get the DocumentsAttachments entitiy in the provided division.

func (*DocumentsAttachmentsEndpoint) List

List the DocumentsAttachments entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*DocumentsAttachmentsEndpoint) UserHasRights

func (s *DocumentsAttachmentsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type DocumentsEndpoint

type DocumentsEndpoint service

DocumentsEndpoint is responsible for communicating with the Documents endpoint of the CRM service.

func (*DocumentsEndpoint) Get

func (s *DocumentsEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*Documents, error)

Get the Documents entitiy in the provided division.

func (*DocumentsEndpoint) List

func (s *DocumentsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Documents, error)

List the Documents entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*DocumentsEndpoint) UserHasRights

func (s *DocumentsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type HostingOpportunities

type HostingOpportunities struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// Accountant:
	Accountant *types.GUID `json:"Accountant,omitempty"`

	// AccountantCode:
	AccountantCode *string `json:"AccountantCode,omitempty"`

	// AccountantName:
	AccountantName *string `json:"AccountantName,omitempty"`

	// AccountCode:
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// ActionDate:
	ActionDate *types.Date `json:"ActionDate,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// BackToLeadDevelopment:
	BackToLeadDevelopment *types.Date `json:"BackToLeadDevelopment,omitempty"`

	// Campaign:
	Campaign *types.GUID `json:"Campaign,omitempty"`

	// CampaignDescription:
	CampaignDescription *string `json:"CampaignDescription,omitempty"`

	// Channel:
	Channel *int `json:"Channel,omitempty"`

	// ChannelDescription:
	ChannelDescription *string `json:"ChannelDescription,omitempty"`

	// CloseDate:
	CloseDate *types.Date `json:"CloseDate,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomerDemandsDescription:
	CustomerDemandsDescription *string `json:"CustomerDemandsDescription,omitempty"`

	// DecisionMakingUnitName:
	DecisionMakingUnitName *string `json:"DecisionMakingUnitName,omitempty"`

	// DecisionMakingUnitRole:
	DecisionMakingUnitRole *string `json:"DecisionMakingUnitRole,omitempty"`

	// DecisionTimeframe:
	DecisionTimeframe *string `json:"DecisionTimeframe,omitempty"`

	// DispatchToSales:
	DispatchToSales *types.Date `json:"DispatchToSales,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// IsAssociatedPrice:
	IsAssociatedPrice *byte `json:"IsAssociatedPrice,omitempty"`

	// IsCustomerDemandsMeet:
	IsCustomerDemandsMeet *byte `json:"IsCustomerDemandsMeet,omitempty"`

	// LeadDeveloper:
	LeadDeveloper *types.GUID `json:"LeadDeveloper,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	// LeadSourceDescription:
	LeadSourceDescription *string `json:"LeadSourceDescription,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Name:
	Name *string `json:"Name,omitempty"`

	// NextAction:
	NextAction *string `json:"NextAction,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// OpportunityDepartmentCode:
	OpportunityDepartmentCode *int `json:"OpportunityDepartmentCode,omitempty"`

	// OpportunityDepartmentDescription:
	OpportunityDepartmentDescription *string `json:"OpportunityDepartmentDescription,omitempty"`

	// OpportunityStage:
	OpportunityStage *types.GUID `json:"OpportunityStage,omitempty"`

	// OpportunityStageDescription:
	OpportunityStageDescription *string `json:"OpportunityStageDescription,omitempty"`

	// OpportunityStatus:
	OpportunityStatus *int `json:"OpportunityStatus,omitempty"`

	// OpportunityType:
	OpportunityType *int `json:"OpportunityType,omitempty"`

	// OpportunityTypeDescription:
	OpportunityTypeDescription *string `json:"OpportunityTypeDescription,omitempty"`

	// Owner:
	Owner *types.GUID `json:"Owner,omitempty"`

	// OwnerFullName:
	OwnerFullName *string `json:"OwnerFullName,omitempty"`

	// Probability:
	Probability *float64 `json:"Probability,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// RateFC:
	RateFC *float64 `json:"RateFC,omitempty"`

	// ReasonBack:
	ReasonBack *string `json:"ReasonBack,omitempty"`

	// ReasonCode:
	ReasonCode *types.GUID `json:"ReasonCode,omitempty"`

	// ReasonCodeDescription:
	ReasonCodeDescription *string `json:"ReasonCodeDescription,omitempty"`

	// Reseller:
	Reseller *types.GUID `json:"Reseller,omitempty"`

	// ResellerCode:
	ResellerCode *string `json:"ResellerCode,omitempty"`

	// ResellerName:
	ResellerName *string `json:"ResellerName,omitempty"`

	// SalesType:
	SalesType *types.GUID `json:"SalesType,omitempty"`

	// SalesTypeDescription:
	SalesTypeDescription *string `json:"SalesTypeDescription,omitempty"`
}

HostingOpportunities: Service: CRM Entity: HostingOpportunities URL: /api/v1/{division}/crm/HostingOpportunities HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMHostingOpportunities

func (*HostingOpportunities) GetPrimary

func (e *HostingOpportunities) GetPrimary() *types.GUID

type HostingOpportunitiesEndpoint

type HostingOpportunitiesEndpoint service

HostingOpportunitiesEndpoint is responsible for communicating with the HostingOpportunities endpoint of the CRM service.

func (*HostingOpportunitiesEndpoint) Create

Create the HostingOpportunities entity in the provided division.

func (*HostingOpportunitiesEndpoint) Delete

func (s *HostingOpportunitiesEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the HostingOpportunities entity in the provided division.

func (*HostingOpportunitiesEndpoint) Get

Get the HostingOpportunities entitiy in the provided division.

func (*HostingOpportunitiesEndpoint) List

List the HostingOpportunities entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*HostingOpportunitiesEndpoint) New

New returns an empty HostingOpportunities entity

func (*HostingOpportunitiesEndpoint) Update

Update the HostingOpportunities entity in the provided division.

func (*HostingOpportunitiesEndpoint) UserHasRights

func (s *HostingOpportunitiesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type LeadPurposes

type LeadPurposes struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Code: Code
	Code *string `json:"Code,omitempty"`

	// Description: Description
	Description *string `json:"Description,omitempty"`
}

LeadPurposes: Service: CRM Entity: LeadPurposes URL: /api/v1/{division}/crm/LeadPurposes HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMLeadPurposes

func (*LeadPurposes) GetPrimary

func (e *LeadPurposes) GetPrimary() *types.GUID

type LeadPurposesEndpoint

type LeadPurposesEndpoint service

LeadPurposesEndpoint is responsible for communicating with the LeadPurposes endpoint of the CRM service.

func (*LeadPurposesEndpoint) Get

func (s *LeadPurposesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*LeadPurposes, error)

Get the LeadPurposes entitiy in the provided division.

func (*LeadPurposesEndpoint) List

func (s *LeadPurposesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*LeadPurposes, error)

List the LeadPurposes entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*LeadPurposesEndpoint) UserHasRights

func (s *LeadPurposesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type LeadSources

type LeadSources struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Code: Code
	Code *string `json:"Code,omitempty"`

	// Description: Description
	Description *string `json:"Description,omitempty"`
}

LeadSources: Service: CRM Entity: LeadSources URL: /api/v1/{division}/crm/LeadSources HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMLeadSources

func (*LeadSources) GetPrimary

func (e *LeadSources) GetPrimary() *types.GUID

type LeadSourcesEndpoint

type LeadSourcesEndpoint service

LeadSourcesEndpoint is responsible for communicating with the LeadSources endpoint of the CRM service.

func (*LeadSourcesEndpoint) Get

func (s *LeadSourcesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*LeadSources, error)

Get the LeadSources entitiy in the provided division.

func (*LeadSourcesEndpoint) List

func (s *LeadSourcesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*LeadSources, error)

List the LeadSources entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*LeadSourcesEndpoint) UserHasRights

func (s *LeadSourcesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type Opportunities

type Opportunities struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// Accountant:
	Accountant *types.GUID `json:"Accountant,omitempty"`

	// AccountantCode:
	AccountantCode *string `json:"AccountantCode,omitempty"`

	// AccountantName:
	AccountantName *string `json:"AccountantName,omitempty"`

	// AccountCode:
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// ActionDate:
	ActionDate *types.Date `json:"ActionDate,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// Campaign:
	Campaign *types.GUID `json:"Campaign,omitempty"`

	// CampaignDescription:
	CampaignDescription *string `json:"CampaignDescription,omitempty"`

	// Channel:
	Channel *int `json:"Channel,omitempty"`

	// ChannelDescription:
	ChannelDescription *string `json:"ChannelDescription,omitempty"`

	// CloseDate:
	CloseDate *types.Date `json:"CloseDate,omitempty"`

	// Contact:
	Contact *types.GUID `json:"Contact,omitempty"`

	// ContactFullName:
	ContactFullName *string `json:"ContactFullName,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	// LeadSourceDescription:
	LeadSourceDescription *string `json:"LeadSourceDescription,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Name:
	Name *string `json:"Name,omitempty"`

	// NextAction:
	NextAction *string `json:"NextAction,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// OpportunityDepartmentCode:
	OpportunityDepartmentCode *int `json:"OpportunityDepartmentCode,omitempty"`

	// OpportunityDepartmentDescription:
	OpportunityDepartmentDescription *string `json:"OpportunityDepartmentDescription,omitempty"`

	// OpportunityStage:
	OpportunityStage *types.GUID `json:"OpportunityStage,omitempty"`

	// OpportunityStageDescription:
	OpportunityStageDescription *string `json:"OpportunityStageDescription,omitempty"`

	// OpportunityStatus:
	OpportunityStatus *int `json:"OpportunityStatus,omitempty"`

	// OpportunityType:
	OpportunityType *int `json:"OpportunityType,omitempty"`

	// OpportunityTypeDescription:
	OpportunityTypeDescription *string `json:"OpportunityTypeDescription,omitempty"`

	// Owner:
	Owner *types.GUID `json:"Owner,omitempty"`

	// OwnerFullName:
	OwnerFullName *string `json:"OwnerFullName,omitempty"`

	// Probability:
	Probability *float64 `json:"Probability,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// RateFC:
	RateFC *float64 `json:"RateFC,omitempty"`

	// ReasonCode:
	ReasonCode *types.GUID `json:"ReasonCode,omitempty"`

	// ReasonCodeDescription:
	ReasonCodeDescription *string `json:"ReasonCodeDescription,omitempty"`

	// Reseller:
	Reseller *types.GUID `json:"Reseller,omitempty"`

	// ResellerCode:
	ResellerCode *string `json:"ResellerCode,omitempty"`

	// ResellerName:
	ResellerName *string `json:"ResellerName,omitempty"`

	// SalesType:
	SalesType *types.GUID `json:"SalesType,omitempty"`

	// SalesTypeDescription:
	SalesTypeDescription *string `json:"SalesTypeDescription,omitempty"`
}

Opportunities: Service: CRM Entity: Opportunities URL: /api/v1/{division}/crm/Opportunities HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMOpportunities

func (*Opportunities) GetPrimary

func (e *Opportunities) GetPrimary() *types.GUID

type OpportunitiesEndpoint

type OpportunitiesEndpoint service

OpportunitiesEndpoint is responsible for communicating with the Opportunities endpoint of the CRM service.

func (*OpportunitiesEndpoint) Create

func (s *OpportunitiesEndpoint) Create(ctx context.Context, division int, entity *Opportunities) (*Opportunities, error)

Create the Opportunities entity in the provided division.

func (*OpportunitiesEndpoint) Delete

func (s *OpportunitiesEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the Opportunities entity in the provided division.

func (*OpportunitiesEndpoint) Get

func (s *OpportunitiesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*Opportunities, error)

Get the Opportunities entitiy in the provided division.

func (*OpportunitiesEndpoint) List

func (s *OpportunitiesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Opportunities, error)

List the Opportunities entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*OpportunitiesEndpoint) New

New returns an empty Opportunities entity

func (*OpportunitiesEndpoint) Update

func (s *OpportunitiesEndpoint) Update(ctx context.Context, division int, entity *Opportunities) (*Opportunities, error)

Update the Opportunities entity in the provided division.

func (*OpportunitiesEndpoint) UserHasRights

func (s *OpportunitiesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type OpportunityContacts

type OpportunityContacts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountIsCustomer:
	AccountIsCustomer *bool `json:"AccountIsCustomer,omitempty"`

	// AccountIsSupplier:
	AccountIsSupplier *bool `json:"AccountIsSupplier,omitempty"`

	// AccountMainContact:
	AccountMainContact *types.GUID `json:"AccountMainContact,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// AddressLine2:
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressStreet:
	AddressStreet *string `json:"AddressStreet,omitempty"`

	// AddressStreetNumber:
	AddressStreetNumber *string `json:"AddressStreetNumber,omitempty"`

	// AddressStreetNumberSuffix:
	AddressStreetNumberSuffix *string `json:"AddressStreetNumberSuffix,omitempty"`

	// AllowMailing:
	AllowMailing *int `json:"AllowMailing,omitempty"`

	// BirthDate:
	BirthDate *types.Date `json:"BirthDate,omitempty"`

	// BirthName:
	BirthName *string `json:"BirthName,omitempty"`

	// BirthNamePrefix:
	BirthNamePrefix *string `json:"BirthNamePrefix,omitempty"`

	// BirthPlace:
	BirthPlace *string `json:"BirthPlace,omitempty"`

	// BusinessEmail:
	BusinessEmail *string `json:"BusinessEmail,omitempty"`

	// BusinessFax:
	BusinessFax *string `json:"BusinessFax,omitempty"`

	// BusinessMobile:
	BusinessMobile *string `json:"BusinessMobile,omitempty"`

	// BusinessPhone:
	BusinessPhone *string `json:"BusinessPhone,omitempty"`

	// BusinessPhoneExtension:
	BusinessPhoneExtension *string `json:"BusinessPhoneExtension,omitempty"`

	// City:
	City *string `json:"City,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// Contact:
	Contact *types.GUID `json:"Contact,omitempty"`

	// Country:
	Country *string `json:"Country,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Email:
	Email *string `json:"Email,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// FirstName:
	FirstName *string `json:"FirstName,omitempty"`

	// FullName:
	FullName *string `json:"FullName,omitempty"`

	// Gender:
	Gender *string `json:"Gender,omitempty"`

	// HID:
	HID *int `json:"HID,omitempty"`

	// IdentificationDate:
	IdentificationDate *types.Date `json:"IdentificationDate,omitempty"`

	// IdentificationDocument:
	IdentificationDocument *types.GUID `json:"IdentificationDocument,omitempty"`

	// IdentificationUser:
	IdentificationUser *types.GUID `json:"IdentificationUser,omitempty"`

	// Initials:
	Initials *string `json:"Initials,omitempty"`

	// IsAnonymised:
	IsAnonymised *byte `json:"IsAnonymised,omitempty"`

	// IsMailingExcluded:
	IsMailingExcluded *bool `json:"IsMailingExcluded,omitempty"`

	// IsMainContact:
	IsMainContact *bool `json:"IsMainContact,omitempty"`

	// JobTitleDescription:
	JobTitleDescription *string `json:"JobTitleDescription,omitempty"`

	// Language:
	Language *string `json:"Language,omitempty"`

	// LastName:
	LastName *string `json:"LastName,omitempty"`

	// LeadPurpose:
	LeadPurpose *types.GUID `json:"LeadPurpose,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	// MarketingNotes:
	MarketingNotes *string `json:"MarketingNotes,omitempty"`

	// MiddleName:
	MiddleName *string `json:"MiddleName,omitempty"`

	// Mobile:
	Mobile *string `json:"Mobile,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Nationality:
	Nationality *string `json:"Nationality,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// Opportunity:
	Opportunity *types.GUID `json:"Opportunity,omitempty"`

	// PartnerName:
	PartnerName *string `json:"PartnerName,omitempty"`

	// PartnerNamePrefix:
	PartnerNamePrefix *string `json:"PartnerNamePrefix,omitempty"`

	// Person:
	Person *types.GUID `json:"Person,omitempty"`

	// Phone:
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension:
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Picture:
	Picture *[]byte `json:"Picture,omitempty"`

	// PictureName:
	PictureName *string `json:"PictureName,omitempty"`

	// PictureThumbnailUrl:
	PictureThumbnailUrl *string `json:"PictureThumbnailUrl,omitempty"`

	// PictureUrl:
	PictureUrl *string `json:"PictureUrl,omitempty"`

	// Postcode:
	Postcode *string `json:"Postcode,omitempty"`

	// SocialSecurityNumber:
	SocialSecurityNumber *string `json:"SocialSecurityNumber,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// State:
	State *string `json:"State,omitempty"`

	// Title:
	Title *string `json:"Title,omitempty"`
}

OpportunityContacts: Service: CRM Entity: OpportunityContacts URL: /api/v1/{division}/read/crm/OpportunityContacts HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadCRMOpportunityContacts

func (*OpportunityContacts) GetPrimary

func (e *OpportunityContacts) GetPrimary() *types.GUID

type OpportunityContactsEndpoint

type OpportunityContactsEndpoint service

OpportunityContactsEndpoint is responsible for communicating with the OpportunityContacts endpoint of the CRM service.

func (*OpportunityContactsEndpoint) Get

Get the OpportunityContacts entitiy in the provided division.

func (*OpportunityContactsEndpoint) List

List the OpportunityContacts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*OpportunityContactsEndpoint) UserHasRights

func (s *OpportunityContactsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type QuotationLines

type QuotationLines struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// CustomerItemCode:
	CustomerItemCode *string `json:"CustomerItemCode,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Discount:
	Discount *float64 `json:"Discount,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// LineNumber:
	LineNumber *int `json:"LineNumber,omitempty"`

	// NetPrice:
	NetPrice *float64 `json:"NetPrice,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// Quantity:
	Quantity *float64 `json:"Quantity,omitempty"`

	// QuotationID:
	QuotationID *types.GUID `json:"QuotationID,omitempty"`

	// QuotationNumber:
	QuotationNumber *int `json:"QuotationNumber,omitempty"`

	// UnitCode:
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription:
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitPrice:
	UnitPrice *float64 `json:"UnitPrice,omitempty"`

	// VATAmountFC:
	VATAmountFC *float64 `json:"VATAmountFC,omitempty"`

	// VATCode:
	VATCode *string `json:"VATCode,omitempty"`

	// VATDescription:
	VATDescription *string `json:"VATDescription,omitempty"`

	// VATPercentage:
	VATPercentage *float64 `json:"VATPercentage,omitempty"`

	// VersionNumber:
	VersionNumber *int `json:"VersionNumber,omitempty"`
}

QuotationLines: Service: CRM Entity: QuotationLines URL: /api/v1/{division}/crm/QuotationLines HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMQuotationLines

func (*QuotationLines) GetPrimary

func (e *QuotationLines) GetPrimary() *types.GUID

type QuotationLinesEndpoint

type QuotationLinesEndpoint service

QuotationLinesEndpoint is responsible for communicating with the QuotationLines endpoint of the CRM service.

func (*QuotationLinesEndpoint) Create

func (s *QuotationLinesEndpoint) Create(ctx context.Context, division int, entity *QuotationLines) (*QuotationLines, error)

Create the QuotationLines entity in the provided division.

func (*QuotationLinesEndpoint) Delete

func (s *QuotationLinesEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the QuotationLines entity in the provided division.

func (*QuotationLinesEndpoint) Get

func (s *QuotationLinesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*QuotationLines, error)

Get the QuotationLines entitiy in the provided division.

func (*QuotationLinesEndpoint) List

func (s *QuotationLinesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*QuotationLines, error)

List the QuotationLines entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*QuotationLinesEndpoint) New

New returns an empty QuotationLines entity

func (*QuotationLinesEndpoint) Update

func (s *QuotationLinesEndpoint) Update(ctx context.Context, division int, entity *QuotationLines) (*QuotationLines, error)

Update the QuotationLines entity in the provided division.

func (*QuotationLinesEndpoint) UserHasRights

func (s *QuotationLinesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type Quotations

type Quotations struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// QuotationID:
	QuotationID *types.GUID `json:"QuotationID,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountDiscount:
	AmountDiscount *float64 `json:"AmountDiscount,omitempty"`

	// AmountDiscountExclVat:
	AmountDiscountExclVat *float64 `json:"AmountDiscountExclVat,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// CloseDate:
	CloseDate *types.Date `json:"CloseDate,omitempty"`

	// ClosingDate:
	ClosingDate *types.Date `json:"ClosingDate,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// DeliveryAccount:
	DeliveryAccount *types.GUID `json:"DeliveryAccount,omitempty"`

	// DeliveryAccountCode:
	DeliveryAccountCode *string `json:"DeliveryAccountCode,omitempty"`

	// DeliveryAccountContact:
	DeliveryAccountContact *types.GUID `json:"DeliveryAccountContact,omitempty"`

	// DeliveryAccountContactFullName:
	DeliveryAccountContactFullName *string `json:"DeliveryAccountContactFullName,omitempty"`

	// DeliveryAccountName:
	DeliveryAccountName *string `json:"DeliveryAccountName,omitempty"`

	// DeliveryAddress:
	DeliveryAddress *types.GUID `json:"DeliveryAddress,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentSubject:
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// DueDate:
	DueDate *types.Date `json:"DueDate,omitempty"`

	// IncotermAddress:
	IncotermAddress *string `json:"IncotermAddress,omitempty"`

	// IncotermCode:
	IncotermCode *string `json:"IncotermCode,omitempty"`

	// IncotermVersion:
	IncotermVersion *int `json:"IncotermVersion,omitempty"`

	// InvoiceAccount:
	InvoiceAccount *types.GUID `json:"InvoiceAccount,omitempty"`

	// InvoiceAccountCode:
	InvoiceAccountCode *string `json:"InvoiceAccountCode,omitempty"`

	// InvoiceAccountContact:
	InvoiceAccountContact *types.GUID `json:"InvoiceAccountContact,omitempty"`

	// InvoiceAccountContactFullName:
	InvoiceAccountContactFullName *string `json:"InvoiceAccountContactFullName,omitempty"`

	// InvoiceAccountName:
	InvoiceAccountName *string `json:"InvoiceAccountName,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Opportunity:
	Opportunity *types.GUID `json:"Opportunity,omitempty"`

	// OpportunityName:
	OpportunityName *string `json:"OpportunityName,omitempty"`

	// OrderAccount:
	OrderAccount *types.GUID `json:"OrderAccount,omitempty"`

	// OrderAccountCode:
	OrderAccountCode *string `json:"OrderAccountCode,omitempty"`

	// OrderAccountContact:
	OrderAccountContact *types.GUID `json:"OrderAccountContact,omitempty"`

	// OrderAccountContactFullName:
	OrderAccountContactFullName *string `json:"OrderAccountContactFullName,omitempty"`

	// OrderAccountName:
	OrderAccountName *string `json:"OrderAccountName,omitempty"`

	// PaymentCondition:
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription:
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// QuotationDate:
	QuotationDate *types.Date `json:"QuotationDate,omitempty"`

	// QuotationLines:
	QuotationLines *json.RawMessage `json:"QuotationLines,omitempty"`

	// QuotationNumber:
	QuotationNumber *int `json:"QuotationNumber,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// SalesChannel:
	SalesChannel *types.GUID `json:"SalesChannel,omitempty"`

	// SalesChannelCode:
	SalesChannelCode *string `json:"SalesChannelCode,omitempty"`

	// SalesChannelDescription:
	SalesChannelDescription *string `json:"SalesChannelDescription,omitempty"`

	// SalesPerson:
	SalesPerson *types.GUID `json:"SalesPerson,omitempty"`

	// SalesPersonFullName:
	SalesPersonFullName *string `json:"SalesPersonFullName,omitempty"`

	// SelectionCode:
	SelectionCode *types.GUID `json:"SelectionCode,omitempty"`

	// SelectionCodeCode:
	SelectionCodeCode *string `json:"SelectionCodeCode,omitempty"`

	// SelectionCodeDescription:
	SelectionCodeDescription *string `json:"SelectionCodeDescription,omitempty"`

	// ShippingMethod:
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShippingMethodDescription:
	ShippingMethodDescription *string `json:"ShippingMethodDescription,omitempty"`

	// Status:
	Status *int `json:"Status,omitempty"`

	// StatusDescription:
	StatusDescription *string `json:"StatusDescription,omitempty"`

	// VATAmountFC:
	VATAmountFC *float64 `json:"VATAmountFC,omitempty"`

	// VersionNumber:
	VersionNumber *int `json:"VersionNumber,omitempty"`

	// YourRef:
	YourRef *string `json:"YourRef,omitempty"`
}

Quotations: Service: CRM Entity: Quotations URL: /api/v1/{division}/crm/Quotations HasWebhook: true IsInBeta: false Methods: GET POST PUT DELETE Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMQuotations

func (*Quotations) GetPrimary

func (e *Quotations) GetPrimary() *types.GUID

type QuotationsEndpoint

type QuotationsEndpoint service

QuotationsEndpoint is responsible for communicating with the Quotations endpoint of the CRM service.

func (*QuotationsEndpoint) Create

func (s *QuotationsEndpoint) Create(ctx context.Context, division int, entity *Quotations) (*Quotations, error)

Create the Quotations entity in the provided division.

func (*QuotationsEndpoint) Delete

func (s *QuotationsEndpoint) Delete(ctx context.Context, division int, id *types.GUID) error

Delete the Quotations entity in the provided division.

func (*QuotationsEndpoint) Get

func (s *QuotationsEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*Quotations, error)

Get the Quotations entitiy in the provided division.

func (*QuotationsEndpoint) List

func (s *QuotationsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Quotations, error)

List the Quotations entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*QuotationsEndpoint) New

func (s *QuotationsEndpoint) New() *Quotations

New returns an empty Quotations entity

func (*QuotationsEndpoint) Update

func (s *QuotationsEndpoint) Update(ctx context.Context, division int, entity *Quotations) (*Quotations, error)

Update the Quotations entity in the provided division.

func (*QuotationsEndpoint) UserHasRights

func (s *QuotationsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type ReasonCodes

type ReasonCodes struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// ID: Primary key.
	ID *types.GUID `json:"ID,omitempty"`

	// Active: Indicates if the reason code is active.
	Active *byte `json:"Active,omitempty"`

	// Code: Code of the reason.
	Code *string `json:"Code,omitempty"`

	// Created: Creation date.
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator.
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator.
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Description: Description of the reason code.
	Description *string `json:"Description,omitempty"`

	// Division: Division code.
	Division *int `json:"Division,omitempty"`

	// Modified: Last modified date.
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier.
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier.
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes: Extra notes.
	Notes *string `json:"Notes,omitempty"`

	// Type: Type of the reason code.
	Type *int `json:"Type,omitempty"`

	// TypeDescription: Description of the type of the reason code.
	TypeDescription *string `json:"TypeDescription,omitempty"`
}

ReasonCodes: Service: CRM Entity: ReasonCodes URL: /api/v1/{division}/crm/ReasonCodes HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMReasonCodes

func (*ReasonCodes) GetPrimary

func (e *ReasonCodes) GetPrimary() *types.GUID

type ReasonCodesEndpoint

type ReasonCodesEndpoint service

ReasonCodesEndpoint is responsible for communicating with the ReasonCodes endpoint of the CRM service.

func (*ReasonCodesEndpoint) Get

func (s *ReasonCodesEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*ReasonCodes, error)

Get the ReasonCodes entitiy in the provided division.

func (*ReasonCodesEndpoint) List

func (s *ReasonCodesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*ReasonCodes, error)

List the ReasonCodes entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*ReasonCodesEndpoint) UserHasRights

func (s *ReasonCodesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL