Documentation

crm.activity.fields

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
AUTOR_ID Activity author IDuser
AUTOCOMPLETE_RULE Autocompletioninteger
BINDINGS Bindingscrm_activity_bindingMultiple, read only.
COMMUNICATIONS crm_activity_communicationMultiple, required.
COMPLETED Completedchar
CREATED Createddatetime
DEADLINE Deadlinedatetime
DESCRIPTION Descriptionstring
DESCRIPTION_TYPE Description typecrm_enum_contenttype
DIRECTION crm_enum_activitydirection
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 OwnerintegerUnmodifiable.
OWNER_TYPE_ID Owner typecrm_enum_ownertype Unmodifiable.
PRIORITY Prioritycrm_enum_activitypriority
PROVIDER_DATA string
PROVIDER_GROUP_ID string
PROVIDER_ID Provider IDstring
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, unmodifiable
WEBDAV_ELEMENTS Added filesdiskfileMultiple. Outdated, saved for compatibility.


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019