AptlyStar

Agiloft

Manage records in Agiloft CLM

使用说明

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.

工具

agiloft_attach_file

Attach a file to a field in an Agiloft record.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts")
recordIdstring是ID of the record to attach the file to
fieldNamestring是Name of the attachment field
filefile否File to attach
fileNamestring否Name to assign to the file (defaults to original file name)

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts")
recordIdstring是ID of the record to check attachments on
fieldNamestring是Name of the attachment field to inspect

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts", "contacts.employees")
datastring是Record field values as a JSON object (e.g., {"first_name": "John", "status": "Active"})

输出

参数类型描述
idstringID of the created record
fieldsjsonField values of the created record

agiloft_delete_record

Delete a record from an Agiloft table.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts", "contacts.employees")
recordIdstring是ID of the record to delete

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "case", "contracts")
fieldNamestring是Choice field name (e.g., "priority", "status")
valuestring是Choice display value to resolve (e.g., "High", "Active")

输出

参数类型描述
choiceLineIdnumberInternal numeric line ID of the choice value

agiloft_lock_record

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

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts")
recordIdstring是ID of the record to lock, unlock, or check
lockActionstring是Action to perform: "lock", "unlock", or "check"

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts", "contacts.employees")
recordIdstring是ID of the record to read
fieldsstring否Comma-separated list of field names to include in the response

输出

参数类型描述
idstringID of the record
fieldsjsonField values of the record

agiloft_remove_attachment

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

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts")
recordIdstring是ID of the record containing the attachment
fieldNamestring是Name of the attachment field
positionstring是Position index of the file to remove (starting from 0)

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts")
recordIdstring是ID of the record containing the attachment
fieldNamestring是Name of the attachment field
positionstring是Position index of the file in the field (starting from 0)

输出

参数类型描述
filefileDownloaded attachment file

List saved searches defined for an Agiloft table.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name to list saved searches for (e.g., "contracts")

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name to search in (e.g., "contracts", "contacts.employees")
querystring是Search query using Agiloft query syntax (e.g., "status='Active'" or "company_name~='Acme'")
fieldsstring否Comma-separated list of field names to include in the results
pagestring否Page number for paginated results (starting from 0)
limitstring否Maximum number of records to return per page

输出

参数类型描述
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.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts", "contacts.employees")
wherestring是SQL WHERE clause using database column names (e.g., "summary like '%new%'" or "assigned_person='John Doe'")

输出

参数类型描述
recordIdsarrayArray of record IDs matching the query
totalCountnumberTotal number of matching records

agiloft_update_record

Update an existing record in an Agiloft table.

输入

参数类型必填描述
instanceUrlstring是Agiloft instance URL (e.g., https://mycompany.agiloft.com\)
knowledgeBasestring是Knowledge base name
loginstring是Agiloft username
passwordstring是Agiloft password
tablestring是Table name (e.g., "contracts", "contacts.employees")
recordIdstring是ID of the record to update
datastring是Updated field values as a JSON object (e.g., {"status": "Active", "priority": "High"})

输出

参数类型描述
idstringID of the updated record
fieldsjsonUpdated field values of the record

On this page