Available translations





loading results
API Query Response
This node enables the definition of a particular response from the API call.
Этот узел позволяет определять конкретный ответ на вызов API.
Bu düğüm, API çağrısından belirli bir yanıtın tanımını sağlar.
API Query Response Configuration
Конфигурация API Query Response
API Sorgu Yanıt Yapılandırması
Properties
Свойства
Özellikleri
- codeName: At the
codeNameproperty, the API Fetcher Bot will expect to find the http response code from the API call handled by this node. You will need to have at least one of these nodes with acodeName= "200" (that is the standard code for success).
- codeName: в свойстве
codeNameбот API Fetcher Bot ожидает найти код ответа http от вызова API, обрабатываемого этим узлом. Вам понадобится хотя бы один из этих узлов сcodeName= "200" (это стандартный код для успеха).
- codeName:
codeNameözelliğinde, API Alıcısı Botu, bu düğüm tarafından işlenen API çağrısından http yanıt kodunu bulmayı bekleyecektir. Bu düğümlerden en az birinecodeName= "200" (başarı için standart kod budur) sahip olmanız gerekir.
- isError: Define if the status code should be considered an error or not.
- isError: Определите, следует ли считать код состояния ошибкой или нет.
- isError: Durum kodunun bir hata olarak kabul edilip edilmeyeceğini tanımlayın.
Tip: If you wish to be able to react to other error codes, you should also have more of these nodes with the codeName of each status you want to cover. If the API Data Fetcher Bot receives a response code that has not been defined, it will stop processing and error out.
Tip: Если вы хотите иметь возможность реагировать на другие коды ошибок, у вас также должно быть больше этих узлов с codeName каждого статуса, который вы хотите охватить. Если бот API Data Fetcher Bot получит код ответа, который не был определен, он прекратит обработку и выдаст ошибку.
Tip: İpucu: Diğer hata kodlarına tepki verebilmek istiyorsanız, kapsamak istediğiniz her durumun kodAdı ile bu düğümlerden daha fazlasına sahip olmalısınız. API Veri Alıcı Botu ( API Data Fetcher Bot ), tanımlanmamış bir yanıt kodu alırsa, işlemeyi durdurur ve hata verir.
Here is an example API Query Response config:
Вот пример конфигурации ответа на запрос API:
İşte örnek bir API Sorgu Yanıtı yapılandırması:
{
"codeName": "200",
"isError": false
} Initial Values
These are the Initial Values for API Query Response configuration:
{
"codeName": "",
"isError": false
} Examples
This is a list of properties featured by the API Query Response configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
API Query Response Menu
The API Query Response node has the following Node Menu items:
The Configure menu item has the following properties:
- action: Configure
- actionFunction:
uiObject.configEditor.activate
- label: Configure
- iconPathOn: configuration
- iconPathOff: configuration
The Add API Response Schema menu item has the following properties:
- action: Add UI Object
- disableIfPropertyIsDefined: true
- propertyToCheckFor:
apiResponseSchema
- label: Add API Response Schema
- relatedUiObject: API Response Schema
- actionFunction:
payload.executeAction
- actionProject: Visual-Scripting
- relatedUiObjectProject: Foundations
The Delete menu item has the following properties:
- action: Delete UI Object
- actionProject: Visual-Scripting
- askConfirmation: true
- confirmationLabel: Confirm to Delete
- label: Delete
- iconPathOn: delete-entity
- iconPathOff: delete-entity
- actionFunction:
payload.executeAction
Tip: When a menu item is grayed out, it means that API Query Response already has the required child type that the menu item may add, and only that child is allowed for that case.
API Query Response Children
The API Query Response node has the following childrenNodesProperties:
The Api Response Schema node property features the following properties:
- name:
apiResponseSchema
- type: node
- childType: API Response Schema
- autoAdd: true
API Query Response Attaching Rules
The following are the Node Attaching Rules that govern the attachment of API Query Response with other nodes:
Compatible Types: