Skip to main content

list-carbon-copies

List carbon copy rules. A carbon copy rule duplicates EDI interchanges flowing from one trading-partner pair (originalFrom → originalTo) to a second "CC" destination pair (ccFrom → ccTo). Supply both networkId and mailboxId to scope the listing to one mailbox; omit both to list every rule visible to the caller's APIKey. Optional filters narrow results by original sender, original receiver, or active status. An empty result (count = 0) is a successful outcome — not NOT_FOUND. Results are scoped to the caller's APIKey. Not cached.

⚠️ Paired parameters: networkId and mailboxId must be supplied together — passing only one is rejected as VALIDATION_ERROR. Either supply both to scope to a mailbox, or omit both to list across the entire APIKey.

Tool Name

connectivity_carbon-copy_list-carbon-copies

Auth Level Required

Any (scoped to caller's APIKey)

Parameters

ParameterTypeRequiredDescription
request.networkIdintegerConditionalNetwork scope. Must be paired with mailboxId — both or neither. Positive integer >= 1, max 2147483647. Example: 7. Omit both networkId and mailboxId to list across the entire APIKey.
request.mailboxIdintegerConditionalMailbox scope within networkId. Must be paired with networkId — both or neither. Use 0 for the network's root mailbox; -1 for all mailboxes in the network. Min -1, max 2147483647. Example: 142.
request.ecgridIdFromintegerNoFilter: only return rules whose original sender (originalFrom) is this ECGrid ID. Omit to match any sender. Positive integer >= 1.
request.ecgridIdTointegerNoFilter: only return rules whose original receiver (originalTo) is this ECGrid ID. Omit to match any receiver. Positive integer >= 1.
request.showInactivebooleanNoInclude Suspended and Terminated rules in results. Default false — only Development, Active, and Preproduction rules are returned.

Response

Returns a count and a carbonCopies array; each element carries the rule's IDs, the four endpoint summaries, GS and transaction-set filters, status, and created/modified timestamps.

{
"count": 2,
"carbonCopies": [
{
"carbonCopyId": 7701,
"networkId": 7,
"mailboxId": 142,
"originalFrom": {
"ecgridId": 1234567,
"qualifier": "01",
"id": "SENDER001",
"description": "Acme Shipping"
},
"originalTo": {
"ecgridId": 2345678,
"qualifier": "01",
"id": "RECEIVER001",
"description": "Beta Retail"
},
"ccFrom": {
"ecgridId": 1234567,
"qualifier": "01",
"id": "SENDER001",
"description": "Acme Shipping"
},
"ccTo": {
"ecgridId": 9876543,
"qualifier": "01",
"id": "AUDIT001",
"description": "Audit Copy Mailbox"
},
"gsFrom": "",
"gsTo": "",
"transactionSet": "850",
"status": "Active",
"created": "2025-03-15T10:00:00Z",
"modified": "2025-03-15T10:00:00Z"
}
]
}

Response Fields

FieldTypeDescription
countintegerTotal number of rules returned
carbonCopiesarrayArray of carbon copy rule records
carbonCopies[].carbonCopyIdintegerUnique numeric ID of the rule (int32)
carbonCopies[].networkIdintegerECGrid network ID that owns the rule
carbonCopies[].mailboxIdintegerECGrid mailbox ID that owns the rule
carbonCopies[].originalFromobjectSummary of the original sender endpoint (ecgridId, qualifier, id, description)
carbonCopies[].originalToobjectSummary of the original receiver endpoint (ecgridId, qualifier, id, description)
carbonCopies[].ccFromobjectSummary of the CC copy sender endpoint (ecgridId, qualifier, id, description)
carbonCopies[].ccToobjectSummary of the CC copy receiver endpoint (ecgridId, qualifier, id, description)
carbonCopies[].gsFromstringGS-envelope sender filter — empty string means match any
carbonCopies[].gsTostringGS-envelope receiver filter — empty string means match any
carbonCopies[].transactionSetstringTransaction-set (document type) filter, e.g. 850. Empty string means match any
carbonCopies[].statusstringLifecycle status: Development, Active, Preproduction, Suspended, or Terminated
carbonCopies[].createdstringISO 8601 timestamp when the rule was created
carbonCopies[].modifiedstringISO 8601 timestamp when the rule was last modified

Example Call

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "connectivity_carbon-copy_list-carbon-copies",
"arguments": {
"request": {
"networkId": 7,
"mailboxId": 142
}
}
}
}

Example Prompts

  • List all carbon copy rules for mailbox 142 on network 7
  • Show me all CC rules that copy traffic from ECGrid ID 1234567

See Also