AptlyStar

Agiloft

Manage records in Agiloft CLM

Instrucciones de uso

Integrate with Agiloft contract lifecycle management to create, read, update, delete, and search records. Supports file attachments, SQL-based selection, saved searches, and record locking across any table in your knowledge base.

Herramientas

agiloft_attach_file

Attach a file to a field in an Agiloft record.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts")
recordIdstringSíID of the record to attach the file to
fieldNamestringSíName of the attachment field
filefileNoFile to attach
fileNamestringNoName to assign to the file (defaults to original file name)

Salida

ParámetroTipoDescripción
recordIdstringID of the record the file was attached to
fieldNamestringName of the field the file was attached to
fileNamestringName of the attached file
totalAttachmentsnumberTotal number of files attached in the field after the operation

agiloft_attachment_info

Get information about file attachments on a record field.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts")
recordIdstringSíID of the record to check attachments on
fieldNamestringSíName of the attachment field to inspect

Salida

ParámetroTipoDescripción
attachmentsarrayList of attachments with position, name, and size
↳ positionnumberPosition index of the attachment in the field
↳ namestringFile name of the attachment
↳ sizenumberFile size in bytes
totalCountnumberTotal number of attachments in the field

agiloft_create_record

Create a new record in an Agiloft table.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts", "contacts.employees")
datastringSíRecord field values as a JSON object (e.g., {"first_name": "John", "status": "Active"})

Salida

ParámetroTipoDescripción
idstringID of the created record
fieldsjsonField values of the created record

agiloft_delete_record

Delete a record from an Agiloft table.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts", "contacts.employees")
recordIdstringSíID of the record to delete

Salida

ParámetroTipoDescripción
idstringID of the deleted record
deletedbooleanWhether the record was successfully deleted

agiloft_get_choice_line_id

Resolve the internal numeric ID of a choice-list value, for use in EWSelect WHERE clauses against choice fields.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "case", "contracts")
fieldNamestringSíChoice field name (e.g., "priority", "status")
valuestringSíChoice display value to resolve (e.g., "High", "Active")

Salida

ParámetroTipoDescripción
choiceLineIdnumberInternal numeric line ID of the choice value

agiloft_lock_record

Lock, unlock, or check the lock status of an Agiloft record.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts")
recordIdstringSíID of the record to lock, unlock, or check
lockActionstringSíAction to perform: "lock", "unlock", or "check"

Salida

ParámetroTipoDescripción
idstringRecord ID
lockStatusstringLock status (e.g., "LOCKED", "UNLOCKED")
lockedBystringUsername of the user who locked the record
lockExpiresInMinutesnumberMinutes until the lock expires

agiloft_read_record

Read a record by ID from an Agiloft table.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts", "contacts.employees")
recordIdstringSíID of the record to read
fieldsstringNoComma-separated list of field names to include in the response

Salida

ParámetroTipoDescripción
idstringID of the record
fieldsjsonField values of the record

agiloft_remove_attachment

Remove an attached file from a field in an Agiloft record.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts")
recordIdstringSíID of the record containing the attachment
fieldNamestringSíName of the attachment field
positionstringSíPosition index of the file to remove (starting from 0)

Salida

ParámetroTipoDescripción
recordIdstringID of the record
fieldNamestringName of the attachment field
remainingAttachmentsnumberNumber of attachments remaining in the field after removal

agiloft_retrieve_attachment

Download an attached file from an Agiloft record field.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts")
recordIdstringSíID of the record containing the attachment
fieldNamestringSíName of the attachment field
positionstringSíPosition index of the file in the field (starting from 0)

Salida

ParámetroTipoDescripción
filefileDownloaded attachment file

List saved searches defined for an Agiloft table.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name to list saved searches for (e.g., "contracts")

Salida

ParámetroTipoDescripción
searchesarrayList of saved searches for the table
↳ namestringSaved search name
↳ labelstringSaved search display label
↳ idstringSaved search database identifier
↳ descriptionstringSaved search description

agiloft_search_records

Search for records in an Agiloft table using a query.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name to search in (e.g., "contracts", "contacts.employees")
querystringSíSearch query using Agiloft query syntax (e.g., "status='Active'" or "company_name~='Acme'")
fieldsstringNoComma-separated list of field names to include in the results
pagestringNoPage number for paginated results (starting from 0)
limitstringNoMaximum number of records to return per page

Salida

ParámetroTipoDescripción
recordsjsonArray of matching records with their field values
totalCountnumberTotal number of matching records
pagenumberCurrent page number
limitnumberRecords per page

agiloft_select_records

Select record IDs matching a SQL WHERE clause from an Agiloft table.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts", "contacts.employees")
wherestringSíSQL WHERE clause using database column names (e.g., "summary like '%new%'" or "assigned_person='John Doe'")

Salida

ParámetroTipoDescripción
recordIdsarrayArray of record IDs matching the query
totalCountnumberTotal number of matching records

agiloft_update_record

Update an existing record in an Agiloft table.

Entrada

ParámetroTipoObligatorioDescripción
instanceUrlstringSíAgiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestringSíKnowledge base name
loginstringSíAgiloft username
passwordstringSíAgiloft password
tablestringSíTable name (e.g., "contracts", "contacts.employees")
recordIdstringSíID of the record to update
datastringSíUpdated field values as a JSON object (e.g., {"status": "Active", "priority": "High"})

Salida

ParámetroTipoDescripción
idstringID of the updated record
fieldsjsonUpdated field values of the record

On this page