# adminus_crm_fetch_contracts

Name adminus_crm_fetch_contracts
Type callback
Version 1.0
Since 2020-01-01

# Prologue

Gets contract ids from given input variable, load their data from CRM and fills received data to output variable.

# Configuration

events:

	# Event's name
	on_step_start:

		# Callback's name
		adminus_crm_fetch_contracts:
			config:

				# Required
				# LPL support
				# Variable containing API connection with user credentials as DSN string
				# For example: https://user:pass@crm.ispalliance.cz/api/
				connection: "'https://username:password@host'"

				# Required
				# variable name containing the list of contract ids (e.g.: used in contract pick panel) or single contract id
				input: contracts

				# Required
				# variable in which contracts data should be stored
				output: contracts_data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22