For deals

Types

GET https://do.workzeal.com/directory/32

Path Parameters

Name
Type
Description

/32*

Int

Reference book ID

Headers

Name
Type
Description

Authorization*

String

Bearer XXXXX.XXXXXX.XXXXX

Content-Type

String

application/json

Answer

{
  "status": "success",
  "error": "",
  "code": null,
  "rows": 0,
  "pages": 0,
  "page": 0,
  "value": "[
               {
                "ID": 1,
                "NAME": "Some value"
                }
            ]"
}

Columns

Name
Description

ID

ID

NAME

Value

Статусы

Please note: different deal types have their own statuses, which must be taken into account when adding or editing a deal. ID_TYPE_OF_DEAL indicates the deal type code to which the status is assigned. IS_FINAL indicates whether the status is closing for the deal; closing statuses are common to all deal types.

Statuses

GET https://do.workzeal.com/directory/31

Path Parameters

Name
Type
Description

/31*

Int

Reference book ID

Headers

Name
Type
Description

Authorization

String

Bearer XXXXX.XXXXXX.XXXXX

Content-Type

String

application/json

Answer

{
  "status": "success",
  "error": "",
  "code": null,
  "rows": 0,
  "pages": 0,
  "page": 0,
  "value": "[
               {
                "ID": 1,
                "NAME": "Some value",
                "ID_TYPE_OF_DEAL" : 1,
                "IS_FINAL" : false
                }
            ]"
}

Columns

Имя
Описание

ID

ID

NAME

Value

ID_TYPE_OF_DEAL

Related to a specific type of deals

IS_FINAL

The flag indicates whether the status is closing for the deal or not (true or false).