Skip to main content

Find ID

Searches for ECGrid IDs by ISA qualifier and ISA ID value.

Endpoint

POST /v2/ids/find
tip

Use this endpoint to look up a trading partner's ECGrid ID before creating an interconnect. The qualifier and ID correspond directly to the ISA-05/ISA-06 (sender) or ISA-07/ISA-08 (receiver) fields in an X12 interchange envelope.

Request Body

FieldTypeRequiredConstraintsDescription
qualifierstringYesValid ISA qualifier (e.g. "01", "ZZ")EDI ISA qualifier to search
idstringYesISA ID valueEDI ISA identifier to search
{
"qualifier": "01",
"id": "PARTNER001"
}

Response

Returns an array of matching ECGridIDInfo objects. Multiple results may be returned if the same qualifier/ID combination is registered in different networks.

{
"success": true,
"data": [
{
"ecGridId": 123456,
"mailboxId": 1001,
"networkId": 42,
"qualifier": "01",
"id": "PARTNER001",
"description": "Acme Corp Production",
"status": "Active",
"routingGroup": "ProductionA",
"ediStandard": "X12"
}
]
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/ids/find" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "qualifier": "01", "id": "PARTNER001" }'

See Also