Skip to main content

Get Network

Retrieves detailed information for a single ECGrid network by its numeric ID.

Endpoint

GET /v2/networks/{id}

Path Parameters

ParameterTypeRequiredDescription
idintegerYesUnique numeric identifier of the network

Response

Returns a NetworkIDInfo object for the requested network.

{
"success": true,
"data": {
"networkId": 1001,
"uniqueId": "MYNETWORK",
"companyName": "Acme Corporation",
"status": "Active",
"created": "2020-03-15T08:00:00Z",
"modified": "2024-11-01T14:22:10Z"
},
"errorCode": null,
"message": null
}

ENUMs

Status

The status field uses the Status enum. See the full value table in Appendix: ENUMs.

ValueDescription
DevelopmentAccount is in development/testing
ActiveAccount is live and operational
PreproductionStaging state before go-live
SuspendedTemporarily disabled
TerminatedPermanently closed

Code Examples

curl -X GET "https://rest.ecgrid.io/v2/networks/$ID" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also