workflow

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: 3 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestAttachments

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

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

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

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

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

	// Request: The request this attachment is linked to
	Request *types.GUID `json:"Request,omitempty"`
}

RequestAttachments: Service: Workflow Entity: RequestAttachments URL: /api/v1/beta/{division}/workflow/RequestAttachments HasWebhook: false IsInBeta: true Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=WorkflowRequestAttachments

func (*RequestAttachments) GetPrimary

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

type RequestAttachmentsEndpoint

type RequestAttachmentsEndpoint service

RequestAttachmentsEndpoint is responsible for communicating with the RequestAttachments endpoint of the Workflow service.

func (*RequestAttachmentsEndpoint) Get

Get the RequestAttachments entitiy in the provided division.

func (*RequestAttachmentsEndpoint) List

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

func (*RequestAttachmentsEndpoint) UserHasRights

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

type WorkflowService

type WorkflowService struct {

	// Endpoints available under this service
	RequestAttachments *RequestAttachmentsEndpoint
	// contains filtered or unexported fields
}

WorkflowService is responsible for communication with the Workflow endpoints of the Exact Online API.

func NewWorkflowService

func NewWorkflowService(apiClient *api.Client) *WorkflowService

NewWorkflowService creates a new initialized instance of the WorkflowService.

Jump to

Keyboard shortcuts

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