Skip to main content

List IDs

Returns a paginated list of ECGrid IDs filtered by mailbox, network, and/or status.

Endpoint

POST /v2/ids/list

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintegerNoFilter by mailbox ID
networkIdintegerNoFilter by network ID
statusstringNoSee Status enumFilter by lifecycle status
pageNointegerNoStarts at 1Page number for pagination
recordsPerPageintegerNoNumber of records per page
{
"mailboxId": 1001,
"status": "Active",
"pageNo": 1,
"recordsPerPage": 25
}

Response

Returns a paginated array of ECGridIDInfo objects.

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

ENUMs

Status

ValueDescription
DevelopmentID is in development/testing phase
ActiveID is live and routing EDI traffic
PreproductionID is staged but not yet live
SuspendedID is temporarily disabled
TerminatedID has been permanently deactivated

See Enums reference for complete enum definitions.

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/ids/list" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 1001, "status": "Active", "pageNo": 1, "recordsPerPage": 25 }'

See Also