GET api/manage/gateways

Method for listing gateways.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of gateways.

Collection of 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": "d086fec7-9f01-48ae-8935-ad1733ae8a60",
    "GatewayClassId": 2,
    "Status": 0,
    "SasToken": "sample string 3",
    "SasTokenTopicRead": "sample string 4",
    "AssetId": 1,
    "ValidFrom": "2025-12-26T07:36:14.1853653+00:00",
    "ValidTo": "2025-12-26T07:36:14.1853653+00:00",
    "LoggingIsOn": true,
    "TokenExpiry": "2025-12-26T07:36:14.1853653+00:00",
    "TopicTokenExpiry": "2025-12-26T07:36:14.1853653+00:00",
    "DataProviderId": 1,
    "devices": {},
    "Asset": {
      "$id": "1",
      "Id": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "InstallationDate": "2025-12-26T07:36:14.1853653+00:00",
      "CorporateCode": "sample string 4",
      "PurchasePrice": "sample string 5",
      "InServiceDate": "2025-12-26T07:36:14.1853653+00:00",
      "AddressId": 1,
      "ValidFrom": "2025-12-26T07:36:14.1853653+00:00",
      "ValidTo": "2025-12-26T07:36:14.1853653+00:00",
      "DefaultTimeZoneId": "sample string 7",
      "ParticipantId": 1,
      "AssetActivityRecords": [
        {
          "$id": "2",
          "Id": 1,
          "AssetId": 2,
          "Reason": "sample string 3",
          "CreatedDateTime": "2025-12-26T07:36:14.1853653+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": "6e7a373f-55b2-471a-bf84-d3528ba4f2ca"
        },
        {
          "$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-26T07:36:14.1853653+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-26T07:36:14.1853653+00:00",
            "ParticipantId": 8,
            "AddressId": 1,
            "Participant": {
              "$id": "6",
              "Id": 1,
              "Name": "sample string 2",
              "ElectronicAddressId": 3,
              "AssetContracts": [
                {
                  "$id": "7",
                  "MeterId": 1,
                  "Id": "4b722c72-89a4-4a6b-ab6c-01bf939f8315",
                  "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-26T07:36:14.2003375+00:00",
                      "OverloadProtectionNumPhases": 5,
                      "CorporateCode": "sample string 15",
                      "OverloadProtectionCurrent": 6.1,
                      "PurchasePrice": "sample string 16",
                      "ShortCircuitNumPhases": 7,
                      "InServiceDate": "2025-12-26T07:36:14.2003375+00:00",
                      "ShortCircuitCurrent": 8.1,
                      "AddressId": 1,
                      "Meters": [
                        {
                          "$ref": "8"
                        },
                        {
                          "$ref": "8"
                        }
                      ],
                      "ValidFrom": "2025-12-26T07:36:14.2003375+00:00",
                      "MeterPointNumber": "sample string 9",
                      "ValidTo": "2025-12-26T07:36:14.2003375+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-26T07:36:14.2003375+00:00",
                          "ValidTo": "2025-12-26T07:36:14.2003375+00:00",
                          "ParticipantId": 5,
                          "Asset": {
                            "$ref": "1"
                          },
                          "Participant": {
                            "$ref": "6"
                          },
                          "AssetGuid": "02de4a62-d3e1-4ac9-89b0-2251abcfc78d"
                        },
                        {
                          "$ref": "11"
                        }
                      ],
                      "AssetRelationships": [
                        {
                          "$id": "12",
                          "Id": 1,
                          "Guid": "054b2330-c07b-4783-904f-541d1212b6e3",
                          "AssetId": 3,
                          "Asset": {
                            "$ref": "1"
                          },
                          "AssetParentId": 1,
                          "AssetParent": {
                            "$ref": "1"
                          },
                          "RelationshipType": 0,
                          "AssetGuid": "4066fe94-df82-4132-84e2-c283323f70a0",
                          "AssetParentGuid": "befef8b2-0cca-4380-9eb0-c700b4882362",
                          "Priority": 6,
                          "PropertiesJsonString": "sample string 7",
                          "EntityState": 0,
                          "ValidFrom": "2025-12-26T07:36:14.2003375+00:00",
                          "ValidTo": "2025-12-26T07:36:14.2003375+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-26T07:36:14.2003375+00:00",
                          "LastCompleteCollection": "2025-12-26T07:36:14.2003375+00:00",
                          "IsCalculated": true,
                          "ParentTimeseriesId": 1,
                          "ParentTimeseries": null,
                          "Description": "sample string 6",
                          "DataOrigin": 0,
                          "AssetGuid": "2fad8ad7-6334-4f19-bf71-8cac8092e32d"
                        },
                        {
                          "$ref": "13"
                        }
                      ],
                      "CommunicationUnits": [],
                      "Participant": {
                        "$ref": "6"
                      },
                      "Location": null,
                      "AssetWorkFlow": [
                        {
                          "$id": "14",
                          "InstanceId": "937df241-4e7c-45ef-b34a-0c5e597aef5a",
                          "AssetId": 1,
                          "WorkFlowId": 2,
                          "Remarks": "sample string 3",
                          "ExecutedTime": "2025-12-26T07:36:14.215966+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-26T07:36:14.215966+00:00",
                          "ValidToDateTime": "2025-12-26T07:36:14.215966+00:00",
                          "ManuallySet": true,
                          "AssetGuid": "793bf0d3-61a8-47ae-9db3-01a36f30d5a1"
                        },
                        {
                          "$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-26T07:36:14.215966+00:00",
                            "picture": "QEA=",
                            "Created": "2025-12-26T07:36:14.215966+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": "6848c3b8-4277-46d5-bb6c-dda7c0010fff",
                                "Name": "sample string 5",
                                "UserId": "sample string 2",
                                "Description": "sample string 6",
                                "User": {
                                  "$ref": "17"
                                },
                                "InstallationDate": "2025-12-26T07:36:14.215966+00:00",
                                "IsShared": true,
                                "CorporateCode": "sample string 7",
                                "ZoneControlContracts": [
                                  {
                                    "$id": "26",
                                    "SearchFilterId": 1,
                                    "Id": "e1a1a616-0c0d-432d-9250-561457f30988",
                                    "SearchFilter": {
                                      "$ref": "25"
                                    },
                                    "ContractId": "4bd70485-02af-4342-8c56-4b1b4a76b999",
                                    "MaxPowerPrActivation": 2.1,
                                    "Contract": {
                                      "$id": "27",
                                      "Id": "99507f82-3bbe-47e2-bc8a-99ba24ae361c",
                                      "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-26T07:36:14.215966+00:00",
                                            "ValidTo": "2025-12-26T07:36:14.215966+00:00"
                                          },
                                          {
                                            "$ref": "29"
                                          }
                                        ]
                                      },
                                      "PartnerLegalEntityId": 4,
                                      "PartnerLegalEntity": {
                                        "$ref": "28"
                                      },
                                      "BuyOrSale": 0,
                                      "ValidFrom": "2025-12-26T07:36:14.215966+00:00",
                                      "ValidTo": "2025-12-26T07:36:14.215966+00:00",
                                      "CancelTime": "2025-12-26T07:36:14.215966+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": "cec5de83-12e3-4209-96f1-c1bd93fc7e0b",
                                          "ContractId": "4bd4bde7-b910-4927-91da-6ba387e517a3",
                                          "Contract": {
                                            "$ref": "27"
                                          },
                                          "Name": "sample string 3",
                                          "ValidFrom": "2025-12-26T07:36:14.215966+00:00",
                                          "ValidTo": "2025-12-26T07:36:14.215966+00:00",
                                          "CancelTime": "2025-12-26T07:36:14.215966+00:00",
                                          "Signed": "2025-12-26T07:36:14.215966+00:00",
                                          "Renewal": 0,
                                          "ParticipantId": 6,
                                          "Participant": {
                                            "$ref": "6"
                                          }
                                        },
                                        {
                                          "$ref": "31"
                                        }
                                      ],
                                      "Signed": "2025-12-26T07:36:14.215966+00:00"
                                    },
                                    "DaysAllowedForActivation": 0,
                                    "Name": "sample string 12",
                                    "PermittedIntervals": "sample string 3",
                                    "ValidFrom": "2025-12-26T07:36:14.215966+00:00",
                                    "MaxAllowedActivationTime": 1,
                                    "ValidTo": "2025-12-26T07:36:14.215966+00:00",
                                    "MininumTimeBetweenActivation": 4,
                                    "CancelTime": "2025-12-26T07:36:14.215966+00:00",
                                    "Tolerance": 5.1,
                                    "Signed": "2025-12-26T07:36:14.215966+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-26T07:36:14.215966+00:00",
                                "AddressId": 1,
                                "ValidFrom": "2025-12-26T07:36:14.215966+00:00",
                                "ValidTo": "2025-12-26T07:36:14.215966+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-26T07:36:14.215966+00:00",
                                "ImportSource": "sample string 11",
                                "Note": "sample string 12",
                                "Configurations": [],
                                "ModifiedTime": "2025-12-26T07:36:14.215966+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-26T07:36:14.215966+00:00",
                                      "FrequencyInSeconds": 5,
                                      "ValidFrom": "2025-12-26T07:36:14.215966+00:00",
                                      "ValidTo": "2025-12-26T07:36:14.215966+00:00"
                                    },
                                    "ValidFromDateTime": "2025-12-26T07:36:14.215966+00:00",
                                    "ValidToDateTime": "2025-12-26T07:36:14.215966+00:00",
                                    "ManuallySet": true,
                                    "AssetGuid": "25cb4d1f-ff51-40cb-813b-7d0d65dff3b0"
                                  },
                                  {
                                    "$ref": "36"
                                  }
                                ],
                                "CoordinateModified": true,
                                "SerialNumber": "sample string 14",
                                "AssetGuid": "669ee201-4e6e-4f73-b720-3c913304a819",
                                "Contracts": [
                                  {
                                    "$id": "38",
                                    "AssetId": 1,
                                    "Id": "5da4da77-f836-4204-bba5-62dbe2757e9d",
                                    "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-26T07:36:14.215966+00:00",
                                    "ValidTo": "2025-12-26T07:36:14.215966+00:00",
                                    "CancelTime": "2025-12-26T07:36:14.215966+00:00",
                                    "ExternalContractId": "sample string 9",
                                    "ProductId": 1,
                                    "Product": {
                                      "$ref": "30"
                                    },
                                    "Assets": [
                                      {
                                        "$ref": "31"
                                      },
                                      {
                                        "$ref": "31"
                                      }
                                    ],
                                    "Signed": "2025-12-26T07:36:14.215966+00:00"
                                  },
                                  {
                                    "$ref": "38"
                                  }
                                ],
                                "Resource": null,
                                "AssetSubContracts": [
                                  {
                                    "$id": "39",
                                    "AssetId": 1,
                                    "Id": "d82141cb-b220-42be-92e3-52ed05f8b559",
                                    "Asset": {
                                      "$ref": "1"
                                    },
                                    "ContractId": "bc97b75d-4b75-4ebf-8a20-9729fa609278",
                                    "Contract": {
                                      "$ref": "27"
                                    },
                                    "Name": "sample string 4",
                                    "ValidFrom": "2025-12-26T07:36:14.215966+00:00",
                                    "ValidTo": "2025-12-26T07:36:14.215966+00:00",
                                    "CancelTime": "2025-12-26T07:36:14.215966+00:00",
                                    "Signed": "2025-12-26T07:36:14.215966+00:00",
                                    "Renewal": 0,
                                    "ParticipantId": 7,
                                    "Participant": {
                                      "$ref": "6"
                                    }
                                  },
                                  {
                                    "$ref": "39"
                                  }
                                ],
                                "SDBMHash": 16,
                                "LabelGuid": "d6d47c82-cf75-4503-b7d6-5fad1e85c7a9",
                                "ExternalKeys": [
                                  {
                                    "$id": "40",
                                    "AssetId": 1,
                                    "ExternalId": "sample string 2",
                                    "ExternalSystemId": "b958ad55-d664-4c96-952f-71b121bc57b1",
                                    "ExternalSystem": {
                                      "$id": "41",
                                      "Id": "21fd6f6e-976c-4512-91c7-2e41896b99ed",
                                      "SystemName": "sample string 2"
                                    }
                                  },
                                  {
                                    "$ref": "40"
                                  }
                                ],
                                "EntityState": 0
                              },
                              {
                                "$ref": "25"
                              }
                            ],
                            "Diagrams": [
                              {
                                "$id": "42",
                                "Id": 1,
                                "DiagramKey": "sample string 2",
                                "CreatedTime": "2025-12-26T07:36:14.215966+00:00",
                                "ModifiedTime": "2025-12-26T07:36:14.215966+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-26T07:36:14.215966+00:00",
                          "FromDateTime": "2025-12-26T07:36:14.215966+00:00",
                          "ToDateTime": "2025-12-26T07:36:14.215966+00:00",
                          "AssetGuid": "66c72cff-773c-4900-af04-4de33123e2bd"
                        },
                        {
                          "$ref": "16"
                        }
                      ],
                      "Categories": [
                        {
                          "$ref": "33"
                        },
                        {
                          "$ref": "33"
                        }
                      ],
                      "AssetModelId": 1,
                      "AssetModel": {
                        "$ref": "34"
                      },
                      "CreatedTime": "2025-12-26T07:36:14.215966+00:00",
                      "ImportSource": "sample string 19",
                      "Note": "sample string 20",
                      "Configurations": [],
                      "ModifiedTime": "2025-12-26T07:36:14.215966+00:00",
                      "AssetCalculations": [
                        {
                          "$ref": "36"
                        },
                        {
                          "$ref": "36"
                        }
                      ],
                      "CoordinateModified": true,
                      "SerialNumber": "sample string 22",
                      "AssetGuid": "c4b5e701-4067-45d3-84c0-01911023427a",
                      "Contracts": [
                        {
                          "$ref": "38"
                        },
                        {
                          "$ref": "38"
                        }
                      ],
                      "Resource": null,
                      "AssetSubContracts": [
                        {
                          "$ref": "39"
                        },
                        {
                          "$ref": "39"
                        }
                      ],
                      "SDBMHash": 24,
                      "LabelGuid": "e4c9ee59-2c7c-4242-ab7f-bd564441400b",
                      "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-26T07:36:14.2315917+00:00",
                    "Status": 1,
                    "CorporateCode": "sample string 10",
                    "MeterType": 0,
                    "PurchasePrice": "sample string 11",
                    "EstimatedAnnualUsage": 1.1,
                    "InServiceDate": "2025-12-26T07:36:14.2315917+00:00",
                    "EnergyProviderContracts": [
                      {
                        "$id": "43",
                        "MeterId": 1,
                        "Id": "397ccb86-162c-434e-b244-b4e5fcea93ee",
                        "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-26T07:36:14.215966+00:00",
                        "ValidTo": "2025-12-26T07:36:14.215966+00:00",
                        "CancelTime": "2025-12-26T07:36:14.215966+00:00",
                        "ExternalContractId": "sample string 9",
                        "ProductId": 1,
                        "Product": {
                          "$ref": "30"
                        },
                        "Assets": [
                          {
                            "$ref": "31"
                          },
                          {
                            "$ref": "31"
                          }
                        ],
                        "Signed": "2025-12-26T07:36:14.215966+00:00"
                      },
                      {
                        "$ref": "43"
                      }
                    ],
                    "AddressId": 1,
                    "PowerDistributionContracts": [
                      {
                        "$ref": "7"
                      },
                      {
                        "$ref": "7"
                      }
                    ],
                    "ValidFrom": "2025-12-26T07:36:14.2315917+00:00",
                    "LeftDigitCount": 1,
                    "ValidTo": "2025-12-26T07:36:14.2315917+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-26T07:36:14.2315917+00:00",
                        "PreferredNetworksList": [
                          "sample string 1",
                          "sample string 2"
                        ],
                        "CorporateCode": "sample string 13",
                        "ICCID": "sample string 5",
                        "PurchasePrice": "sample string 14",
                        "Installed": "2025-12-26T07:36:14.2315917+00:00",
                        "InServiceDate": "2025-12-26T07:36:14.2315917+00:00",
                        "Active": true,
                        "AddressId": 1,
                        "PhoneCommunicationUnitId": 1,
                        "ValidFrom": "2025-12-26T07:36:14.2315917+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": "dd100d8e-b483-49f7-93fc-0a65e88c0683"
                        },
                        "ValidTo": "2025-12-26T07:36:14.2315917+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-26T07:36:14.2315917+00:00",
                        "ImportSource": "sample string 17",
                        "Note": "sample string 18",
                        "Configurations": [],
                        "ModifiedTime": "2025-12-26T07:36:14.2315917+00:00",
                        "AssetCalculations": [
                          {
                            "$ref": "36"
                          },
                          {
                            "$ref": "36"
                          }
                        ],
                        "CoordinateModified": true,
                        "SerialNumber": "sample string 20",
                        "AssetGuid": "22c1e46f-34ef-42d1-b492-18720ac9b6b9",
                        "Contracts": [
                          {
                            "$ref": "38"
                          },
                          {
                            "$ref": "38"
                          }
                        ],
                        "Resource": null,
                        "AssetSubContracts": [
                          {
                            "$ref": "39"
                          },
                          {
                            "$ref": "39"
                          }
                        ],
                        "SDBMHash": 22,
                        "LabelGuid": "7c26ae8b-d3cd-493a-b19f-9a985573a7dd",
                        "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-26T07:36:14.2315917+00:00",
                      "Documentation": "sample string 5",
                      "CorporateCode": "sample string 10",
                      "AntennaType": 0,
                      "PurchasePrice": "sample string 11",
                      "OpeningAngle": 6.1,
                      "InServiceDate": "2025-12-26T07:36:14.2315917+00:00",
                      "AddressId": 1,
                      "ValidFrom": "2025-12-26T07:36:14.2315917+00:00",
                      "ValidTo": "2025-12-26T07:36:14.2315917+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-26T07:36:14.2315917+00:00",
                      "ImportSource": "sample string 14",
                      "Note": "sample string 15",
                      "Configurations": [],
                      "ModifiedTime": "2025-12-26T07:36:14.2315917+00:00",
                      "AssetCalculations": [
                        {
                          "$ref": "36"
                        },
                        {
                          "$ref": "36"
                        }
                      ],
                      "CoordinateModified": true,
                      "SerialNumber": "sample string 17",
                      "AssetGuid": "6ef38352-6647-4ae0-b3d9-58e42980b6c3",
                      "Contracts": [
                        {
                          "$ref": "38"
                        },
                        {
                          "$ref": "38"
                        }
                      ],
                      "Resource": null,
                      "AssetSubContracts": [
                        {
                          "$ref": "39"
                        },
                        {
                          "$ref": "39"
                        }
                      ],
                      "SDBMHash": 19,
                      "LabelGuid": "ca1f48dd-13e2-41f4-ab25-af1a4f6ee9e5",
                      "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-26T07:36:14.2315917+00:00",
                    "ImportSource": "sample string 14",
                    "Note": "sample string 15",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-26T07:36:14.2315917+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 17",
                    "AssetGuid": "62bcceab-f4af-4e77-8753-1750a494558e",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 19,
                    "LabelGuid": "0cf8af12-3285-4abd-ad10-e02785c68412",
                    "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-26T07:36:14.2315917+00:00",
                  "ValidTo": "2025-12-26T07:36:14.2315917+00:00",
                  "CancelTime": "2025-12-26T07:36:14.2315917+00:00",
                  "ExternalContractId": "sample string 9",
                  "ProductId": 1,
                  "Product": {
                    "$ref": "30"
                  },
                  "Assets": [
                    {
                      "$ref": "31"
                    },
                    {
                      "$ref": "31"
                    }
                  ],
                  "Signed": "2025-12-26T07:36:14.2315917+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-26T07:36:14.2315917+00:00",
                  "TimeZone": "sample string 2",
                  "LastExecutedTimeUTC": "2025-12-26T07:36:14.2315917+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-26T07:36:14.2315917+00:00",
                  "EndDateTimeUTC": "2025-12-26T07:36:14.2315917+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-26T07:36:14.2315917+00:00",
      "ImportSource": "sample string 8",
      "Note": "sample string 9",
      "Configurations": [],
      "ModifiedTime": "2025-12-26T07:36:14.2315917+00:00",
      "AssetCalculations": [
        {
          "$ref": "36"
        },
        {
          "$ref": "36"
        }
      ],
      "CoordinateModified": true,
      "SerialNumber": "sample string 11",
      "AssetGuid": "c931e27c-fc57-4e4e-9402-3f0851c607e7",
      "Contracts": [
        {
          "$ref": "38"
        },
        {
          "$ref": "38"
        }
      ],
      "Resource": null,
      "AssetSubContracts": [
        {
          "$ref": "39"
        },
        {
          "$ref": "39"
        }
      ],
      "SDBMHash": 13,
      "LabelGuid": "e0105d46-c72b-4a56-acd9-1dfa137796e3",
      "ExternalKeys": [
        {
          "$ref": "40"
        },
        {
          "$ref": "40"
        }
      ],
      "EntityState": 0
    }
  },
  {
    "Id": "d086fec7-9f01-48ae-8935-ad1733ae8a60",
    "GatewayClassId": 2,
    "Status": 0,
    "SasToken": "sample string 3",
    "SasTokenTopicRead": "sample string 4",
    "AssetId": 1,
    "ValidFrom": "2025-12-26T07:36:14.1853653+00:00",
    "ValidTo": "2025-12-26T07:36:14.1853653+00:00",
    "LoggingIsOn": true,
    "TokenExpiry": "2025-12-26T07:36:14.1853653+00:00",
    "TopicTokenExpiry": "2025-12-26T07:36:14.1853653+00:00",
    "DataProviderId": 1,
    "devices": {},
    "Asset": {
      "$ref": "1"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfIoTGateway xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eSmart.Common.Data.Domain">
  <IoTGateway z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <Id>d086fec7-9f01-48ae-8935-ad1733ae8a60</Id>
    <GatewayClassId>2</GatewayClassId>
    <Status>New</Status>
    <SasToken>sample string 3</SasToken>
    <SasTokenTopicRead>sample string 4</SasTokenTopicRead>
    <AssetId>1</AssetId>
    <ValidFrom>2025-12-26T07:36:14.1853653+00:00</ValidFrom>
    <ValidTo>2025-12-26T07:36:14.1853653+00:00</ValidTo>
    <LoggingIsOn>true</LoggingIsOn>
    <TokenExpiry>2025-12-26T07:36:14.1853653+00:00</TokenExpiry>
    <TopicTokenExpiry>2025-12-26T07:36:14.1853653+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>
  <IoTGateway z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfIoTGateway>