Skip to main content

get-carbon-copy-by-id

Look up a single carbon copy rule by its numeric ID. A carbon copy rule duplicates EDI interchanges flowing from one trading-partner pair (originalFrom → originalTo) to a second "CC" destination pair (ccFrom → ccTo), optionally narrowed by GS-envelope filters and a transaction-set filter. Use when the caller already has the integer rule ID — for example from a previous list-carbon-copies result, a ticket, or an admin reference. Returns NOT_FOUND when no rule matches the ID. Results are scoped to the caller's APIKey. Cached for 180 seconds per caller.

Tool Name

connectivity_carbon-copy_get-carbon-copy-by-id

Auth Level Required

Any (scoped to caller's APIKey)

Parameters

ParameterTypeRequiredDescription
request.carbonCopyIdintegerYesThe numeric ID of the carbon copy rule — the internal int32 primary key. Positive integer >= 1, max 2147483647. Example: 7701. Obtain from a list-carbon-copies result's carbonCopyId field. Values <= 0 are rejected as VALIDATION_ERROR.

Response

Returns the carbon copy rule's IDs, the four endpoint summaries (originalFrom, originalTo, ccFrom, ccTo), GS and transaction-set filters, lifecycle status, and created/modified timestamps.

{
"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
carbonCopyIdintegerUnique numeric ID of this carbon copy rule (int32)
networkIdintegerECGrid network ID that owns the rule
mailboxIdintegerECGrid mailbox ID that owns the rule
originalFromobjectSummary of the original sender endpoint
originalFrom.ecgridIdintegerECGrid ID of the original sender
originalFrom.qualifierstringEDI qualifier for the original sender
originalFrom.idstringEDI ID string for the original sender
originalFrom.descriptionstringHuman-readable name for the original sender
originalToobjectSummary of the original receiver endpoint
originalTo.ecgridIdintegerECGrid ID of the original receiver
originalTo.qualifierstringEDI qualifier for the original receiver
originalTo.idstringEDI ID string for the original receiver
originalTo.descriptionstringHuman-readable name for the original receiver
ccFromobjectSummary of the CC copy sender endpoint
ccFrom.ecgridIdintegerECGrid ID of the CC sender
ccFrom.qualifierstringEDI qualifier for the CC sender
ccFrom.idstringEDI ID string for the CC sender
ccFrom.descriptionstringHuman-readable name for the CC sender
ccToobjectSummary of the CC copy receiver endpoint
ccTo.ecgridIdintegerECGrid ID of the CC receiver
ccTo.qualifierstringEDI qualifier for the CC receiver
ccTo.idstringEDI ID string for the CC receiver
ccTo.descriptionstringHuman-readable name for the CC receiver
gsFromstringGS-envelope sender filter — empty string means match any
gsTostringGS-envelope receiver filter — empty string means match any
transactionSetstringTransaction-set (document type) filter, e.g. 850. Empty string means match any
statusstringLifecycle status: Development, Active, Preproduction, Suspended, or Terminated
createdstringISO 8601 timestamp when the rule was created
modifiedstringISO 8601 timestamp when the rule was last modified

Example Call

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "connectivity_carbon-copy_get-carbon-copy-by-id",
"arguments": {
"request": { "carbonCopyId": 7701 }
}
}
}

Example Prompts

  • Show me the details for carbon copy rule 7701
  • What is the CC destination for carbon copy rule 7701?

See Also