Get an Estimate by ID: crm.quote.get
Scope:
crmWho can execute the method: a user with "read" access permission for estimates
Method Development Halted
The method crm.quote.get is still operational, but there is a more current alternative: crm.item.get.
The method crm.quote.get retrieves an estimate by its ID.
Method Parameters
Required parameters are marked with *
|
Name |
Description |
|
id* |
The ID of the estimate. The ID can be obtained using the methods crm.quote.list and crm.quote.add |
Code Examples
How to Use Examples in Documentation
Example of retrieving an estimate with id = 43.
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id":43}' \
https://**put_your_bitrix24_address**/rest/**put_your_user_id_here**/**put_your_webhook_here**/crm.quote.get
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id":43,"auth":"**put_access_token_here**"}' \
https://**put_your_bitrix24_address**/rest/crm.quote.get
try
{
const response = await $b24.callMethod(
'crm.quote.get',
{
id: 43,
}
);
const result = response.getData().result;
console.info(result);
}
catch( error )
{
console.error('Error:', error);
}
try {
$response = $b24Service
->core
->call(
'crm.quote.get',
[
'id' => 43,
]
);
$result = $response
->getResponseData()
->getResult();
echo '<pre>';
print_r($result);
echo '</pre>';
} catch (Throwable $e) {
error_log($e->getMessage());
echo 'Error getting estimate: ' . $e->getMessage();
}
BX24.callMethod(
'crm.quote.get',
{
id: 43,
},
(result) => {
result.error()
? console.error(result.error())
: console.info(result.data())
;
},
);
require_once('crest.php');
$result = CRest::call(
'crm.quote.get',
[
'id' => 43,
]
);
echo '<PRE>';
print_r($result);
echo '</PRE>';
Response Handling
HTTP Status: 200
{
"result": {
"ID": "43",
"TITLE": "Estimate for Furniture Supply",
"STATUS_ID": "SENT",
"CURRENCY_ID": "EUR",
"OPPORTUNITY": "150000.00",
"TAX_VALUE": "0.00",
"COMPANY_ID": "1",
"CONTACT_ID": null,
"MYCOMPANY_ID": "340",
"BEGINDATE": "2026-03-13T03:00:00+01:00",
"CLOSEDATE": "2026-03-20T03:00:00+01:00",
"ACTUAL_DATE": "2026-03-20T03:00:00+01:00",
"ASSIGNED_BY_ID": "1",
"CREATED_BY_ID": "577",
"MODIFY_BY_ID": "577",
"DATE_CREATE": "2026-03-13T13:15:37+01:00",
"DATE_MODIFY": "2026-03-13T16:56:07+01:00",
"OPENED": "Y",
"CLOSED": "N",
"COMMENTS": "Conditions and deadlines clarified",
"LEAD_ID": null,
"DEAL_ID": null,
"QUOTE_NUMBER": "43",
"CONTENT": null,
"TERMS": null,
"PERSON_TYPE_ID": "1",
"LOCATION_ID": null,
"CLIENT_TITLE": null,
"CLIENT_ADDR": null,
"CLIENT_CONTACT": null,
"CLIENT_EMAIL": null,
"CLIENT_PHONE": null,
"CLIENT_TP_ID": null,
"CLIENT_TPA_ID": null,
"UTM_SOURCE": null,
"UTM_MEDIUM": null,
"UTM_CAMPAIGN": null,
"UTM_CONTENT": null,
"UTM_TERM": null,
"PARENT_ID_136": null,
"LAST_COMMUNICATION_TIME": null,
"LAST_ACTIVITY_BY": "577",
"LAST_ACTIVITY_TIME": "2026-03-13T13:15:37+01:00",
"UF_CRM_566EB0AC9B7FC": "",
"UF_CRM_566EB0AFA9895": "0",
"UF_CRM_566EB0AFB84F1": "Online Store",
"UF_CRM_566EB0AFC58FD": "0",
"UF_CRM_566EB0AFDA4EF": "",
"UF_CRM_566EB0AFEDB2F": "",
"UF_CRM_566EB0B014EC2": "",
"UF_CRM_566EB0B0231B2": "",
"UF_CRM_566EB0B02F46F": "",
"UF_CRM_566EB0B03CDCD": "",
"UF_CRM_566EB0B04D190": "267",
"UF_CRM_577BBCE34CC90": "",
"UF_CRM_577BBCE354F86": ""
},
"time": {
"start": 1773411068,
"finish": 1773411068.183631,
"duration": 0.18363094329833984,
"processing": 0,
"date_start": "2026-03-13T17:11:08+01:00",
"date_finish": "2026-03-13T17:11:08+01:00",
"operating_reset_at": 1773411668,
"operating": 0
}
}
Returned Data
|
Name |
Description |
|
result |
The root element of the response. Contains fields of the estimate. The set and types of fields can be obtained using the method crm.quote.fields |
|
time |
Information about the request execution time |
Error Handling
HTTP Status: 400
{
"error": "",
"error_description": "Not found"
}
|
Name |
Description |
|
error |
String error code. It may consist of digits, Latin letters, and underscores |
|
error_description |
Textual description of the error. The description is not intended to be shown to the end user in its raw form |
Possible Error Codes
|
Code |
Description |
Value |
|
|
|
An invalid |
|
|
|
The user does not have permission to read estimates |
|
|
|
The estimate with the provided |
Statuses and System Error Codes
HTTP Status: 20x, 40x, 50x
The errors described below may occur when calling any method.
|
Status |
Code |
Description |
|
|
|
An internal server error has occurred, please contact the server administrator or Bitrix24 technical support |
|
|
|
An internal server error has occurred, please contact the server administrator or Bitrix24 technical support |
|
|
|
The request intensity limit has been exceeded |
|
|
|
The current method is not allowed to be called using batch |
|
|
|
The maximum length of parameters passed to the batch method has been exceeded |
|
|
|
Invalid access token or webhook code |
|
|
|
The methods must be called using the HTTPS protocol |
|
|
|
The REST API is blocked due to overload. This is a manual individual block, to remove it you need to contact Bitrix24 technical support |
|
|
|
The REST API is available only on commercial plans |
|
|
|
The user whose access token or webhook was used to call the method lacks permissions |
|
|
|
The manifest is not available |
|
|
|
The request requires higher privileges than those provided by the webhook token |
|
|
|
The provided access token has expired |
|
|
|
The user does not have access to the application. This means that the application is installed, but the account administrator has allowed access to this application only for specific users |
|
|
|
The public part of the site is closed. To open the public part of the site on an on-premise installation, disable the option "Temporary closure of the public part of the site". Path to the setting: Desktop > Settings > Product Settings > Module Settings > Main Module > Temporary closure of the public part of the site |
Continue Learning
- Add Estimate crm.quote.add
- Update Commercial Estimate crm.quote.update
- Get a List of Estimates by Filter crm.quote.list
- Delete Estimate crm.quote.delete
- Get Fields of the Estimate crm.quote.fields