﻿2026.01.26
	- Added new api for Google calendar events
		/api/GoogleCalendar/createShortEvent
		/api/GoogleCalendar/createLongEvent
		/api/GoogleCalendar/createFromTodo
		/api/GoogleCalendar/setServiceAccountKey
	- Added new api for Outlook calendar events
		/api/OutlookCalendar/createShortEvent
		/api/OutlookCalendar/createLongEvent
		/api/OutlookCalendar/createFromTodo
		/api/OutlookCalendar/setAccountIDs
	
2026.01.14
	- Added folder 'Defaults' with appsetings.json and web.config, used for new installations
	
2025.12.03
	- Corrected: when in HOST mode, with token as authorization, You can logg to other databases if you know their CompanyDB
		added flag "AllowDBOnlyFromGeneratedToken": 1 
		for this to work
	- Added new endpoint for ToDo's:
		ToDo: 
		/api/ToDo/retrieve
		/api/ToDo/insert
		/api/ToDo/priorities
		/api/ToDo/depts
		/api/ToDo/costdrvs
		/api/ToDo/ares
		/api/ToDo/workflows
		/api/ToDo/users
		/api/ToDo/tasktemplate
	
2025.01.22
	- PAWS updated to .NET8

2024.12.30 
	- corrected bug when inserting/updateing in DBObjectControler when double is read as integer

2024.07.31 RC rev  (Alpha rev )
	- added new endpoint: /api/Move/additemstomoveoutfromdocs
		Adds idents to move OUT document from other document(s)
		functionality from PA documents, '+' button
	- added new endpoint: /api/Move/additemstomoveinfromdocs
		Adds idents to move IN document from other document(s)
		functionality from PA documents, '+' button
	
2024.04.12 RC rev 109193 (Alpha rev 109191)
	- added new columns to the_setitem for inserting new Idents
	- corrected bug in Creation of document from order using "/api/Order/createdocfromorder" with message "The multi-part identifier \"doctypes.AcSetOf\" could not be bound.
	- corrected bug in Adding/changing lines in moveItem is impossible by using the folliwing API call "/api/Move/updateitems/{overwriteitems}" with message Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'PACoreApi.Models.THeSetUm'

2024.03.22 RC rev 108842 (Alpha rev 108841)
	- Added sample to : /api/Move/insert
	- Added sample to: /api/Move/update/{overwriteitems}
	- Added new param to /api/Move/update/{overwriteitems}
		if overwriteitems is true, than items in request will be added and/or updated and those items not matched in request data will be deleted
		if false, items in request will be added and/or updated, and items already in move document will remain intact
		item matching is done with AcKey and anNo params
	- added new endpoint: /api/Move/updateitems/{overwriteitems}
		add and or update items in document
		overwriteitems is samo as in /api/Move/update
	- added sample for /api/Move/updateitems
	- /api/Move/{acKey} changed to HTTPDELETE
	- added new endpoint /api/Move/deleteitem
		for deleting single item in document
	- added new endpoint /api/Move/getdoctypes
		for document type retrieveing
		added sample
	- added new endpoint /api/Move/getdocstatuses
		for document type statuses retrieving
		added sample
	- added new endpoint /api/Move/changedocstatus/{acKey}/{docStatus}
		for changing document status
	- added new endpoint /api/Order/{acKey}
		for order deleting
	- added new endpoint /api/Order/{id}/{anNo}
		for order item deleting
	- added new endpoint /api/Order/createdocfromorder
		for creating move document from order
		this is functionality from PA, in Order form, there is 'Kreiraj' button, and in the opened form, there is 'Kreiraj Dokument'
	- added new endpoint /api/Order/createorderfromorder
		for creating order document from order
		this is functionality from PA, in Order form, there is 'Kreiraj' button, and in the opened form, there is 'Kreiraj Naročilo'

2024.02.29 RC rev 108275 (Alpha rev 108272)
	- if inserting new Order than NNo in details is NOT needed (it will be autocalculated)
	- if inserting new Order params ChDocType, CDept in detail, if not present will be taken from Head params
	- UpdateItem will call RecalculateHead

2024.02.21 RC rev 108137 (Alpha rev 108136)
	- corrected error reporting if SP has own transaction managment, and includes xact_state,
	  mainly in MOVE (and ORDER) end points

2024.02.12 RC rev 107981 (Alpha rev 107978)
	- /api/Users/validatesession now returns datetime until cookie/token is valid, 
	  if valid returns HTTP code 200, if not returns 401
	  this applies to atCookie and atToken AuthType
	- TokenExpiresDays renamed to TokenExpiresMinutes, and the value denotes MINUTES