Connections

A Connection is the configuration, including the login and other parameters, needed to connect to any datastore used by TIBCO Scribe®. For example, the Salesforce Connector connects to the Salesforce API to read and write data. The credentials that permit that Connector to communicate with the Salesforce API are stored in a Connection. Every Connection is named to allow you to organize and track your TIBCO Scribe® Connections. Each Connector has different Connection requirements. Review the Help for the Connector you plan to use. See Connections in the TIBCO Scribe® Help.

Before using the TIBCO Scribe® API to create, update, or delete Connections, review the following topics:

Endpoints— Use the links in the Endpoints section below to access the TIBCO Scribe® Swagger page and try out the API against your Organization.

Fields For Connections Endpoints — Review the field definition table below the list of Endpoints for detailed field level information.

Considerations

In some cases there are special considerations or use cases for specific endpoints that you should know about before you use the endpoint.

POST /v1/orgs/{orgId}/connections

  • Provide all key-value pair information in the properties section of the model. Otherwise, these properties are set to blank values. To find out which properties are used by a Connector, see the help for that Connector under Connections in the TIBCO Scribe® Help. See properties in the Fields For Connections Endpoints table for additional information.
  • When creating a new Connection, the Connection Alias is derived by TIBCO Scribe® from the Connection Name and cannot be modified. It can be modified later using a PUT method.

PUT /v1/orgs/{orgId}/connections/{connectionId}

  • Protected properties, such as passwords, can be omitted from this call and still retain their original value. Non-protected properties omitted from the call are set to blank values. See properties in the Fields For Connections Endpoints table for additional information.

GET /v1/orgs/{orgId}/connections/{connectionId}/actions

  • If metadata needs to be loaded by the Agent, this function starts loading the metadata, and returns a 404 continuously until loading is complete. Add a delay and submit the call repeatedly until a list of Actions is successfully returned.

GET /v1/orgs/{orgId}/connections/{connectionId}/entities

  • If metadata needs to be loaded by the Agent, this function starts loading the metadata, and returns a 404 continuously until loading is complete. Add a delay and submit the call repeatedly until a list of Entities is successfully returned.
  • If a large number of entities need to be loaded, and you are using the offset to retrieve them in batches, the second batch may try to load before the first batch is finished preventing some entities from loading.

    Workaround: Use GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions instead. The entities are loaded in addition to the actions.

GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

  • If metadata needs to be loaded by the Agent, this function starts loading the metadata, and returns a 404 continuously until loading is complete. Add a delay and submit the call repeatedly until a list of Fields is successfully returned.

GET /v1/orgs/{orgId}/connections/{connectionId}/entitynames

  • If metadata needs to be loaded by the Agent, this function starts loading the metadata, and returns a 404 continuously until loading is complete. Add a delay and submit the call repeatedly until a list of Entity names is successfully returned.

GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions

  • If metadata needs to be loaded by the Agent, this function starts loading the metadata, and returns a 404 continuously until loading is complete. Add a delay and submit the call repeatedly until a list of supported Actions is successfully returned.

POST /v1/orgs/{orgId}/connections/test

  • Test a Connection without saving the Connection model.

Endpoints

Return a list of Connections for an Agent

Create a Connection

Return information about a Connection

Return a list of Actions for a Connection

Return a list of Entities for a Connection

Return a list of Entity names for a Connection

Reset the metadata for a Connection

Return a list of supported Actions for a Connection

Test a Connection

Test Connection Properties

Return the status of a Connection test command

Fields For Connections Endpoints

The list of fields defined in this table is comprehensive across all Connections endpoints. See Endpoints for a list of Connections endpoints with links to the associated Swagger page.

Name
Type
Data Type

Description

Endpoints

Parameters

agentId

query

string

Use this ID to limit the list of data based on whether the selected Agent has that Connection installed. For example, if the Agent is a Cloud Agent, then Dynamics GP Connection information is not returned because the Connector For Dynamics GP does not support the Cloud Agent.

If loading metadata, use this ID to indicate which Agent should load metadata. If not designated, loading metadata fails if this set of metadata has never been loaded.

If testing a Connection, use this ID to indicate which Agent should attempt to communicate with the datastore.

Required when testing Connections.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entitynames
  • GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions
  • POST /v1/orgs/{orgId}/connections/{connectionId}/test
  • POST /v1/orgs/{orgId}/connections/test

commandId

path

string

ID returned when testing a Connection using the POST /v1/orgs/{orgId}/connections/{connectionId}/test or the POST /v1/orgs/{orgId}/connections/test endpoints.

  • GET /v1/orgs/{orgId}/connections/test/{commandId}

connectionId

path

string

GUID/UUID of the configured Connection. Required

  • DELETE /v1/orgs/{orgId}/connections/{connectionId}
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • PUT /v1/orgs/{orgId}/connections/{connectionId}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entitynames
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests
  • POST /v1/orgs/{orgId}/connections/{connectionId}/reset
  • GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions
  • POST /v1/orgs/{orgId}/connections/{connectionId}/test

connectionModel

body

schema

Model of a single Connection including all Connection properties. Used to create and test a Connection in a single call.

  • POST /v1/orgs/{orgId}/connections/test

entityIdOrName

query

string

ID or name of the Entity to be returned. Required

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

expand

query

boolean

Controls whether or not to return associated Objects. Default is true. Depending on the endpoint selected, options include:

  • Connection properties for the Connection being returned
  • Actions supported for the Entity being returned
  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities

limit

query

integer

Maximum number of Objects to return. Default value is 100. Objects include:

  • Connections
  • Actions
  • Entities
  • Fields
  • Relationships
  • Entity Names

See Reading Resources for more information on offset and limit parameters.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entitynames
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

mapType

query

string

Filters data by Solution type and Map type. Types include: 

  • ReplicationServices Map — Replicates data from a source to a target.
  • IntegrationServicesAdvancedMap — Uses supported Actions, represented as Map Blocks in the user interface, to integrate data between a source and one or more targets.
  • IntegrationServicesAdvancedRequestResponseMap — Use data from any Connection with your own application. See Defining An Event Request/Reply Map in the TIBCO Scribe® Help.
  • IntegrationServicesAdvancedMessageMap — Only available for the TIBCO Scribe® Connector for Salesforce. Use a Message-Based Map to process outbound messages from Salesforce and integrate the records within the messages into a target datastore. See Defining An Event Message Map in the TIBCO Scribe® Help.

Refer to Connector documents in TIBCO Scribe® Help to see which Map types are supported.

Note: The IntegrationServicesBasicMap and IntegrationServicesSysControllerMap Map types are no longer supported.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions

model

body

schema

Model for a Connection. Required fields include: Name, ConnectorId, and Color in hexadecimal ARGB format.

  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

name

query

string

User-specified name for the Connection.

  • GET /v1/orgs/{orgId}/connections

nestedPropertyRelations

query

integer

Number of Relationship levels to return. Maximum value is 10. Default value is 0.

Applies only to property type relationships.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

offset

query

integer

Number of Objects to skip before returning results. Default value is 0. Objects include: 

  • Connections
  • Actions
  • Entities
  • Fields
  • Relationships
  • Entity Names

See Reading Resources for more information on offset and limit parameters.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entitynames
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

orgId

path

integer

Unique ID for each Organization. Required

All

Response

action

response

string

Action executed if the selected operation is used. For example, an operation called Insert would execute the Create action. See knownAction for a list of actions and definitions.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions

actions

response

array

Array of Actions and associated properties supported for an Entity.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}

agentId

response

string

GUID/UUID of the Agent that made the metatdata request.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

alias

response

string

Name for the Connection that has no special characters or spaces and is compatible with TIBCO Scribe® formulas. Used by TIBCO Scribe® in Maps to track the operation results associated with a selected Connection in the Formula Editor.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

blockType

response

string

Block Type associated with the Action. See Working With Blocks in the TIBCO Scribe® Help.

Types include: 

  • AddWith (not used, for future support of hierarchical data)
  • BuildReply
  • Delete
  • Fetch
  • Insert
  • InsertWith (not used, for future support of hierarchical data)
  • Lookup
  • NativeQuery
  • Query
  • SendReply
  • Update
  • UpdateInsert
  • UpdateWith (not used, for future support of hierarchical data)
  • Upsert
  • WaitForMessage
  • WaitForRequest
  • GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions

color

response

string

Color, in hexadecimal ARGB format, used for display Blocks in Maps using this Connection. Since Maps can have multiple Connections, Block colors provide at-a-glance cues for the Connection associated with the selected Action, such as Create or Delete. Required.

Note: This value only controls the Block color in the original TIBCO Scribe® Silverlight user interface. It has no effect on the new TIBCO Scribe® UI.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

connectionId

response

string

GUID/UUID of the Connection.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

connectorId

response

string

GUID/UUID of the Connector associated with this Connection. This ID can also be found in the TIBCO Scribe® Help in the documentation for the specific Connector. See Connections in the TIBCO Scribe® Help for a complete list.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

connectorType

response

string

Displays the name of the Connector, such as Eloqua, Microsoft SQL Server, or Microsoft Dynamics GP. See Connections in the TIBCO Scribe® Help for a complete list.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

creationDate

response

string

Date and time in UTC time that the Object was created. Objects include: 

  • Actions
  • Entities
  • Fields
  • Metadata Requests
  • Relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

createDateTime

response

string

Date and time in UTC time that the Connection was created.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

description

response

string

Description of the Entity, Field, or Relationship. This information is returned from the datastore when metadata is loaded.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

endDate

response

string

Date and time in UTC that the metadata request was completed.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

errorMessage

response

string

Error message returned by the Connector when a metadata request fails: 

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

fullName

response

string

Unique value used to reference this Object. Objects include:

  • Actions
  • Entities
  • Fields
  • Relationships

Value cannot be NULL. Must contain only alphanumeric characters or underscore.

IMPORTANT – When using the API, always reference entities, fields, and relationships by their fullName, and not the name or originalName. The fullName is a version of the name that has all special characters removed making it compatible with TIBCO Scribe® formulas and Maps.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

id

response

string

GUID/UUID of the configured Object. Objects include:

  • Actions
  • Connections
  • Connection Tests
  • Entities
  • Fields
  • Metadata Requests
  • Relationships
  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • PUT /v1/orgs/{orgId}/connections/{connectionId}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships
  • POST /v1/orgs/{orgId}/connections
  • POST /v1/orgs/{orgId}/connections/{connectionId}/test
  • POST /v1/orgs/{orgId}/connections/test

isHidden

response

boolean

Indicates whether the Entity is hidden or visible. When set to true this Entity is considered to be of limited value to the user because it is a system or internal Entity that is hidden from the user.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}

isPrimaryKey

response

boolean

Indicates whether this Field is a primary key and may be required when updating data in the datastore.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

knownAction

response

string

Action performed on the datastore when this Action is used in a Map. Actions include:

  • None — Performs no operation, but may be used to group Actions or to add comments.
  • Create — Creates a new record in a target datastore from a source record in the source datastore.
  • InsertUpdate — Inserts the source record into the target. If the insert fails, updates the target record with no error. Insert failures are typically caused by violating the target table’s unique index.
  • UpdateInsert — Updates the existing record in the target with information from the source record. If the target record does not exist, the update fails without logging an error condition and the information is inserted into the target as a new record.
  • Query — Retrieves data from a datastore.
  • Update — Updates existing records in a datastore.
  • Delete — Removes an existing record in a datastore.
  • NativeQuery — For Connectors that support native languages, use Native Query to write your own free form query that can join tables, restrict the source field list, or do a WHERE clause to filter data in a more flexible way. Data can be normalized without foreign keys, or de-normalized by ignoring existing relationships. Supported only for Microsoft SQL Server.

See KnownAction Enumerations in the TIBCO Scribe® Connector Toolkit Help

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

lastModificationDate

response

string

Date and time in UTC time that the Object was last modified. Objects include: 

  • Actions
  • Entities
  • Fields
  • Metadata Requests
  • Relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

lastModificationDateTime

response

string

Date and time in UTC time that the Connection was last modified.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

maxOccurs

response

integer

Constrains the number of times the specified field can appear in the Entity. Value of 0 = 1. Not currently used, for future support of hierarchical data.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

minOccurs

response

integer

Constrains the number of times the specified field can appear in the Entity. Value of 0 = 1. Not currently used, for future support of hierarchical data.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

modificationBy

response

string

ID of the Agent that modified the Object. Objects include:

  • Connections
  • Actions
  • Entities
  • Fields
  • Relationships
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

name

response

string

Name of the Object. Objects include: 

  • Connections
  • Actions
  • Entities
  • Fields
  • Relationships
  • Connection Tests

Value cannot be NULL.

IMPORTANT – When using the API, always reference entities, fields, and relationships by their fullName, and not the name or originalName. The fullName is a version of the name that has all special characters removed making it compatible with TIBCO Scribe® formulas and Maps.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • PUT /v1/orgs/{orgId}/connections/{connectionId}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships
  • POST /v1/orgs/{orgId}/connections
  • POST /v1/orgs/{orgId}/connections/{connectionId}/test
  • POST /v1/orgs/{orgId}/connections/test

nullable

response

boolean

Indicates whether a Field in an Entity accepts NULL values. Not currently used.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

objectDefinitionId

response

string

GUID/UUID of the entity being requested.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

objectName

response

string

Name of the Entity returned in the metatdata request.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

ordinal

response

integer

Controls the display order of the fields when they are not sorted. Columns in the User Interface allow you to sort A to Z or Z to A. Note: This has not yet been implemented.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

operationName

response

string

Name of the Operation or Action that can be executed, such as Create or Delete. Displays on the Operation Block in the TIBCO Scribe® User Interface.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/supportedactions

originalName

response

string

Original name of the entity. In some cases, TIBCO Scribe® renames entities, fields, and relationships to remove special characters that are not compatible with TIBCO Scribe® formulas. Always refer to these objects by the fullName instead.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

parentId

response

string

A temporary ID for a parent object generated each time this endpoint is called and used to group entities and relationships. Used with uniqueId.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

path

response

string

Fully qualified name for the related entity used for formulas. Format is:

EntityFullName.RelatedEntityFullName

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

presentationType

response

string

Field's data type, such as string or GUID, for displaying the value in the field. This field is not used by TIBCO Scribe®.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

properties

response

string

Property array containing key value pairs. Each key contains the name of a Connection parameter. The associated value contains the value for the Connection parameter. For example, for the Eloqua Connection you have a key named Company and its corresponding value contains the company name as defined in Eloqua.

Note: When creating a new Connection, you must provide a key value pair for each Connection property. Otherwise, the properties are set to blank values.

Note: When updating a Connection, protected properties, such as passwords, can be omitted and still retain their original value. Non-protected properties omitted during an update are set to blank values.

Note: Connection properties are encrypted. See Connection Properties for additional information.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

propertyType

response

string

Field's data type, such as string or double.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

relatedEntityFullName

response

string

Full name of the Related Entity. For example, if the selected Entity is Contact, the name of the Related Entity could be Address. See thisEntityFullName.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

relatedProperties

response

string

Relationship fields of the Related Entity. See thisProperties.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

relationType

response

string

Types of relationships this Entity has to other Entities. Types include:

  • 0 — Parent — This Entity is a Parent to another Entity.
  • 1 — Child — This Entity is a Child of another Entity.
  • 2 — ManyToMany — This Entity has multiple relationships to another Entity. This is a complex field.
  • 3 — List of complex fields.
  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

reply

response

string

Status of a Connection test, such as SUCCESS.

  • POST /v1/orgs/{orgId}/connections/{connectionId}/test
  • POST /v1/orgs/{orgId}/connections/test

replyData

response

array

Key value pairs containing the names and encrypted values for the fields on the Connection dialog.

  • GET /v1/orgs/{orgId}/connections/test/{commandId}

requiredInActionInput

response

boolean

Controls the display of required fields in the TIBCO Scribe® User Interface. Should be false for fields, such as an ID fields, that are listed as “required” or NOT Nullable by the Connector's API, but are generated by the Connector's API on insert.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

size

response

integer

Field length.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

startDate

response

string

Date and time in UTC that the metadata request was sent.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

state

response

string

Status of the metadata request. Statuses include: 

  • Done — Request is complete and the record is in the database.
  • Pending — Response to the request has not yet been received.
  • Error — The Connector has returned an error message.
  • Null — No metadata requests have been made for this Connection.
  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

status

response

string

Status of the Connection test.

  • POST /v1/orgs/{orgId}/connections/{connectionId}/test
  • POST /v1/orgs/{orgId}/connections/test

supportsBulk

response

boolean

Indicates whether the Action supports Batch processing. Instead of sending records one at a time, the Agent creates a batch of multiple records and sends the batch to the API of the target datastore in one call. This reduces API calls and increases performance. The target datastore must support bulk or Batch processing. See Batch Processing in the TIBCO Scribe® Help.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

supportsConstraints

response

boolean

Indicates whether or not filters can be used. Applies only to Query actions.

  • true — Supports filters.
  • false — Does not support filters.
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

supportsInput

response

boolean

Indicates whether or not field mappings can be used. Typically this is set to false for Query and Delete actions, and true for everything else.

  • true — Supports field mappings.
  • false — Does not support field mappings.
  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

supportsLookupConditions

response

boolean

Indicates whether the action supports criteria for a Lookup Operation, such as checking a datastore to determine if a record with a matching ID exists. See Lookup Block in the TIBCO Scribe® Help.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

supportsMultipleRecordOperations

response

boolean

This field is not used.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

supportsRelations

response

boolean

Indicates whether the Action supports parent/child relationships. Parent/child record relationships allow you to associate a single master record with a number of related records. For example, you can associate a Sales Order or parent record with multiple Sales Order Items or child records.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

supportsSequences

response

boolean

This field is not used.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/actions

tenantId

response

string

GUID/UUID of the Organization that made the metatdata request.

  • GET ​/v1​/orgs​/{orgId}​/connections​/{connectionId}​/metadataRequests

thisEntityFullName

response

string

Full name of the selected Entity, such as Contact which could have a Related Entity of Address. See relatedEntityFullName.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

thisProperties

response

string

Relationship fields of the Related Entity. See relatedProperties.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

uniqueId

response

string

A temporary ID for a related entity generated each time this endpoint is called and used to group entities and relationships. Used with parentId.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/relationships

usedInLookupCondition

response

boolean

Used to filter the list of fields that display as possible Match Criteria in an operation.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

usedInActionOutput

response

boolean

This field is not used.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

usedInActionInput

response

boolean

Controls the display of read only fields in the User Interface.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

usedInQueryConstraint

response

boolean

Used to filter the list of source fields available for use as filters for Query or Fetch.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

usedInQuerySelect

response

boolean

Used to filter the list of source fields in the Formula Editor and mapping user interface.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

usedInQuerySequence

response

boolean

This field is not used.

  • GET /v1/orgs/{orgId}/connections/{connectionId}/entities/{entityIdOrName}/fields

usedInSolutions

response

string

List of Solutions configured to use this Connection. A Connection cannot be deleted if it is configured in a Solution.

  • GET /v1/orgs/{orgId}/connections
  • GET /v1/orgs/{orgId}/connections/{connectionId}
  • POST /v1/orgs/{orgId}/connections
  • PUT /v1/orgs/{orgId}/connections/{connectionId}

 

See

Endpoints

API Basics