Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search sugarcrm --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search sugarcrm --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| Filter Related Records | filter-related-records | Get filtered records related to a parent record through a specific relationship |
| Create Task | create-task | Create a new task in SugarCRM |
| Add Note to Record | add-note-to-record | Add a note to any record (Account, Contact, Lead, Opportunity, etc.) |
| Bulk API Request | bulk-api-request | Execute multiple API requests in a single call to minimize round trips |
| List Modules | list-modules | Get a list of all available modules in SugarCRM |
| Get Module Metadata | get-module-metadata | Get metadata (fields, relationships, etc.) for a specific module |
| Get Current User | get-current-user | Get information about the currently authenticated user |
| Unlink Records | unlink-records | Remove a relationship between a record and a related record |
| Link Records | link-records | Create a relationship between a record and one or more related records |
| Get Related Records | get-related-records | Get records related to a parent record through a specific relationship |
| Search Records | search-records | Search records across fields in a module using a simple query string |
| Delete Record | delete-record | Delete a record from any module (soft delete) |
| Update Record | update-record | Update an existing record in any module |
| Create Record | create-record | Create a new record in any module |
| Get Record | get-record | Get a single record by ID from any module |
| List Records | list-records | List records from a module with optional filtering, sorting, and pagination |
| 名称 | Key | 描述 |
|---|---|---|
| 筛选关联记录 | filter-related-records | 通过特定关联关系获取与父记录关联的筛选后记录 |
| 创建任务 | create-task | 在SugarCRM中创建新任务 |
| 给记录添加备注 | add-note-to-record | 给任意记录(Account、Contact、Lead、Opportunity等)添加备注 |
| 批量API请求 | bulk-api-request | 单次调用执行多个API请求,减少往返次数 |
| 列出模块 | list-modules | 获取SugarCRM中所有可用模块的列表 |
| 获取模块元数据 | get-module-metadata | 获取指定模块的元数据(字段、关联关系等) |
| 获取当前用户 | get-current-user | 获取当前已验证用户的相关信息 |
| 取消记录关联 | unlink-records | 移除一条记录与关联记录之间的关系 |
| 关联记录 | link-records | 在一条记录与一条或多条关联记录之间创建关系 |
| 获取关联记录 | get-related-records | 通过特定关联关系获取与父记录关联的记录 |
| 搜索记录 | search-records | 使用简单查询字符串在模块的字段中搜索记录 |
| 删除记录 | delete-record | 从任意模块中删除记录(软删除) |
| 更新记录 | update-record | 更新任意模块中的现有记录 |
| 创建记录 | create-record | 在任意模块中创建新记录 |
| 获取记录 | get-record | 从任意模块中根据ID获取单条记录 |
| 列出记录 | list-records | 列出模块中的记录,支持筛选、排序和分页 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标识 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE),默认值为GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串类型) |
| 发送JSON请求体并设置 |
| 按原样发送请求体,不做任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY