# Callback (adminus_crm_upload_files)

Upload files into CRM

# Config

adminus_crm_upload_files:

	config:

		# Required | Type: string | Default: null
		# DSN string with API URL and credentials
		#
		### Examples
		### - https://user:pass@crm.ispalliance.cz/api/
		connection: "https://username:password@host"

		# Optional | Type: int | Default: null
		# Customer ID from CRM
		customer: 6

		# Optional | Type: int | Default: null
		# Contract ID from CRM
		contract: 7

		# Optional | Type: string | Default: null
		# Name of variable which contain IDs of files
		files: "myvar"

		# Required | Type: string | Default: null
		# Name of variable in which result of api requests should be stored
		#
		### Note
		### Json contains objects with keys fileId(id of file in lotus), upload(result of upload file to crm) and update(result of update file records in CRM).
		output: "myvar"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29