Get Connector Fields biconnector.connector.fields
Scope:
biconnectorWho can execute the method: any user
The method biconnector.connector.fields returns a description of the connector fields. A table with the description of standard fields can be found in the article Connector: Overview of Methods.
Method Parameters
No parameters.
Code Examples
How to Use Examples in Documentation
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{}' \
https://**put_your_bitrix24_address**/rest/**put_your_user_id_here**/**put_your_webhook_here**/biconnector.connector.fields
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"auth":"**put_access_token_here**"}' \
https://**put_your_bitrix24_address**/rest/biconnector.connector.fields
try
{
const response = await $b24.callMethod(
'biconnector.connector.fields',
{}
);
const result = response.getData().result;
result.error()
? console.error(result.error())
: console.info(result);
}
catch( error )
{
console.error('Error:', error);
}
try {
$response = $b24Service
->core
->call(
'biconnector.connector.fields',
[]
);
$result = $response
->getResponseData()
->getResult();
if ($result->error()) {
echo 'Error: ' . $result->error();
} else {
echo 'Success: ' . print_r($result->data(), true);
}
} catch (Throwable $e) {
error_log($e->getMessage());
echo 'Error calling biconnector.connector.fields: ' . $e->getMessage();
}
BX24.callMethod(
'biconnector.connector.fields',
{},
(result) => {
result.error()
? console.error(result.error())
: console.info(result.data());
}
);
require_once('crest.php');
$result = CRest::call(
'biconnector.connector.fields',
[]
);
echo '<PRE>';
print_r($result);
echo '</PRE>';
Response Handling
HTTP Status: 200
{
"result": {
"fields": [
{
"title": "id",
"type": "integer",
"isRequired": true,
"isReadOnly": true,
"isImmutable": false,
"isMultiple": false
},
{
"title": "title",
"type": "string",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "logo",
"type": "string",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "description",
"type": "string",
"isRequired": false,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "sort",
"type": "integer",
"isRequired": false,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "urlCheck",
"type": "string",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "urlData",
"type": "string",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "urlTableList",
"type": "string",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "urlTableDescription",
"type": "string",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": false
},
{
"title": "settings",
"type": "array",
"isRequired": true,
"isReadOnly": false,
"isImmutable": false,
"isMultiple": true
},
{
"title": "dateCreate",
"type": "datetime",
"isRequired": true,
"isReadOnly": true,
"isImmutable": false,
"isMultiple": false
}
]
},
"time": {
"start": 1740671757.058651,
"finish": 1740671757.179896,
"duration": 0.12124514579772949,
"processing": 5.507469177246094e-5,
"date_start": "2025-02-27T15:55:57+00:00",
"date_finish": "2025-02-27T15:55:57+00:00"
}
}
Returned Data
|
Name |
Description |
|
result |
An object in the format:
where:
|
|
time |
Information about the request execution time |
Error Handling
The method does not return errors.
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
- Update the biconnector.connector.update
- Get Connector by ID biconnector.connector.get
- Get the list of connectors biconnector.connector.list
- Delete Connector biconnector.connector.delete
- Create Connector biconnector.connector.add