Client

package
v0.0.0-...-a70783c Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrmServiceClient

type CrmServiceClient struct {
	CallerId   uuid.UUID
	ApiVersion string
	// contains filtered or unexported fields
}

func NewCrmServiceClientAadAuth

func NewCrmServiceClientAadAuth(authObject AADAuth.AADAuthResult) CrmServiceClient

func NewCrmServiceClientPassword

func NewCrmServiceClientPassword(_loginUrl string, _tenantId string, _clientId string, _resourceUrl string, _userName string, _password string) (CrmServiceClient, error)

func NewCrmServiceClientRefreshToken

func NewCrmServiceClientRefreshToken(_loginUrl string, _resourceUrl string, _tenantId string, _clientId string, _refreshToken string) CrmServiceClient

func NewCrmServiceClientSecret

func NewCrmServiceClientSecret(_loginUrl string, _tenantId string, _clientId string, _resourceUrl string, _secret string) (CrmServiceClient, error)

func (*CrmServiceClient) Create

func (this *CrmServiceClient) Create(target GoXrm.Entity) string

func (*CrmServiceClient) Delete

func (this *CrmServiceClient) Delete(entityLogicalName, id string) bool

func (*CrmServiceClient) ExecuteWebApiFunction

func (this *CrmServiceClient) ExecuteWebApiFunction(request string) (string, bool)

func (*CrmServiceClient) GetAadAuthResult

func (this *CrmServiceClient) GetAadAuthResult() AADAuth.AADAuthResult

func (*CrmServiceClient) ODataRetrieve

func (this *CrmServiceClient) ODataRetrieve(entityName, id string, colset Query.ColumnSet) (GoXrm.Entity, bool)

func (*CrmServiceClient) ODataRetrieveMultiple

func (this *CrmServiceClient) ODataRetrieveMultiple(query Query.QueryExpression) GoXrm.EntityCollection

func (*CrmServiceClient) Retrieve

func (this *CrmServiceClient) Retrieve(entityName, id string, colset Query.ColumnSet) (GoXrm.Entity, bool, error)

func (*CrmServiceClient) RetrieveAllRecords

func (this *CrmServiceClient) RetrieveAllRecords(query Query.QueryExpression) (GoXrm.EntityCollection, error)

func (*CrmServiceClient) RetrieveMultiple

func (this *CrmServiceClient) RetrieveMultiple(query Query.QueryExpression) (GoXrm.EntityCollection, error)

func (*CrmServiceClient) RetrieveWithRM

func (this *CrmServiceClient) RetrieveWithRM(logicalName string, id string, columnSet Query.ColumnSet) (GoXrm.Entity, error)

func (*CrmServiceClient) SetAadAuthResult

func (this *CrmServiceClient) SetAadAuthResult(AadAuthResult AADAuth.AADAuthResult)

func (*CrmServiceClient) SetAttributeNull

func (this *CrmServiceClient) SetAttributeNull(entityLogicalName, id, attributeName string) bool

func (*CrmServiceClient) Update

func (this *CrmServiceClient) Update(target GoXrm.Entity)

func (*CrmServiceClient) Upsert

func (this *CrmServiceClient) Upsert(target GoXrm.Entity, updateOnly bool)

type RMRaw

type RMRaw struct {
	ODataContext                  string      `json "@odata.context"`
	TotalRecordCount              int64       `json "@Microsoft.Dynamics.CRM.totalrecordcount"`
	TotalRecordCountLimitExceeded bool        `json "@Microsoft.Dynamics.CRM.totalrecordcountlimitexceeded"`
	PagingCookie                  string      `json "@Microsoft.Dynamics.CRM.fetchxmlpagingcookie"`
	MoreRecords                   bool        `json "@Microsoft.Dynamics.CRM.morerecords"`
	Value                         interface{} `json "value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL