Skip to main content

Service Connection Tools

Overview​

Service Connections define external services (e.g. REST APIs) that Logic Flows can call. Logic Assist supports searching, listing, reading, previewing, creating, and updating Service Connections. Requires the Logic Composer product.

ServiceConnectionType values:

ValueMeaning
RestApiA REST API service connection

search_service_connections​

Searches Logic Fabric service connections by name.

ParameterTypeRequiredDescription
serviceConnectionNamestring✓The name of the service connection to search for.

Returns: Matching Service Connections including name, connection type, title, description, and project.


list_service_connections​

Lists Logic Fabric service connections.

ParameterTypeRequiredDescription
projectIdGUIDThe ID of the project to filter service connections by. Optional.
pageNumberintThe page number for pagination. If not provided, defaults to the first page. Optional.
pagingCookiestringThe paging cookie for pagination. This should be provided if pageNumber is provided and there are more records to retrieve. Optional.

Returns: A paginated list of Service Connections including name, connection type, title, description, and project.

See Pagination for details on iterating through large result sets.


get_service_connection_details​

Gets the details for a Logic Fabric service connection by ID.

ParameterTypeRequiredDescription
serviceConnectionIdGUID✓The ID of the service connection.

Returns: Full Service Connection details including name, connection type, configuration, title, description, and project.


get_service_connection_preview_url​

Get a preview URL for a Logic Fabric service connection.

ParameterTypeRequiredDescription
serviceConnectionNamestring✓The name of the service connection.
projectNamestring✓The name of the project for the service connection.
connectionTypeServiceConnectionType✓The type of the service connection.
configurationstring✓The configuration for the service connection in JSON format.
titlestringThe title for the service connection. Optional.
descriptionstringThe description for the service connection. Optional.

Returns: A preview URL for the service connection record.


create_service_connection​

Creates a new Logic Fabric service connection and returns the service connection id.

ParameterTypeRequiredDescription
serviceConnectionNamestring✓The name of the service connection to create.
projectIdGUID✓The ID of the project to create the service connection in.
connectionTypeServiceConnectionType✓The type of the service connection.
configurationstring✓The configuration for the service connection in JSON format.
titlestringThe title for the service connection. Optional.
descriptionstringThe description for the service connection. Optional.

Returns: The GUID of the newly created Service Connection and its URL.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.


update_service_connection_configuration​

Updates a Logic Fabric service connection configuration.

ParameterTypeRequiredDescription
serviceConnectionIdGUID✓The ID of the service connection to update.
configurationstring✓The new configuration for the service connection.

Returns: Confirmation that the service connection configuration was updated.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.

Best practice: Always call get_service_connection_details first to read the current configuration before updating, to avoid unintentionally overwriting parts of the configuration you did not intend to change.