Documentation

crm.activity.fields

Scope: catalog Permissions to execute: for all

crm.activity.fields()

Returns the activity fields.

Parameters

No parameters.

Example

       		BX24.callMethod(
			"crm.activity.fields", 
			{}, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.dir(result.data());
			}
		);	
	

Fields

Field DescriptionTypeNote
ASSOCIATED_ENTITY_ID ID of an entity associated with the activityintegerRead only
AUTHOR_ID Activity author IDuser
AUTOCOMPLETE_RULE Autocompletioninteger
BINDINGS Bindingscrm_activity_bindingMultiple, read only.
COMMUNICATIONS crm_activity_communicationMultiple, required.
COMPLETED Completedchar
CREATED Createddatetime
DEADLINE DeadlinedatetimeField is not specified directly, value is sourced from START_TIME for a call and meeting and from END_TIME for a task.
DESCRIPTION Descriptionstring
DESCRIPTION_TYPE Description typecrm.enum.contenttype
DIRECTION crm.enum.activitydirectionApplicable for calls and emails, not used for meetings.
EDITOR_ID EditoruserRead only
END_TIME Completion timedatetime
FILES Added filesdiskfileMultiple
ID Activity IDintegerRead only
LAST_UPDATE Date of the last update datedatetimeRead only
LOCATION Locationstring
NOTIFY_TYPE Notification typecrm.enum.activitynotifytype
NOTIFY_VALUE integerRead only
ORIGINATOR_ID Data source IDstringUsed only to link to an external source.
ORIGIN_ID Element ID in the data sourcestringUsed only to link to an external source.
ORIGIN_VERSION Original versionstringUsed for protection of data from random deletion by external system. If data was imported and was not modified in the external system. then such data can be safely edited in CRM, without danger of date deletion by the next download
OWNER_ID OwnerintegerInvariable.
OWNER_TYPE_ID Owner typecrm_enum_ownertypeInvariable.
PRIORITY Prioritycrm_enum_activitypriority
PROVIDER_DATA string
PROVIDER_GROUP_ID string
PROVIDER_ID Provider IDstringRead only
PROVIDER_TYPE_ID Provider type IDstringStatus from provider directory
PROVIDER_PARAMS object
RESPONSIBLE_ID ResponsibleuserThis field is required.
RESULT_CURRENCY_ID string
RESULT_MARK integer
RESULT_SOURCE_ID string
RESULT_STATUS integer
RESULT_STREAM integer
RESULT_SUM double
RESULT_VALUE double
SETTINGS Settingsobject
START_TIME Start timedatetime
STATUS Statuscrm_enum_activitystatus
SUBJECT SubjectstringThis field is required
TYPE_ID Typecrm_enum_activitytypeThis field is required, invariable
WEBDAV_ELEMENTS Added filesdiskfileMultiple. Legacy, saved for compatibility.


© «Bitrix24», 2001-2024