Documentation

crm.type.get

Scope: catalog Permissions to execute: administrator

crm.type.get({id: number})

Passes information about SPA with code>id type.

Response:

{
    "type": {
      "id":  24,
      "title": "SPA",
      "code": "",  
      "createdBy": 1,
      "entityTypeId": 132,
      "isCategoriesEnabled": "Y",
      "isStagesEnabled": "Y",
      "isBeginCloseDatesEnabled": "Y",
      "isClientEnabled": "Y",
      "isUseInUserfieldEnabled": "Y",
      "isLinkWithProductsEnabled": "Y",
      "isCrmTrackingEnabled": "N",
      "isMycompanyEnabled": "Y",
      "isDocumentsEnabled": "Y",
      "isSourceEnabled": "Y",
      "isObserversEnabled": "Y",
      "isRecyclebinEnabled": "Y",
      "isAutomationEnabled": "Y",
      "isBizProcEnabled": "Y",
      "isSetOpenPermissions": "Y",
      "relations":  {
        "parent": [
          {
              "entityTypeId": 3,
              "isChildrenListEnabled": "Y",
              "isPredefined": "Y"
          }
        ],
        "child": []
      },
      "linkedUserFields": {
        "CALENDAR_EVENT|UF_CRM_CAL_EVENT": "N",
        "TASKS_TASK|UF_CRM_TASK": "N",
        "TASKS_TASK_TEMPLATE|UF_CRM_TASK": "N",
      },
      "customSections": [
        {
          "id": 18,
          "title": "New section",
          "isSelected": "N"
        }
      ]
    }
}


© «Bitrix24», 2001-2024