GET api/manage/gateways/{id}

Method for retrieving gateway for a specific id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the gateway.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Gateway model data.

IoTGateway
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

GatewayClassId

integer

None.

Status

IoTStatus

None.

SasToken

string

None.

SasTokenTopicRead

string

None.

AssetId

integer

None.

ValidFrom

date

None.

ValidTo

date

None.

LoggingIsOn

boolean

None.

TokenExpiry

date

None.

TopicTokenExpiry

date

None.

DataProviderId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "2275f978-639c-47e2-acfd-8c96469f6975",
  "GatewayClassId": 2,
  "Status": 0,
  "SasToken": "sample string 3",
  "SasTokenTopicRead": "sample string 4",
  "AssetId": 1,
  "ValidFrom": "2025-12-24T15:39:17.6295347+00:00",
  "ValidTo": "2025-12-24T15:39:17.6295347+00:00",
  "LoggingIsOn": true,
  "TokenExpiry": "2025-12-24T15:39:17.6295347+00:00",
  "TopicTokenExpiry": "2025-12-24T15:39:17.6295347+00:00",
  "DataProviderId": 1,
  "devices": {},
  "Asset": {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "InstallationDate": "2025-12-24T15:39:17.6451487+00:00",
    "CorporateCode": "sample string 4",
    "PurchasePrice": "sample string 5",
    "InServiceDate": "2025-12-24T15:39:17.6451487+00:00",
    "AddressId": 1,
    "ValidFrom": "2025-12-24T15:39:17.6451487+00:00",
    "ValidTo": "2025-12-24T15:39:17.6451487+00:00",
    "DefaultTimeZoneId": "sample string 7",
    "ParticipantId": 1,
    "AssetActivityRecords": [
      {
        "$id": "2",
        "Id": 1,
        "AssetId": 2,
        "Reason": "sample string 3",
        "CreatedDateTime": "2025-12-24T15:39:17.6451487+00:00",
        "Severity": 0,
        "Category": "sample string 5",
        "Asset": {
          "$ref": "1"
        },
        "Documents": [
          {
            "$id": "3",
            "Id": 1,
            "Content": "QEA=",
            "AssetActivityRecordId": 2,
            "FileName": "sample string 3",
            "FileExtension": "sample string 4",
            "Description": "sample string 5",
            "AssetActivityRecord": {
              "$ref": "2"
            }
          },
          {
            "$ref": "3"
          }
        ],
        "AssetGuid": "4ea7dd5c-838a-40af-961a-27f814bf416b"
      },
      {
        "$ref": "2"
      }
    ],
    "Address": {
      "$id": "4",
      "Id": 1,
      "Street": "sample string 2",
      "StreetNumber": "sample string 3",
      "PostalCode": "sample string 4",
      "City": "sample string 5",
      "CountryId": "sample string 6",
      "ValidDate": "2025-12-24T15:39:17.6451487+00:00",
      "StreetNumberExtension": "sample string 8",
      "ParticipantId": 1,
      "LegalEntityDetails": [
        {
          "$id": "5",
          "Id": 1,
          "FirstName": "sample string 2",
          "LastName": "sample string 3",
          "OrganisationNo": "sample string 4",
          "Code": "sample string 5",
          "Note": "sample string 6",
          "ExternalId": "sample string 7",
          "DateOfBirth": "2025-12-24T15:39:17.6451487+00:00",
          "ParticipantId": 8,
          "AddressId": 1,
          "Participant": {
            "$id": "6",
            "Id": 1,
            "Name": "sample string 2",
            "ElectronicAddressId": 3,
            "AssetContracts": [
              {
                "$id": "7",
                "MeterId": 1,
                "Id": "90ef32d4-c83f-4464-a610-55f2c9625639",
                "Meter": {
                  "$id": "8",
                  "MeterInstallation": {
                    "$id": "9",
                    "EANCode": "sample string 1",
                    "InstallationId": "sample string 11",
                    "Id": 12,
                    "SystemVoltage": 2.1,
                    "Name": "sample string 13",
                    "MainFuseNumPhases": 3,
                    "Description": "sample string 14",
                    "MainFuseCurrent": 4.1,
                    "InstallationDate": "2025-12-24T15:39:17.6607739+00:00",
                    "OverloadProtectionNumPhases": 5,
                    "CorporateCode": "sample string 15",
                    "OverloadProtectionCurrent": 6.1,
                    "PurchasePrice": "sample string 16",
                    "ShortCircuitNumPhases": 7,
                    "InServiceDate": "2025-12-24T15:39:17.6607739+00:00",
                    "ShortCircuitCurrent": 8.1,
                    "AddressId": 1,
                    "Meters": [
                      {
                        "$ref": "8"
                      },
                      {
                        "$ref": "8"
                      }
                    ],
                    "ValidFrom": "2025-12-24T15:39:17.6607739+00:00",
                    "MeterPointNumber": "sample string 9",
                    "ValidTo": "2025-12-24T15:39:17.6607739+00:00",
                    "IndustryCode": "sample string 10",
                    "DefaultTimeZoneId": "sample string 18",
                    "InstallationType": 0,
                    "ParticipantId": 1,
                    "MeteringSiteClassificationId": 1,
                    "AssetActivityRecords": [
                      {
                        "$ref": "2"
                      },
                      {
                        "$ref": "2"
                      }
                    ],
                    "MeteringSiteClassification": {
                      "$id": "10",
                      "Id": 1,
                      "Code": "sample string 2",
                      "Description": "sample string 3"
                    },
                    "Address": {
                      "$ref": "4"
                    },
                    "AssetOwners": [
                      {
                        "$id": "11",
                        "Id": 1,
                        "AssetId": 2,
                        "ValidFrom": "2025-12-24T15:39:17.6607739+00:00",
                        "ValidTo": "2025-12-24T15:39:17.6607739+00:00",
                        "ParticipantId": 5,
                        "Asset": {
                          "$ref": "1"
                        },
                        "Participant": {
                          "$ref": "6"
                        },
                        "AssetGuid": "542f8876-aac1-45d8-9ef3-cb6dddf490c4"
                      },
                      {
                        "$ref": "11"
                      }
                    ],
                    "AssetRelationships": [
                      {
                        "$id": "12",
                        "Id": 1,
                        "Guid": "2362c5a9-aad3-412b-8022-b4863948b3b8",
                        "AssetId": 3,
                        "Asset": {
                          "$ref": "1"
                        },
                        "AssetParentId": 1,
                        "AssetParent": {
                          "$ref": "1"
                        },
                        "RelationshipType": 0,
                        "AssetGuid": "830ec5cc-313c-47e6-9af2-6309afd3caff",
                        "AssetParentGuid": "0550cef1-352c-4250-8d25-f63f1693202b",
                        "Priority": 6,
                        "PropertiesJsonString": "sample string 7",
                        "EntityState": 0,
                        "ValidFrom": "2025-12-24T15:39:17.6607739+00:00",
                        "ValidTo": "2025-12-24T15:39:17.6607739+00:00"
                      },
                      {
                        "$ref": "12"
                      }
                    ],
                    "AssetParentRelationships": [
                      {
                        "$ref": "12"
                      },
                      {
                        "$ref": "12"
                      }
                    ],
                    "AssetTimeSeries": [
                      {
                        "$id": "13",
                        "Id": 1,
                        "AssetId": 2,
                        "Asset": {
                          "$ref": "1"
                        },
                        "BlobKey": "sample string 3",
                        "UnitType": 1,
                        "Unit": 0,
                        "Resolution": 0,
                        "TimeZoneId": "sample string 4",
                        "SampleFrequencyInSec": 1.1,
                        "LastValue": 1.1,
                        "LastCollected": "2025-12-24T15:39:17.6775707+00:00",
                        "LastCompleteCollection": "2025-12-24T15:39:17.6775707+00:00",
                        "IsCalculated": true,
                        "ParentTimeseriesId": 1,
                        "ParentTimeseries": null,
                        "Description": "sample string 6",
                        "DataOrigin": 0,
                        "AssetGuid": "b1eaadc0-52fe-4c01-a23a-8f81d7ba7e53"
                      },
                      {
                        "$ref": "13"
                      }
                    ],
                    "CommunicationUnits": [],
                    "Participant": {
                      "$ref": "6"
                    },
                    "Location": null,
                    "AssetWorkFlow": [
                      {
                        "$id": "14",
                        "InstanceId": "9eb0f640-d188-4309-b02c-68ff7f105995",
                        "AssetId": 1,
                        "WorkFlowId": 2,
                        "Remarks": "sample string 3",
                        "ExecutedTime": "2025-12-24T15:39:17.6922258+00:00",
                        "Asset": {
                          "$ref": "1"
                        },
                        "Workflow": {
                          "$id": "15",
                          "Id": 1,
                          "Name": "sample string 2",
                          "Active": true,
                          "Content": "sample string 4",
                          "Status": 0,
                          "ParticipantId": 5,
                          "WorkflowContentType": 0,
                          "AssetWorkFlow": [
                            {
                              "$ref": "14"
                            },
                            {
                              "$ref": "14"
                            }
                          ],
                          "Participant": {
                            "$ref": "6"
                          },
                          "TimeSeriesTypeClass": 1
                        },
                        "ValidFromDateTime": "2025-12-24T15:39:17.6922258+00:00",
                        "ValidToDateTime": "2025-12-24T15:39:17.6922258+00:00",
                        "ManuallySet": true,
                        "AssetGuid": "5cbe9116-0978-470d-8395-6205fecb7fb0"
                      },
                      {
                        "$ref": "14"
                      }
                    ],
                    "AlarmHandlings": [
                      {
                        "$id": "16",
                        "Id": 1,
                        "AssetId": 2,
                        "Asset": {
                          "$ref": "1"
                        },
                        "Mode": 0,
                        "Description": "sample string 3",
                        "UserId": "sample string 4",
                        "User": {
                          "$id": "17",
                          "Id": "sample string 1",
                          "Name": "sample string 2",
                          "Lastlogon": "2025-12-24T15:39:17.7076521+00:00",
                          "picture": "QEA=",
                          "Created": "2025-12-24T15:39:17.7076521+00:00",
                          "Enabled": true,
                          "ElectronicAddress": {
                            "$id": "18",
                            "Id": 1,
                            "Email": "sample string 2",
                            "Url": "sample string 3",
                            "Password": "sample string 4",
                            "UserId": "sample string 5",
                            "ExternalId": "sample string 6",
                            "Phone": "sample string 7",
                            "Cell": "sample string 8",
                            "SipAddress": "sample string 9",
                            "TwitterUser": "sample string 10",
                            "FacebookUser": "sample string 11",
                            "ComUnitServiceConnections": [
                              {
                                "$id": "19",
                                "Id": 1,
                                "CommunicationUnitId": 2,
                                "CloudServiceConnectionId": 3,
                                "ElectronicAddressId": 4,
                                "CommunicationUnit": null,
                                "CloudServiceConnection": {
                                  "$id": "20",
                                  "Id": 1,
                                  "ServiceName": "sample string 2",
                                  "BaseUrl": "sample string 3",
                                  "ComUnitServiceConnections": [
                                    {
                                      "$ref": "19"
                                    },
                                    {
                                      "$ref": "19"
                                    }
                                  ],
                                  "Username": "sample string 4",
                                  "Password": "sample string 5"
                                },
                                "ElectronicAddress": {
                                  "$ref": "18"
                                }
                              },
                              {
                                "$ref": "19"
                              }
                            ],
                            "Participants": [
                              {
                                "$ref": "6"
                              },
                              {
                                "$ref": "6"
                              }
                            ]
                          },
                          "ElectronicAddressId": 1,
                          "UserGroups": [
                            {
                              "$id": "21",
                              "Id": 1,
                              "Name": "sample string 2",
                              "Description": "sample string 3",
                              "ParticipantId": 1,
                              "Users": [
                                {
                                  "$ref": "17"
                                },
                                {
                                  "$ref": "17"
                                }
                              ],
                              "Roles": [
                                {
                                  "$id": "22",
                                  "Id": 1,
                                  "Name": "sample string 2",
                                  "Description": "sample string 3",
                                  "RoleFunctions": [
                                    {
                                      "$id": "23",
                                      "Id": 1,
                                      "RoleId": 2,
                                      "SystemFunctionId": 3,
                                      "Permission": 0,
                                      "UserRole": {
                                        "$ref": "22"
                                      },
                                      "SystemFunction": {
                                        "$id": "24",
                                        "Id": 1,
                                        "Name": "sample string 2",
                                        "Enabled": true,
                                        "Description": "sample string 4",
                                        "RoleFunctions": [
                                          {
                                            "$ref": "23"
                                          },
                                          {
                                            "$ref": "23"
                                          }
                                        ],
                                        "SystemProperties": []
                                      }
                                    },
                                    {
                                      "$ref": "23"
                                    }
                                  ],
                                  "Groups": [
                                    {
                                      "$ref": "21"
                                    },
                                    {
                                      "$ref": "21"
                                    }
                                  ]
                                },
                                {
                                  "$ref": "22"
                                }
                              ],
                              "Participant": {
                                "$ref": "6"
                              }
                            },
                            {
                              "$ref": "21"
                            }
                          ],
                          "SearchFilters": [
                            {
                              "$id": "25",
                              "SearchFilters": "QEA=",
                              "Id": 4,
                              "Guid": "6d1f8ae8-231e-447a-9563-6b080c459eb0",
                              "Name": "sample string 5",
                              "UserId": "sample string 2",
                              "Description": "sample string 6",
                              "User": {
                                "$ref": "17"
                              },
                              "InstallationDate": "2025-12-24T15:39:17.723337+00:00",
                              "IsShared": true,
                              "CorporateCode": "sample string 7",
                              "ZoneControlContracts": [
                                {
                                  "$id": "26",
                                  "SearchFilterId": 1,
                                  "Id": "69b1cee0-a741-446b-9dc4-eab2ea829c07",
                                  "SearchFilter": {
                                    "$ref": "25"
                                  },
                                  "ContractId": "eec5a4cd-0bb9-4d80-9c6b-945409184008",
                                  "MaxPowerPrActivation": 2.1,
                                  "Contract": {
                                    "$id": "27",
                                    "Id": "3b93b166-4999-4e14-a510-6cb5b2288771",
                                    "Name": "sample string 2",
                                    "OwnerLegalEntityId": 3,
                                    "OwnerLegalEntity": {
                                      "$id": "28",
                                      "Id": 1,
                                      "Name": "sample string 2",
                                      "EntityType": 0,
                                      "ExternalId": "sample string 3",
                                      "LegalEntityRoles": [
                                        {
                                          "$id": "29",
                                          "LegalEntityId": 1,
                                          "LegalEntity": {
                                            "$ref": "28"
                                          },
                                          "LegalEntityDetailId": 2,
                                          "LegalEntityDetail": {
                                            "$ref": "5"
                                          },
                                          "RoleType": 0,
                                          "ValidFrom": "2025-12-24T15:39:17.723337+00:00",
                                          "ValidTo": "2025-12-24T15:39:17.723337+00:00"
                                        },
                                        {
                                          "$ref": "29"
                                        }
                                      ]
                                    },
                                    "PartnerLegalEntityId": 4,
                                    "PartnerLegalEntity": {
                                      "$ref": "28"
                                    },
                                    "BuyOrSale": 0,
                                    "ValidFrom": "2025-12-24T15:39:17.723337+00:00",
                                    "ValidTo": "2025-12-24T15:39:17.723337+00:00",
                                    "CancelTime": "2025-12-24T15:39:17.723337+00:00",
                                    "ExternalContractId": "sample string 7",
                                    "ProductId": 1,
                                    "Product": {
                                      "$id": "30",
                                      "Id": 1,
                                      "Name": "sample string 2",
                                      "PaymentType": "sample string 4",
                                      "ExternalId": "sample string 5"
                                    },
                                    "Assets": [
                                      {
                                        "$id": "31",
                                        "Id": "b7fb28ea-faa6-4460-aefd-e13c311af4d4",
                                        "ContractId": "cb05c580-846d-4eb9-b42c-870e36e39ca9",
                                        "Contract": {
                                          "$ref": "27"
                                        },
                                        "Name": "sample string 3",
                                        "ValidFrom": "2025-12-24T15:39:17.723337+00:00",
                                        "ValidTo": "2025-12-24T15:39:17.723337+00:00",
                                        "CancelTime": "2025-12-24T15:39:17.723337+00:00",
                                        "Signed": "2025-12-24T15:39:17.723337+00:00",
                                        "Renewal": 0,
                                        "ParticipantId": 6,
                                        "Participant": {
                                          "$ref": "6"
                                        }
                                      },
                                      {
                                        "$ref": "31"
                                      }
                                    ],
                                    "Signed": "2025-12-24T15:39:17.723337+00:00"
                                  },
                                  "DaysAllowedForActivation": 0,
                                  "Name": "sample string 12",
                                  "PermittedIntervals": "sample string 3",
                                  "ValidFrom": "2025-12-24T15:39:17.723337+00:00",
                                  "MaxAllowedActivationTime": 1,
                                  "ValidTo": "2025-12-24T15:39:17.723337+00:00",
                                  "MininumTimeBetweenActivation": 4,
                                  "CancelTime": "2025-12-24T15:39:17.723337+00:00",
                                  "Tolerance": 5.1,
                                  "Signed": "2025-12-24T15:39:17.723337+00:00",
                                  "ReservationFee": 6.1,
                                  "Renewal": 0,
                                  "ActivationFeeWorkdays": 7.1,
                                  "ParticipantId": 15,
                                  "ActivationFeeNonWorkdays": 8.1,
                                  "Participant": {
                                    "$ref": "6"
                                  },
                                  "NonConformanceClause": "sample string 9"
                                },
                                {
                                  "$ref": "26"
                                }
                              ],
                              "PurchasePrice": "sample string 8",
                              "InServiceDate": "2025-12-24T15:39:17.723337+00:00",
                              "AddressId": 1,
                              "ValidFrom": "2025-12-24T15:39:17.723337+00:00",
                              "ValidTo": "2025-12-24T15:39:17.723337+00:00",
                              "DefaultTimeZoneId": "sample string 10",
                              "ParticipantId": 1,
                              "AssetActivityRecords": [
                                {
                                  "$ref": "2"
                                },
                                {
                                  "$ref": "2"
                                }
                              ],
                              "Address": {
                                "$ref": "4"
                              },
                              "AssetOwners": [
                                {
                                  "$ref": "11"
                                },
                                {
                                  "$ref": "11"
                                }
                              ],
                              "AssetRelationships": [
                                {
                                  "$ref": "12"
                                },
                                {
                                  "$ref": "12"
                                }
                              ],
                              "AssetParentRelationships": [
                                {
                                  "$ref": "12"
                                },
                                {
                                  "$ref": "12"
                                }
                              ],
                              "AssetTimeSeries": [
                                {
                                  "$ref": "13"
                                },
                                {
                                  "$ref": "13"
                                }
                              ],
                              "CommunicationUnits": [],
                              "Participant": {
                                "$ref": "6"
                              },
                              "Location": {
                                "$id": "32",
                                "AssetId": 1,
                                "Asset": {
                                  "$ref": "1"
                                },
                                "SpartialReference": 2,
                                "GeoBinary": "QEA=",
                                "AssetGuid": "00000000-0000-0000-0000-000000000000"
                              },
                              "AssetWorkFlow": [
                                {
                                  "$ref": "14"
                                },
                                {
                                  "$ref": "14"
                                }
                              ],
                              "AlarmHandlings": [
                                {
                                  "$ref": "16"
                                },
                                {
                                  "$ref": "16"
                                }
                              ],
                              "Categories": [
                                {
                                  "$id": "33",
                                  "Id": 1,
                                  "Name": "sample string 2",
                                  "Description": "sample string 3",
                                  "SourceStatus": 0,
                                  "Source": "sample string 4",
                                  "Participant": {
                                    "$ref": "6"
                                  },
                                  "ParticipantId": 5,
                                  "Assets": [
                                    {
                                      "$ref": "1"
                                    },
                                    {
                                      "$ref": "1"
                                    }
                                  ],
                                  "CategoryType": 0
                                },
                                {
                                  "$ref": "33"
                                }
                              ],
                              "AssetModelId": 1,
                              "AssetModel": {
                                "$id": "34",
                                "Id": 1,
                                "Description": "sample string 2",
                                "Note": "sample string 3",
                                "ExternalId": "sample string 4",
                                "TypeCode": "sample string 5",
                                "ModelCode": "sample string 6",
                                "HasOffSwitch": true,
                                "InitialValue": 8.1,
                                "Manufacturer": "sample string 9",
                                "ModelVersion": "sample string 10",
                                "AssetModelProperties": [
                                  {
                                    "$id": "35",
                                    "Id": 1,
                                    "Name": "sample string 2",
                                    "Value": "sample string 3",
                                    "AssetModelId": 4,
                                    "AssetModel": {
                                      "$ref": "34"
                                    }
                                  },
                                  {
                                    "$ref": "35"
                                  }
                                ]
                              },
                              "CreatedTime": "2025-12-24T15:39:17.723337+00:00",
                              "ImportSource": "sample string 11",
                              "Note": "sample string 12",
                              "Configurations": [],
                              "ModifiedTime": "2025-12-24T15:39:17.7389151+00:00",
                              "AssetCalculations": [
                                {
                                  "$id": "36",
                                  "AssetId": 1,
                                  "CalculationId": 2,
                                  "Asset": {
                                    "$ref": "1"
                                  },
                                  "Calculation": {
                                    "$id": "37",
                                    "Id": 1,
                                    "CalculationDefinitionId": 2,
                                    "Name": "sample string 3",
                                    "Description": "sample string 4",
                                    "lastRunTime": "2025-12-24T15:39:17.7389151+00:00",
                                    "FrequencyInSeconds": 5,
                                    "ValidFrom": "2025-12-24T15:39:17.7389151+00:00",
                                    "ValidTo": "2025-12-24T15:39:17.7389151+00:00"
                                  },
                                  "ValidFromDateTime": "2025-12-24T15:39:17.7389151+00:00",
                                  "ValidToDateTime": "2025-12-24T15:39:17.7389151+00:00",
                                  "ManuallySet": true,
                                  "AssetGuid": "025eeb12-fef0-4cb8-accb-675d3414686b"
                                },
                                {
                                  "$ref": "36"
                                }
                              ],
                              "CoordinateModified": true,
                              "SerialNumber": "sample string 14",
                              "AssetGuid": "f9a27a88-e0b5-46bb-b080-b1192c5f506f",
                              "Contracts": [
                                {
                                  "$id": "38",
                                  "AssetId": 1,
                                  "Id": "00728789-4b71-4a26-9a25-123bfbff29d8",
                                  "Asset": {
                                    "$ref": "1"
                                  },
                                  "Name": "sample string 4",
                                  "ParticipantId": 2,
                                  "OwnerLegalEntityId": 5,
                                  "Participant": {
                                    "$ref": "6"
                                  },
                                  "OwnerLegalEntity": {
                                    "$ref": "28"
                                  },
                                  "Type": 0,
                                  "PartnerLegalEntityId": 6,
                                  "PartnerLegalEntity": {
                                    "$ref": "28"
                                  },
                                  "BuyOrSale": 0,
                                  "ValidFrom": "2025-12-24T15:39:17.7389151+00:00",
                                  "ValidTo": "2025-12-24T15:39:17.7389151+00:00",
                                  "CancelTime": "2025-12-24T15:39:17.7389151+00:00",
                                  "ExternalContractId": "sample string 9",
                                  "ProductId": 1,
                                  "Product": {
                                    "$ref": "30"
                                  },
                                  "Assets": [
                                    {
                                      "$ref": "31"
                                    },
                                    {
                                      "$ref": "31"
                                    }
                                  ],
                                  "Signed": "2025-12-24T15:39:17.7389151+00:00"
                                },
                                {
                                  "$ref": "38"
                                }
                              ],
                              "Resource": null,
                              "AssetSubContracts": [
                                {
                                  "$id": "39",
                                  "AssetId": 1,
                                  "Id": "0491e39e-469c-4bf1-8542-5e085794338f",
                                  "Asset": {
                                    "$ref": "1"
                                  },
                                  "ContractId": "7efc30fc-c987-4c0d-b011-e1919807b6fd",
                                  "Contract": {
                                    "$ref": "27"
                                  },
                                  "Name": "sample string 4",
                                  "ValidFrom": "2025-12-24T15:39:17.7389151+00:00",
                                  "ValidTo": "2025-12-24T15:39:17.7389151+00:00",
                                  "CancelTime": "2025-12-24T15:39:17.7389151+00:00",
                                  "Signed": "2025-12-24T15:39:17.7389151+00:00",
                                  "Renewal": 0,
                                  "ParticipantId": 7,
                                  "Participant": {
                                    "$ref": "6"
                                  }
                                },
                                {
                                  "$ref": "39"
                                }
                              ],
                              "SDBMHash": 16,
                              "LabelGuid": "5a9d36d0-012c-4196-85d2-a141425450d3",
                              "ExternalKeys": [
                                {
                                  "$id": "40",
                                  "AssetId": 1,
                                  "ExternalId": "sample string 2",
                                  "ExternalSystemId": "ebde3776-8081-40bf-ab4d-56ae43e7db13",
                                  "ExternalSystem": {
                                    "$id": "41",
                                    "Id": "d6aa9ed0-d6cc-4a01-9b62-2ca7e63dc531",
                                    "SystemName": "sample string 2"
                                  }
                                },
                                {
                                  "$ref": "40"
                                }
                              ],
                              "EntityState": 0
                            },
                            {
                              "$ref": "25"
                            }
                          ],
                          "Diagrams": [
                            {
                              "$id": "42",
                              "Id": 1,
                              "DiagramKey": "sample string 2",
                              "CreatedTime": "2025-12-24T15:39:17.7389151+00:00",
                              "ModifiedTime": "2025-12-24T15:39:17.7389151+00:00",
                              "UserId": "sample string 5",
                              "IsShared": true,
                              "User": {
                                "$ref": "17"
                              },
                              "Description": "sample string 7",
                              "Name": "sample string 8",
                              "DiagramType": 0
                            },
                            {
                              "$ref": "42"
                            }
                          ],
                          "FirstName": "sample string 5",
                          "LastName": "sample string 6"
                        },
                        "CreatedDateTime": "2025-12-24T15:39:17.7389151+00:00",
                        "FromDateTime": "2025-12-24T15:39:17.7389151+00:00",
                        "ToDateTime": "2025-12-24T15:39:17.7389151+00:00",
                        "AssetGuid": "44a4597f-1679-417d-bdcb-bcb6b7d92777"
                      },
                      {
                        "$ref": "16"
                      }
                    ],
                    "Categories": [
                      {
                        "$ref": "33"
                      },
                      {
                        "$ref": "33"
                      }
                    ],
                    "AssetModelId": 1,
                    "AssetModel": {
                      "$ref": "34"
                    },
                    "CreatedTime": "2025-12-24T15:39:17.7389151+00:00",
                    "ImportSource": "sample string 19",
                    "Note": "sample string 20",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-24T15:39:17.7389151+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 22",
                    "AssetGuid": "e889e44e-cdd7-42d8-96ac-a4ed129b53c1",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 24,
                    "LabelGuid": "4232b4bb-2851-40ff-a69a-93cc2965380c",
                    "ExternalKeys": [
                      {
                        "$ref": "40"
                      },
                      {
                        "$ref": "40"
                      }
                    ],
                    "EntityState": 0
                  },
                  "Id": 7,
                  "MeterInstallationId": 1,
                  "Name": "sample string 8",
                  "FacilityId": "sample string 1",
                  "Description": "sample string 9",
                  "MeterId": "sample string 2",
                  "InstallationDate": "2025-12-24T15:39:17.7545309+00:00",
                  "Status": 1,
                  "CorporateCode": "sample string 10",
                  "MeterType": 0,
                  "PurchasePrice": "sample string 11",
                  "EstimatedAnnualUsage": 1.1,
                  "InServiceDate": "2025-12-24T15:39:17.7545309+00:00",
                  "EnergyProviderContracts": [
                    {
                      "$id": "43",
                      "MeterId": 1,
                      "Id": "5e626609-22c2-4a4a-b3f4-12ee293605ee",
                      "Meter": {
                        "$ref": "8"
                      },
                      "Name": "sample string 4",
                      "ParticipantId": 2,
                      "OwnerLegalEntityId": 5,
                      "Participant": {
                        "$ref": "6"
                      },
                      "OwnerLegalEntity": {
                        "$ref": "28"
                      },
                      "PartnerLegalEntityId": 6,
                      "PartnerLegalEntity": {
                        "$ref": "28"
                      },
                      "BuyOrSale": 0,
                      "ValidFrom": "2025-12-24T15:39:17.7545309+00:00",
                      "ValidTo": "2025-12-24T15:39:17.7545309+00:00",
                      "CancelTime": "2025-12-24T15:39:17.7545309+00:00",
                      "ExternalContractId": "sample string 9",
                      "ProductId": 1,
                      "Product": {
                        "$ref": "30"
                      },
                      "Assets": [
                        {
                          "$ref": "31"
                        },
                        {
                          "$ref": "31"
                        }
                      ],
                      "Signed": "2025-12-24T15:39:17.7545309+00:00"
                    },
                    {
                      "$ref": "43"
                    }
                  ],
                  "AddressId": 1,
                  "PowerDistributionContracts": [
                    {
                      "$ref": "7"
                    },
                    {
                      "$ref": "7"
                    }
                  ],
                  "ValidFrom": "2025-12-24T15:39:17.7545309+00:00",
                  "LeftDigitCount": 1,
                  "ValidTo": "2025-12-24T15:39:17.7545309+00:00",
                  "RightDigitCount": 1,
                  "DefaultTimeZoneId": "sample string 13",
                  "ConversionFactor": 1.0,
                  "ParticipantId": 1,
                  "StartValue": 3.1,
                  "AssetActivityRecords": [
                    {
                      "$ref": "2"
                    },
                    {
                      "$ref": "2"
                    }
                  ],
                  "AmiMeterType": 0,
                  "Address": {
                    "$ref": "4"
                  },
                  "P2P": true,
                  "SimCards": [
                    {
                      "$id": "44",
                      "VoltageLevel": "sample string 1",
                      "Id": 10,
                      "StorageCapacity": "sample string 2",
                      "Name": "sample string 11",
                      "NumberOfContacts": "sample string 3",
                      "Description": "sample string 12",
                      "Data": "sample string 4",
                      "InstallationDate": "2025-12-24T15:39:17.7545309+00:00",
                      "PreferredNetworksList": [
                        "sample string 1",
                        "sample string 2"
                      ],
                      "CorporateCode": "sample string 13",
                      "ICCID": "sample string 5",
                      "PurchasePrice": "sample string 14",
                      "Installed": "2025-12-24T15:39:17.7545309+00:00",
                      "InServiceDate": "2025-12-24T15:39:17.7545309+00:00",
                      "Active": true,
                      "AddressId": 1,
                      "PhoneCommunicationUnitId": 1,
                      "ValidFrom": "2025-12-24T15:39:17.7545309+00:00",
                      "PhoneCommunicationUnit": {
                        "$id": "45",
                        "PhoneNumber": "sample string 1",
                        "Id": 2,
                        "SimCards": [
                          {
                            "$ref": "44"
                          },
                          {
                            "$ref": "44"
                          }
                        ],
                        "MacAddress": "sample string 3",
                        "SerialNumber": "sample string 4",
                        "NetworkCarrier": 1,
                        "AssetId": 5,
                        "CloudServiceConnectionId": 6,
                        "Asset": {
                          "$ref": "1"
                        },
                        "ComUnitServiceConnections": [
                          {
                            "$ref": "19"
                          },
                          {
                            "$ref": "19"
                          }
                        ],
                        "AssetGuid": "704bf20e-d1c2-4f59-9c3f-1eedcc38e15d"
                      },
                      "ValidTo": "2025-12-24T15:39:17.7545309+00:00",
                      "PhoneNumber": "sample string 8",
                      "DefaultTimeZoneId": "sample string 16",
                      "IpAddress": "sample string 9",
                      "ParticipantId": 1,
                      "AssetActivityRecords": [
                        {
                          "$ref": "2"
                        },
                        {
                          "$ref": "2"
                        }
                      ],
                      "Address": {
                        "$ref": "4"
                      },
                      "AssetOwners": [
                        {
                          "$ref": "11"
                        },
                        {
                          "$ref": "11"
                        }
                      ],
                      "AssetRelationships": [
                        {
                          "$ref": "12"
                        },
                        {
                          "$ref": "12"
                        }
                      ],
                      "AssetParentRelationships": [
                        {
                          "$ref": "12"
                        },
                        {
                          "$ref": "12"
                        }
                      ],
                      "AssetTimeSeries": [
                        {
                          "$ref": "13"
                        },
                        {
                          "$ref": "13"
                        }
                      ],
                      "CommunicationUnits": [],
                      "Participant": {
                        "$ref": "6"
                      },
                      "Location": {
                        "$ref": "32"
                      },
                      "AssetWorkFlow": [
                        {
                          "$ref": "14"
                        },
                        {
                          "$ref": "14"
                        }
                      ],
                      "AlarmHandlings": [
                        {
                          "$ref": "16"
                        },
                        {
                          "$ref": "16"
                        }
                      ],
                      "Categories": [
                        {
                          "$ref": "33"
                        },
                        {
                          "$ref": "33"
                        }
                      ],
                      "AssetModelId": 1,
                      "AssetModel": {
                        "$ref": "34"
                      },
                      "CreatedTime": "2025-12-24T15:39:17.7545309+00:00",
                      "ImportSource": "sample string 17",
                      "Note": "sample string 18",
                      "Configurations": [],
                      "ModifiedTime": "2025-12-24T15:39:17.7545309+00:00",
                      "AssetCalculations": [
                        {
                          "$ref": "36"
                        },
                        {
                          "$ref": "36"
                        }
                      ],
                      "CoordinateModified": true,
                      "SerialNumber": "sample string 20",
                      "AssetGuid": "7e1b39c5-3932-4a6a-b224-b788672491d5",
                      "Contracts": [
                        {
                          "$ref": "38"
                        },
                        {
                          "$ref": "38"
                        }
                      ],
                      "Resource": null,
                      "AssetSubContracts": [
                        {
                          "$ref": "39"
                        },
                        {
                          "$ref": "39"
                        }
                      ],
                      "SDBMHash": 22,
                      "LabelGuid": "e72f9894-dc72-4bad-be83-ef616216857f",
                      "ExternalKeys": [
                        {
                          "$ref": "40"
                        },
                        {
                          "$ref": "40"
                        }
                      ],
                      "EntityState": 0
                    },
                    {
                      "$ref": "44"
                    }
                  ],
                  "AssetOwners": [
                    {
                      "$ref": "11"
                    },
                    {
                      "$ref": "11"
                    }
                  ],
                  "SimCardId": "sample string 5",
                  "AssetRelationships": [
                    {
                      "$ref": "12"
                    },
                    {
                      "$ref": "12"
                    }
                  ],
                  "ModemImei": "sample string 6",
                  "AssetParentRelationships": [
                    {
                      "$ref": "12"
                    },
                    {
                      "$ref": "12"
                    }
                  ],
                  "Antenna": {
                    "$id": "46",
                    "Impedans": "sample string 1",
                    "Id": 7,
                    "EffectArea": "sample string 2",
                    "Name": "sample string 8",
                    "Placement": "sample string 3",
                    "Description": "sample string 9",
                    "Position": "sample string 4",
                    "InstallationDate": "2025-12-24T15:39:17.7545309+00:00",
                    "Documentation": "sample string 5",
                    "CorporateCode": "sample string 10",
                    "AntennaType": 0,
                    "PurchasePrice": "sample string 11",
                    "OpeningAngle": 6.1,
                    "InServiceDate": "2025-12-24T15:39:17.7545309+00:00",
                    "AddressId": 1,
                    "ValidFrom": "2025-12-24T15:39:17.7545309+00:00",
                    "ValidTo": "2025-12-24T15:39:17.7545309+00:00",
                    "DefaultTimeZoneId": "sample string 13",
                    "ParticipantId": 1,
                    "AssetActivityRecords": [
                      {
                        "$ref": "2"
                      },
                      {
                        "$ref": "2"
                      }
                    ],
                    "Address": {
                      "$ref": "4"
                    },
                    "AssetOwners": [
                      {
                        "$ref": "11"
                      },
                      {
                        "$ref": "11"
                      }
                    ],
                    "AssetRelationships": [
                      {
                        "$ref": "12"
                      },
                      {
                        "$ref": "12"
                      }
                    ],
                    "AssetParentRelationships": [
                      {
                        "$ref": "12"
                      },
                      {
                        "$ref": "12"
                      }
                    ],
                    "AssetTimeSeries": [
                      {
                        "$ref": "13"
                      },
                      {
                        "$ref": "13"
                      }
                    ],
                    "CommunicationUnits": [],
                    "Participant": {
                      "$ref": "6"
                    },
                    "Location": {
                      "$ref": "32"
                    },
                    "AssetWorkFlow": [
                      {
                        "$ref": "14"
                      },
                      {
                        "$ref": "14"
                      }
                    ],
                    "AlarmHandlings": [
                      {
                        "$ref": "16"
                      },
                      {
                        "$ref": "16"
                      }
                    ],
                    "Categories": [
                      {
                        "$ref": "33"
                      },
                      {
                        "$ref": "33"
                      }
                    ],
                    "AssetModelId": 1,
                    "AssetModel": {
                      "$ref": "34"
                    },
                    "CreatedTime": "2025-12-24T15:39:17.7545309+00:00",
                    "ImportSource": "sample string 14",
                    "Note": "sample string 15",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-24T15:39:17.7545309+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 17",
                    "AssetGuid": "9196ec49-299c-45ed-bbb9-6cb917127b67",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 19,
                    "LabelGuid": "d5999b09-20a9-412f-be84-6c69bdfeffcd",
                    "ExternalKeys": [
                      {
                        "$ref": "40"
                      },
                      {
                        "$ref": "40"
                      }
                    ],
                    "EntityState": 0
                  },
                  "AssetTimeSeries": [
                    {
                      "$ref": "13"
                    },
                    {
                      "$ref": "13"
                    }
                  ],
                  "AntennaId": 1,
                  "CommunicationUnits": [],
                  "Participant": {
                    "$ref": "6"
                  },
                  "Location": {
                    "$ref": "32"
                  },
                  "AssetWorkFlow": [
                    {
                      "$ref": "14"
                    },
                    {
                      "$ref": "14"
                    }
                  ],
                  "AlarmHandlings": [
                    {
                      "$ref": "16"
                    },
                    {
                      "$ref": "16"
                    }
                  ],
                  "Categories": [
                    {
                      "$ref": "33"
                    },
                    {
                      "$ref": "33"
                    }
                  ],
                  "AssetModelId": 1,
                  "AssetModel": {
                    "$ref": "34"
                  },
                  "CreatedTime": "2025-12-24T15:39:17.7545309+00:00",
                  "ImportSource": "sample string 14",
                  "Note": "sample string 15",
                  "Configurations": [],
                  "ModifiedTime": "2025-12-24T15:39:17.7545309+00:00",
                  "AssetCalculations": [
                    {
                      "$ref": "36"
                    },
                    {
                      "$ref": "36"
                    }
                  ],
                  "CoordinateModified": true,
                  "SerialNumber": "sample string 17",
                  "AssetGuid": "4cf98cd5-e851-4928-9f8b-a142e039d5ad",
                  "Contracts": [
                    {
                      "$ref": "38"
                    },
                    {
                      "$ref": "38"
                    }
                  ],
                  "Resource": null,
                  "AssetSubContracts": [
                    {
                      "$ref": "39"
                    },
                    {
                      "$ref": "39"
                    }
                  ],
                  "SDBMHash": 19,
                  "LabelGuid": "abf9896f-dbee-4bf2-8d61-b305660c77a7",
                  "ExternalKeys": [
                    {
                      "$ref": "40"
                    },
                    {
                      "$ref": "40"
                    }
                  ],
                  "EntityState": 0
                },
                "Name": "sample string 4",
                "ParticipantId": 2,
                "OwnerLegalEntityId": 5,
                "Participant": {
                  "$ref": "6"
                },
                "OwnerLegalEntity": {
                  "$ref": "28"
                },
                "PartnerLegalEntityId": 6,
                "PartnerLegalEntity": {
                  "$ref": "28"
                },
                "BuyOrSale": 0,
                "ValidFrom": "2025-12-24T15:39:17.7545309+00:00",
                "ValidTo": "2025-12-24T15:39:17.7545309+00:00",
                "CancelTime": "2025-12-24T15:39:17.7545309+00:00",
                "ExternalContractId": "sample string 9",
                "ProductId": 1,
                "Product": {
                  "$ref": "30"
                },
                "Assets": [
                  {
                    "$ref": "31"
                  },
                  {
                    "$ref": "31"
                  }
                ],
                "Signed": "2025-12-24T15:39:17.7545309+00:00"
              },
              {
                "$ref": "7"
              }
            ],
            "AssetOwners": [
              {
                "$ref": "11"
              },
              {
                "$ref": "11"
              }
            ],
            "ElectronicAddress": {
              "$ref": "18"
            },
            "Assets": [
              {
                "$ref": "1"
              },
              {
                "$ref": "1"
              }
            ],
            "Schedules": [
              {
                "$id": "47",
                "Id": 1,
                "ExecutionTimeUTC": "2025-12-24T15:39:17.7545309+00:00",
                "TimeZone": "sample string 2",
                "LastExecutedTimeUTC": "2025-12-24T15:39:17.7545309+00:00",
                "RepeatDayTue": true,
                "RepeatStartTimeUTC": "00:00:00.1234567",
                "RepeatEndTimeUTC": "00:00:00.1234567",
                "RepeatEveryWeekdayInMonth": "sample string 3",
                "RepeatSeconds": 1,
                "RepeatDayMon": true,
                "RepeatDayWed": true,
                "RepeatDayThu": true,
                "RepeatDayFri": true,
                "RepeatDaySat": true,
                "RepeatDaySun": true,
                "RepeatEveryXDay": 1,
                "RepeatEveryXMonth": 1,
                "RepeatEveryWeekdayNoInMonth": 1,
                "RepeatEveryXYear": 1,
                "EndNoOfOccurences": 1,
                "RepeatExactDateTimeUTC": "2025-12-24T15:39:17.7545309+00:00",
                "EndDateTimeUTC": "2025-12-24T15:39:17.7545309+00:00",
                "RepeatTimeUTC": "00:00:00.1234567",
                "NoOfOccurences": 1,
                "Status": 0,
                "ParticipantId": 4,
                "Participant": {
                  "$ref": "6"
                }
              },
              {
                "$ref": "47"
              }
            ],
            "UserGroups": [
              {
                "$ref": "21"
              },
              {
                "$ref": "21"
              }
            ],
            "LegalEntityId": 1,
            "LegalEntity": {
              "$ref": "28"
            },
            "GridOwnerCode": "sample string 4",
            "AddressId": 1,
            "InvoiceAddressId": 1,
            "OrganizationNumber": "sample string 5",
            "Address": {
              "$ref": "4"
            },
            "InvoiceAddress": {
              "$ref": "4"
            },
            "ShortName": "sample string 6"
          },
          "Address": {
            "$ref": "4"
          },
          "ElectronicAddress": {
            "$ref": "18"
          },
          "ElectronicAddressId": 1,
          "GlobalLocationNumber": "sample string 9"
        },
        {
          "$ref": "5"
        }
      ],
      "Assets": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ],
      "Participant": {
        "$ref": "6"
      },
      "CoAddress": "sample string 9",
      "ExtraAddress": "sample string 10",
      "Country": "sample string 11",
      "StateOrProvince": "sample string 12",
      "StateOrProvinceId": "sample string 13",
      "Postbox": "sample string 14"
    },
    "AssetOwners": [
      {
        "$ref": "11"
      },
      {
        "$ref": "11"
      }
    ],
    "AssetRelationships": [
      {
        "$ref": "12"
      },
      {
        "$ref": "12"
      }
    ],
    "AssetParentRelationships": [
      {
        "$ref": "12"
      },
      {
        "$ref": "12"
      }
    ],
    "AssetTimeSeries": [
      {
        "$ref": "13"
      },
      {
        "$ref": "13"
      }
    ],
    "CommunicationUnits": [],
    "Participant": {
      "$ref": "6"
    },
    "Location": {
      "$ref": "32"
    },
    "AssetWorkFlow": [
      {
        "$ref": "14"
      },
      {
        "$ref": "14"
      }
    ],
    "AlarmHandlings": [
      {
        "$ref": "16"
      },
      {
        "$ref": "16"
      }
    ],
    "Categories": [
      {
        "$ref": "33"
      },
      {
        "$ref": "33"
      }
    ],
    "AssetModelId": 1,
    "AssetModel": {
      "$ref": "34"
    },
    "CreatedTime": "2025-12-24T15:39:17.7545309+00:00",
    "ImportSource": "sample string 8",
    "Note": "sample string 9",
    "Configurations": [],
    "ModifiedTime": "2025-12-24T15:39:17.7545309+00:00",
    "AssetCalculations": [
      {
        "$ref": "36"
      },
      {
        "$ref": "36"
      }
    ],
    "CoordinateModified": true,
    "SerialNumber": "sample string 11",
    "AssetGuid": "0db45ae9-fde2-4242-b991-452dc7c040a0",
    "Contracts": [
      {
        "$ref": "38"
      },
      {
        "$ref": "38"
      }
    ],
    "Resource": null,
    "AssetSubContracts": [
      {
        "$ref": "39"
      },
      {
        "$ref": "39"
      }
    ],
    "SDBMHash": 13,
    "LabelGuid": "c5a9a823-12e2-47e1-9c78-c803e1678647",
    "ExternalKeys": [
      {
        "$ref": "40"
      },
      {
        "$ref": "40"
      }
    ],
    "EntityState": 0
  }
}

application/xml, text/xml

Sample:
<IoTGateway xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/eSmart.Common.Data.Domain">
  <Id>2275f978-639c-47e2-acfd-8c96469f6975</Id>
  <GatewayClassId>2</GatewayClassId>
  <Status>New</Status>
  <SasToken>sample string 3</SasToken>
  <SasTokenTopicRead>sample string 4</SasTokenTopicRead>
  <AssetId>1</AssetId>
  <ValidFrom>2025-12-24T15:39:17.6295347+00:00</ValidFrom>
  <ValidTo>2025-12-24T15:39:17.6295347+00:00</ValidTo>
  <LoggingIsOn>true</LoggingIsOn>
  <TokenExpiry>2025-12-24T15:39:17.6295347+00:00</TokenExpiry>
  <TopicTokenExpiry>2025-12-24T15:39:17.6295347+00:00</TopicTokenExpiry>
  <DataProviderId>1</DataProviderId>
  <DataProvider z:Id="i2">
    <Id>1</Id>
    <GatewayClassId>2</GatewayClassId>
    <Name>sample string 3</Name>
    <EndpointId>4</EndpointId>
    <AlertNewDevicesEndpointId>1</AlertNewDevicesEndpointId>
  </DataProvider>
</IoTGateway>