POST api/manage/gateways

Method for creating a new gateway.

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "Id": "f5cee6d0-e477-449e-9b01-cca3612d4616",
  "GatewayClassId": 2,
  "Status": 0,
  "SasToken": "sample string 3",
  "SasTokenTopicRead": "sample string 4",
  "AssetId": 1,
  "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
  "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
  "LoggingIsOn": true,
  "TokenExpiry": "2025-12-23T04:44:58.5522002+00:00",
  "TopicTokenExpiry": "2025-12-23T04:44:58.5522002+00:00",
  "DataProviderId": 1,
  "devices": {},
  "Asset": {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "InstallationDate": "2025-12-23T04:44:58.5522002+00:00",
    "CorporateCode": "sample string 4",
    "PurchasePrice": "sample string 5",
    "InServiceDate": "2025-12-23T04:44:58.5522002+00:00",
    "AddressId": 1,
    "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
    "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
    "DefaultTimeZoneId": "sample string 7",
    "ParticipantId": 1,
    "AssetActivityRecords": [
      {
        "$id": "2",
        "Id": 1,
        "AssetId": 2,
        "Reason": "sample string 3",
        "CreatedDateTime": "2025-12-23T04:44:58.5522002+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": "c000d86f-a07b-4105-886d-6ec9fd1b2c0f"
      },
      {
        "$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-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
          "ParticipantId": 8,
          "AddressId": 1,
          "Participant": {
            "$id": "6",
            "Id": 1,
            "Name": "sample string 2",
            "ElectronicAddressId": 3,
            "AssetContracts": [
              {
                "$id": "7",
                "MeterId": 1,
                "Id": "b9d36ab0-3e7a-414d-b703-7efdef890220",
                "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-23T04:44:58.5522002+00:00",
                    "OverloadProtectionNumPhases": 5,
                    "CorporateCode": "sample string 15",
                    "OverloadProtectionCurrent": 6.1,
                    "PurchasePrice": "sample string 16",
                    "ShortCircuitNumPhases": 7,
                    "InServiceDate": "2025-12-23T04:44:58.5522002+00:00",
                    "ShortCircuitCurrent": 8.1,
                    "AddressId": 1,
                    "Meters": [
                      {
                        "$ref": "8"
                      },
                      {
                        "$ref": "8"
                      }
                    ],
                    "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                    "MeterPointNumber": "sample string 9",
                    "ValidTo": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                        "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                        "ParticipantId": 5,
                        "Asset": {
                          "$ref": "1"
                        },
                        "Participant": {
                          "$ref": "6"
                        },
                        "AssetGuid": "abbb404f-494e-4e07-9b53-3a9f89d59b31"
                      },
                      {
                        "$ref": "11"
                      }
                    ],
                    "AssetRelationships": [
                      {
                        "$id": "12",
                        "Id": 1,
                        "Guid": "4a1f46b2-12c7-4f90-8000-66c983029690",
                        "AssetId": 3,
                        "Asset": {
                          "$ref": "1"
                        },
                        "AssetParentId": 1,
                        "AssetParent": {
                          "$ref": "1"
                        },
                        "RelationshipType": 0,
                        "AssetGuid": "82378490-ba2b-4e82-9c68-b5454b349297",
                        "AssetParentGuid": "052133e3-434d-4d6f-9e67-2acc9035d060",
                        "Priority": 6,
                        "PropertiesJsonString": "sample string 7",
                        "EntityState": 0,
                        "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                        "ValidTo": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                        "LastCompleteCollection": "2025-12-23T04:44:58.5522002+00:00",
                        "IsCalculated": true,
                        "ParentTimeseriesId": 1,
                        "ParentTimeseries": null,
                        "Description": "sample string 6",
                        "DataOrigin": 0,
                        "AssetGuid": "cc2b8f7b-eb84-4d66-bca4-da2501a0a3e0"
                      },
                      {
                        "$ref": "13"
                      }
                    ],
                    "CommunicationUnits": [],
                    "Participant": {
                      "$ref": "6"
                    },
                    "Location": null,
                    "AssetWorkFlow": [
                      {
                        "$id": "14",
                        "InstanceId": "f0efd7f6-c5ca-4e11-bb0c-4dabb46184df",
                        "AssetId": 1,
                        "WorkFlowId": 2,
                        "Remarks": "sample string 3",
                        "ExecutedTime": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                        "ValidToDateTime": "2025-12-23T04:44:58.5522002+00:00",
                        "ManuallySet": true,
                        "AssetGuid": "85f022ad-6c73-48de-b252-abdfb1cc99a4"
                      },
                      {
                        "$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-23T04:44:58.5522002+00:00",
                          "picture": "QEA=",
                          "Created": "2025-12-23T04:44:58.5522002+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": "e8196d00-1fe3-4c11-954e-c70812538b58",
                              "Name": "sample string 5",
                              "UserId": "sample string 2",
                              "Description": "sample string 6",
                              "User": {
                                "$ref": "17"
                              },
                              "InstallationDate": "2025-12-23T04:44:58.5522002+00:00",
                              "IsShared": true,
                              "CorporateCode": "sample string 7",
                              "ZoneControlContracts": [
                                {
                                  "$id": "26",
                                  "SearchFilterId": 1,
                                  "Id": "de23f978-d66e-4b18-b967-78741882f88f",
                                  "SearchFilter": {
                                    "$ref": "25"
                                  },
                                  "ContractId": "c139e77a-e35f-49c8-ba85-e7c34ebdc72b",
                                  "MaxPowerPrActivation": 2.1,
                                  "Contract": {
                                    "$id": "27",
                                    "Id": "5ffde214-1bbf-49d6-afbc-721e247c36ac",
                                    "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-23T04:44:58.5522002+00:00",
                                          "ValidTo": "2025-12-23T04:44:58.5522002+00:00"
                                        },
                                        {
                                          "$ref": "29"
                                        }
                                      ]
                                    },
                                    "PartnerLegalEntityId": 4,
                                    "PartnerLegalEntity": {
                                      "$ref": "28"
                                    },
                                    "BuyOrSale": 0,
                                    "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                                    "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                                    "CancelTime": "2025-12-23T04:44:58.5522002+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": "312de126-f308-4704-9cc9-e53d599582e9",
                                        "ContractId": "6e0acfa3-dba5-44af-b168-2db1cf848178",
                                        "Contract": {
                                          "$ref": "27"
                                        },
                                        "Name": "sample string 3",
                                        "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                                        "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                                        "CancelTime": "2025-12-23T04:44:58.5522002+00:00",
                                        "Signed": "2025-12-23T04:44:58.5522002+00:00",
                                        "Renewal": 0,
                                        "ParticipantId": 6,
                                        "Participant": {
                                          "$ref": "6"
                                        }
                                      },
                                      {
                                        "$ref": "31"
                                      }
                                    ],
                                    "Signed": "2025-12-23T04:44:58.5522002+00:00"
                                  },
                                  "DaysAllowedForActivation": 0,
                                  "Name": "sample string 12",
                                  "PermittedIntervals": "sample string 3",
                                  "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                                  "MaxAllowedActivationTime": 1,
                                  "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                                  "MininumTimeBetweenActivation": 4,
                                  "CancelTime": "2025-12-23T04:44:58.5522002+00:00",
                                  "Tolerance": 5.1,
                                  "Signed": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                              "AddressId": 1,
                              "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                              "ValidTo": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                              "ImportSource": "sample string 11",
                              "Note": "sample string 12",
                              "Configurations": [],
                              "ModifiedTime": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                                    "FrequencyInSeconds": 5,
                                    "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                                    "ValidTo": "2025-12-23T04:44:58.5522002+00:00"
                                  },
                                  "ValidFromDateTime": "2025-12-23T04:44:58.5522002+00:00",
                                  "ValidToDateTime": "2025-12-23T04:44:58.5522002+00:00",
                                  "ManuallySet": true,
                                  "AssetGuid": "f7789ebe-0af0-4287-9fbd-0642fa6324a8"
                                },
                                {
                                  "$ref": "36"
                                }
                              ],
                              "CoordinateModified": true,
                              "SerialNumber": "sample string 14",
                              "AssetGuid": "c9564a22-5362-4295-a27d-f398c496a9d4",
                              "Contracts": [
                                {
                                  "$id": "38",
                                  "AssetId": 1,
                                  "Id": "59fe47c6-7956-45f6-943c-e91195287cf9",
                                  "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-23T04:44:58.5522002+00:00",
                                  "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                                  "CancelTime": "2025-12-23T04:44:58.5522002+00:00",
                                  "ExternalContractId": "sample string 9",
                                  "ProductId": 1,
                                  "Product": {
                                    "$ref": "30"
                                  },
                                  "Assets": [
                                    {
                                      "$ref": "31"
                                    },
                                    {
                                      "$ref": "31"
                                    }
                                  ],
                                  "Signed": "2025-12-23T04:44:58.5522002+00:00"
                                },
                                {
                                  "$ref": "38"
                                }
                              ],
                              "Resource": null,
                              "AssetSubContracts": [
                                {
                                  "$id": "39",
                                  "AssetId": 1,
                                  "Id": "3f74b38f-1500-4939-bfaf-50bf3153c038",
                                  "Asset": {
                                    "$ref": "1"
                                  },
                                  "ContractId": "b8a9dae3-e659-46c0-a102-f2841204e9e0",
                                  "Contract": {
                                    "$ref": "27"
                                  },
                                  "Name": "sample string 4",
                                  "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                                  "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                                  "CancelTime": "2025-12-23T04:44:58.5522002+00:00",
                                  "Signed": "2025-12-23T04:44:58.5522002+00:00",
                                  "Renewal": 0,
                                  "ParticipantId": 7,
                                  "Participant": {
                                    "$ref": "6"
                                  }
                                },
                                {
                                  "$ref": "39"
                                }
                              ],
                              "SDBMHash": 16,
                              "LabelGuid": "ab5638ff-8ccf-4549-a68c-10ca889d8472",
                              "ExternalKeys": [
                                {
                                  "$id": "40",
                                  "AssetId": 1,
                                  "ExternalId": "sample string 2",
                                  "ExternalSystemId": "3d08ec0a-9c02-4ad7-96ef-439902577c10",
                                  "ExternalSystem": {
                                    "$id": "41",
                                    "Id": "23cad2b6-6877-4283-8a98-491888ef61f0",
                                    "SystemName": "sample string 2"
                                  }
                                },
                                {
                                  "$ref": "40"
                                }
                              ],
                              "EntityState": 0
                            },
                            {
                              "$ref": "25"
                            }
                          ],
                          "Diagrams": [
                            {
                              "$id": "42",
                              "Id": 1,
                              "DiagramKey": "sample string 2",
                              "CreatedTime": "2025-12-23T04:44:58.5522002+00:00",
                              "ModifiedTime": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                        "FromDateTime": "2025-12-23T04:44:58.5522002+00:00",
                        "ToDateTime": "2025-12-23T04:44:58.5522002+00:00",
                        "AssetGuid": "f7bb0f83-8126-47eb-ad3b-ffeb16050648"
                      },
                      {
                        "$ref": "16"
                      }
                    ],
                    "Categories": [
                      {
                        "$ref": "33"
                      },
                      {
                        "$ref": "33"
                      }
                    ],
                    "AssetModelId": 1,
                    "AssetModel": {
                      "$ref": "34"
                    },
                    "CreatedTime": "2025-12-23T04:44:58.5522002+00:00",
                    "ImportSource": "sample string 19",
                    "Note": "sample string 20",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-23T04:44:58.5522002+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 22",
                    "AssetGuid": "fccaffc0-560c-4c66-b078-324c27e9440e",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 24,
                    "LabelGuid": "95879c1f-d8cd-4d6b-86e1-1a54d21a998b",
                    "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-23T04:44:58.5522002+00:00",
                  "Status": 1,
                  "CorporateCode": "sample string 10",
                  "MeterType": 0,
                  "PurchasePrice": "sample string 11",
                  "EstimatedAnnualUsage": 1.1,
                  "InServiceDate": "2025-12-23T04:44:58.5522002+00:00",
                  "EnergyProviderContracts": [
                    {
                      "$id": "43",
                      "MeterId": 1,
                      "Id": "3f1fe9f0-9ba4-49b4-a698-03861708e4b9",
                      "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-23T04:44:58.5522002+00:00",
                      "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                      "CancelTime": "2025-12-23T04:44:58.5522002+00:00",
                      "ExternalContractId": "sample string 9",
                      "ProductId": 1,
                      "Product": {
                        "$ref": "30"
                      },
                      "Assets": [
                        {
                          "$ref": "31"
                        },
                        {
                          "$ref": "31"
                        }
                      ],
                      "Signed": "2025-12-23T04:44:58.5522002+00:00"
                    },
                    {
                      "$ref": "43"
                    }
                  ],
                  "AddressId": 1,
                  "PowerDistributionContracts": [
                    {
                      "$ref": "7"
                    },
                    {
                      "$ref": "7"
                    }
                  ],
                  "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                  "LeftDigitCount": 1,
                  "ValidTo": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                      "PreferredNetworksList": [
                        "sample string 1",
                        "sample string 2"
                      ],
                      "CorporateCode": "sample string 13",
                      "ICCID": "sample string 5",
                      "PurchasePrice": "sample string 14",
                      "Installed": "2025-12-23T04:44:58.5522002+00:00",
                      "InServiceDate": "2025-12-23T04:44:58.5522002+00:00",
                      "Active": true,
                      "AddressId": 1,
                      "PhoneCommunicationUnitId": 1,
                      "ValidFrom": "2025-12-23T04:44:58.5522002+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": "e45f4110-17a2-4c41-948d-1374871388c8"
                      },
                      "ValidTo": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                      "ImportSource": "sample string 17",
                      "Note": "sample string 18",
                      "Configurations": [],
                      "ModifiedTime": "2025-12-23T04:44:58.5522002+00:00",
                      "AssetCalculations": [
                        {
                          "$ref": "36"
                        },
                        {
                          "$ref": "36"
                        }
                      ],
                      "CoordinateModified": true,
                      "SerialNumber": "sample string 20",
                      "AssetGuid": "442291e4-fa8f-464f-a8fd-bb2149f62ff7",
                      "Contracts": [
                        {
                          "$ref": "38"
                        },
                        {
                          "$ref": "38"
                        }
                      ],
                      "Resource": null,
                      "AssetSubContracts": [
                        {
                          "$ref": "39"
                        },
                        {
                          "$ref": "39"
                        }
                      ],
                      "SDBMHash": 22,
                      "LabelGuid": "3fde7c55-22f5-48dd-b808-1c24f132a26a",
                      "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-23T04:44:58.5522002+00:00",
                    "Documentation": "sample string 5",
                    "CorporateCode": "sample string 10",
                    "AntennaType": 0,
                    "PurchasePrice": "sample string 11",
                    "OpeningAngle": 6.1,
                    "InServiceDate": "2025-12-23T04:44:58.5522002+00:00",
                    "AddressId": 1,
                    "ValidFrom": "2025-12-23T04:44:58.5522002+00:00",
                    "ValidTo": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                    "ImportSource": "sample string 14",
                    "Note": "sample string 15",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-23T04:44:58.5522002+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 17",
                    "AssetGuid": "dc3ef867-1b47-41c1-a328-eda8ea89be87",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 19,
                    "LabelGuid": "88fe77ae-4b87-49cb-ba31-dbf3b078a0ee",
                    "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-23T04:44:58.5522002+00:00",
                  "ImportSource": "sample string 14",
                  "Note": "sample string 15",
                  "Configurations": [],
                  "ModifiedTime": "2025-12-23T04:44:58.5522002+00:00",
                  "AssetCalculations": [
                    {
                      "$ref": "36"
                    },
                    {
                      "$ref": "36"
                    }
                  ],
                  "CoordinateModified": true,
                  "SerialNumber": "sample string 17",
                  "AssetGuid": "354f0e66-b458-4079-a75d-a8a86b613da3",
                  "Contracts": [
                    {
                      "$ref": "38"
                    },
                    {
                      "$ref": "38"
                    }
                  ],
                  "Resource": null,
                  "AssetSubContracts": [
                    {
                      "$ref": "39"
                    },
                    {
                      "$ref": "39"
                    }
                  ],
                  "SDBMHash": 19,
                  "LabelGuid": "fbd39908-6e12-46d1-904d-86a97b36ee1d",
                  "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-23T04:44:58.5522002+00:00",
                "ValidTo": "2025-12-23T04:44:58.5522002+00:00",
                "CancelTime": "2025-12-23T04:44:58.5522002+00:00",
                "ExternalContractId": "sample string 9",
                "ProductId": 1,
                "Product": {
                  "$ref": "30"
                },
                "Assets": [
                  {
                    "$ref": "31"
                  },
                  {
                    "$ref": "31"
                  }
                ],
                "Signed": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                "TimeZone": "sample string 2",
                "LastExecutedTimeUTC": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
                "EndDateTimeUTC": "2025-12-23T04:44:58.5522002+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-23T04:44:58.5522002+00:00",
    "ImportSource": "sample string 8",
    "Note": "sample string 9",
    "Configurations": [],
    "ModifiedTime": "2025-12-23T04:44:58.5522002+00:00",
    "AssetCalculations": [
      {
        "$ref": "36"
      },
      {
        "$ref": "36"
      }
    ],
    "CoordinateModified": true,
    "SerialNumber": "sample string 11",
    "AssetGuid": "1a537d66-e723-4a02-9149-8a174497a6f4",
    "Contracts": [
      {
        "$ref": "38"
      },
      {
        "$ref": "38"
      }
    ],
    "Resource": null,
    "AssetSubContracts": [
      {
        "$ref": "39"
      },
      {
        "$ref": "39"
      }
    ],
    "SDBMHash": 13,
    "LabelGuid": "c274fcde-793c-4b6a-b5bc-22cdf238465d",
    "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>f5cee6d0-e477-449e-9b01-cca3612d4616</Id>
  <GatewayClassId>2</GatewayClassId>
  <Status>New</Status>
  <SasToken>sample string 3</SasToken>
  <SasTokenTopicRead>sample string 4</SasTokenTopicRead>
  <AssetId>1</AssetId>
  <ValidFrom>2025-12-23T04:44:58.5522002+00:00</ValidFrom>
  <ValidTo>2025-12-23T04:44:58.5522002+00:00</ValidTo>
  <LoggingIsOn>true</LoggingIsOn>
  <TokenExpiry>2025-12-23T04:44:58.5522002+00:00</TokenExpiry>
  <TopicTokenExpiry>2025-12-23T04:44:58.5522002+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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The newly created gateway.

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": "4de48ba8-8aee-4687-a938-5baa62d42d26",
  "GatewayClassId": 2,
  "Status": 0,
  "SasToken": "sample string 3",
  "SasTokenTopicRead": "sample string 4",
  "AssetId": 1,
  "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
  "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
  "LoggingIsOn": true,
  "TokenExpiry": "2025-12-23T04:44:58.5678235+00:00",
  "TopicTokenExpiry": "2025-12-23T04:44:58.5678235+00:00",
  "DataProviderId": 1,
  "devices": {},
  "Asset": {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "InstallationDate": "2025-12-23T04:44:58.5678235+00:00",
    "CorporateCode": "sample string 4",
    "PurchasePrice": "sample string 5",
    "InServiceDate": "2025-12-23T04:44:58.5678235+00:00",
    "AddressId": 1,
    "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
    "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
    "DefaultTimeZoneId": "sample string 7",
    "ParticipantId": 1,
    "AssetActivityRecords": [
      {
        "$id": "2",
        "Id": 1,
        "AssetId": 2,
        "Reason": "sample string 3",
        "CreatedDateTime": "2025-12-23T04:44:58.5678235+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": "8566bce3-213a-43cb-8c17-be9bcf1c664c"
      },
      {
        "$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-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
          "ParticipantId": 8,
          "AddressId": 1,
          "Participant": {
            "$id": "6",
            "Id": 1,
            "Name": "sample string 2",
            "ElectronicAddressId": 3,
            "AssetContracts": [
              {
                "$id": "7",
                "MeterId": 1,
                "Id": "c15b8034-9121-4fe4-9c99-dc27bfaffaf6",
                "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-23T04:44:58.5678235+00:00",
                    "OverloadProtectionNumPhases": 5,
                    "CorporateCode": "sample string 15",
                    "OverloadProtectionCurrent": 6.1,
                    "PurchasePrice": "sample string 16",
                    "ShortCircuitNumPhases": 7,
                    "InServiceDate": "2025-12-23T04:44:58.5678235+00:00",
                    "ShortCircuitCurrent": 8.1,
                    "AddressId": 1,
                    "Meters": [
                      {
                        "$ref": "8"
                      },
                      {
                        "$ref": "8"
                      }
                    ],
                    "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                    "MeterPointNumber": "sample string 9",
                    "ValidTo": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                        "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                        "ParticipantId": 5,
                        "Asset": {
                          "$ref": "1"
                        },
                        "Participant": {
                          "$ref": "6"
                        },
                        "AssetGuid": "471a20a2-9d7a-4451-be9f-6828b6481cdb"
                      },
                      {
                        "$ref": "11"
                      }
                    ],
                    "AssetRelationships": [
                      {
                        "$id": "12",
                        "Id": 1,
                        "Guid": "1eca977f-66be-46bc-b17e-4970166170f6",
                        "AssetId": 3,
                        "Asset": {
                          "$ref": "1"
                        },
                        "AssetParentId": 1,
                        "AssetParent": {
                          "$ref": "1"
                        },
                        "RelationshipType": 0,
                        "AssetGuid": "164c552d-6a87-4ce1-9447-1b20a6a2a2da",
                        "AssetParentGuid": "54365ba8-d347-444f-a4bd-9f81c8f55ae9",
                        "Priority": 6,
                        "PropertiesJsonString": "sample string 7",
                        "EntityState": 0,
                        "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                        "ValidTo": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                        "LastCompleteCollection": "2025-12-23T04:44:58.5678235+00:00",
                        "IsCalculated": true,
                        "ParentTimeseriesId": 1,
                        "ParentTimeseries": null,
                        "Description": "sample string 6",
                        "DataOrigin": 0,
                        "AssetGuid": "afaf91ea-ff16-4d29-b5d0-3e8c0e3d5c7e"
                      },
                      {
                        "$ref": "13"
                      }
                    ],
                    "CommunicationUnits": [],
                    "Participant": {
                      "$ref": "6"
                    },
                    "Location": null,
                    "AssetWorkFlow": [
                      {
                        "$id": "14",
                        "InstanceId": "f672453e-2f5a-489c-b1cf-f960e0eeec16",
                        "AssetId": 1,
                        "WorkFlowId": 2,
                        "Remarks": "sample string 3",
                        "ExecutedTime": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                        "ValidToDateTime": "2025-12-23T04:44:58.5678235+00:00",
                        "ManuallySet": true,
                        "AssetGuid": "faaf14f7-8e0a-4863-91f1-c276327afef8"
                      },
                      {
                        "$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-23T04:44:58.5678235+00:00",
                          "picture": "QEA=",
                          "Created": "2025-12-23T04:44:58.5678235+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": "f1c371e6-af8f-4258-be9c-0b2cb5e00cf8",
                              "Name": "sample string 5",
                              "UserId": "sample string 2",
                              "Description": "sample string 6",
                              "User": {
                                "$ref": "17"
                              },
                              "InstallationDate": "2025-12-23T04:44:58.5678235+00:00",
                              "IsShared": true,
                              "CorporateCode": "sample string 7",
                              "ZoneControlContracts": [
                                {
                                  "$id": "26",
                                  "SearchFilterId": 1,
                                  "Id": "fb739247-6906-4129-803b-526fa8090aa2",
                                  "SearchFilter": {
                                    "$ref": "25"
                                  },
                                  "ContractId": "2c7ef387-e007-4732-89b0-ae0d02d2d218",
                                  "MaxPowerPrActivation": 2.1,
                                  "Contract": {
                                    "$id": "27",
                                    "Id": "45f846f6-a88b-4354-af98-b215fe9bc9c6",
                                    "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-23T04:44:58.5678235+00:00",
                                          "ValidTo": "2025-12-23T04:44:58.5678235+00:00"
                                        },
                                        {
                                          "$ref": "29"
                                        }
                                      ]
                                    },
                                    "PartnerLegalEntityId": 4,
                                    "PartnerLegalEntity": {
                                      "$ref": "28"
                                    },
                                    "BuyOrSale": 0,
                                    "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                                    "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                                    "CancelTime": "2025-12-23T04:44:58.5678235+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": "c100eacf-cbaa-4867-ac26-f92375e3f2a6",
                                        "ContractId": "0b0d7ae3-dd85-4025-89ff-5c23dd4ea9da",
                                        "Contract": {
                                          "$ref": "27"
                                        },
                                        "Name": "sample string 3",
                                        "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                                        "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                                        "CancelTime": "2025-12-23T04:44:58.5678235+00:00",
                                        "Signed": "2025-12-23T04:44:58.5678235+00:00",
                                        "Renewal": 0,
                                        "ParticipantId": 6,
                                        "Participant": {
                                          "$ref": "6"
                                        }
                                      },
                                      {
                                        "$ref": "31"
                                      }
                                    ],
                                    "Signed": "2025-12-23T04:44:58.5678235+00:00"
                                  },
                                  "DaysAllowedForActivation": 0,
                                  "Name": "sample string 12",
                                  "PermittedIntervals": "sample string 3",
                                  "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                                  "MaxAllowedActivationTime": 1,
                                  "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                                  "MininumTimeBetweenActivation": 4,
                                  "CancelTime": "2025-12-23T04:44:58.5678235+00:00",
                                  "Tolerance": 5.1,
                                  "Signed": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                              "AddressId": 1,
                              "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                              "ValidTo": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                              "ImportSource": "sample string 11",
                              "Note": "sample string 12",
                              "Configurations": [],
                              "ModifiedTime": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                                    "FrequencyInSeconds": 5,
                                    "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                                    "ValidTo": "2025-12-23T04:44:58.5678235+00:00"
                                  },
                                  "ValidFromDateTime": "2025-12-23T04:44:58.5678235+00:00",
                                  "ValidToDateTime": "2025-12-23T04:44:58.5678235+00:00",
                                  "ManuallySet": true,
                                  "AssetGuid": "0effe747-fac8-4574-bdb0-ff8bc261bd6e"
                                },
                                {
                                  "$ref": "36"
                                }
                              ],
                              "CoordinateModified": true,
                              "SerialNumber": "sample string 14",
                              "AssetGuid": "e3c9bdcd-ab8f-4453-9636-cc7ab8f0a521",
                              "Contracts": [
                                {
                                  "$id": "38",
                                  "AssetId": 1,
                                  "Id": "c2fb51e9-8fb8-49f7-b15e-6ffb923c3ddc",
                                  "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-23T04:44:58.5678235+00:00",
                                  "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                                  "CancelTime": "2025-12-23T04:44:58.5678235+00:00",
                                  "ExternalContractId": "sample string 9",
                                  "ProductId": 1,
                                  "Product": {
                                    "$ref": "30"
                                  },
                                  "Assets": [
                                    {
                                      "$ref": "31"
                                    },
                                    {
                                      "$ref": "31"
                                    }
                                  ],
                                  "Signed": "2025-12-23T04:44:58.5678235+00:00"
                                },
                                {
                                  "$ref": "38"
                                }
                              ],
                              "Resource": null,
                              "AssetSubContracts": [
                                {
                                  "$id": "39",
                                  "AssetId": 1,
                                  "Id": "4aa8c4b6-571c-4de0-90e0-136bb1a3c162",
                                  "Asset": {
                                    "$ref": "1"
                                  },
                                  "ContractId": "b79374e2-bb40-4a3b-8401-782cfaca0657",
                                  "Contract": {
                                    "$ref": "27"
                                  },
                                  "Name": "sample string 4",
                                  "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                                  "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                                  "CancelTime": "2025-12-23T04:44:58.5678235+00:00",
                                  "Signed": "2025-12-23T04:44:58.5678235+00:00",
                                  "Renewal": 0,
                                  "ParticipantId": 7,
                                  "Participant": {
                                    "$ref": "6"
                                  }
                                },
                                {
                                  "$ref": "39"
                                }
                              ],
                              "SDBMHash": 16,
                              "LabelGuid": "a5b24a93-066d-412b-9783-0b2899ab3949",
                              "ExternalKeys": [
                                {
                                  "$id": "40",
                                  "AssetId": 1,
                                  "ExternalId": "sample string 2",
                                  "ExternalSystemId": "d55b4b29-fe99-40c8-95b8-27975529c5e7",
                                  "ExternalSystem": {
                                    "$id": "41",
                                    "Id": "0b8ffc75-55d1-496a-92df-a58f651aba51",
                                    "SystemName": "sample string 2"
                                  }
                                },
                                {
                                  "$ref": "40"
                                }
                              ],
                              "EntityState": 0
                            },
                            {
                              "$ref": "25"
                            }
                          ],
                          "Diagrams": [
                            {
                              "$id": "42",
                              "Id": 1,
                              "DiagramKey": "sample string 2",
                              "CreatedTime": "2025-12-23T04:44:58.5678235+00:00",
                              "ModifiedTime": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                        "FromDateTime": "2025-12-23T04:44:58.5678235+00:00",
                        "ToDateTime": "2025-12-23T04:44:58.5678235+00:00",
                        "AssetGuid": "df283d95-3ec7-4f61-a970-03a101e18b33"
                      },
                      {
                        "$ref": "16"
                      }
                    ],
                    "Categories": [
                      {
                        "$ref": "33"
                      },
                      {
                        "$ref": "33"
                      }
                    ],
                    "AssetModelId": 1,
                    "AssetModel": {
                      "$ref": "34"
                    },
                    "CreatedTime": "2025-12-23T04:44:58.5678235+00:00",
                    "ImportSource": "sample string 19",
                    "Note": "sample string 20",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-23T04:44:58.5678235+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 22",
                    "AssetGuid": "9a537041-189f-4cfd-bc66-df64e27e53c7",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 24,
                    "LabelGuid": "75b9c6fd-d717-49a2-accd-4bb76754b033",
                    "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-23T04:44:58.5678235+00:00",
                  "Status": 1,
                  "CorporateCode": "sample string 10",
                  "MeterType": 0,
                  "PurchasePrice": "sample string 11",
                  "EstimatedAnnualUsage": 1.1,
                  "InServiceDate": "2025-12-23T04:44:58.5678235+00:00",
                  "EnergyProviderContracts": [
                    {
                      "$id": "43",
                      "MeterId": 1,
                      "Id": "e6e0af54-a5b9-4cd8-afc3-0cffebb8f013",
                      "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-23T04:44:58.5678235+00:00",
                      "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                      "CancelTime": "2025-12-23T04:44:58.5678235+00:00",
                      "ExternalContractId": "sample string 9",
                      "ProductId": 1,
                      "Product": {
                        "$ref": "30"
                      },
                      "Assets": [
                        {
                          "$ref": "31"
                        },
                        {
                          "$ref": "31"
                        }
                      ],
                      "Signed": "2025-12-23T04:44:58.5678235+00:00"
                    },
                    {
                      "$ref": "43"
                    }
                  ],
                  "AddressId": 1,
                  "PowerDistributionContracts": [
                    {
                      "$ref": "7"
                    },
                    {
                      "$ref": "7"
                    }
                  ],
                  "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                  "LeftDigitCount": 1,
                  "ValidTo": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                      "PreferredNetworksList": [
                        "sample string 1",
                        "sample string 2"
                      ],
                      "CorporateCode": "sample string 13",
                      "ICCID": "sample string 5",
                      "PurchasePrice": "sample string 14",
                      "Installed": "2025-12-23T04:44:58.5678235+00:00",
                      "InServiceDate": "2025-12-23T04:44:58.5678235+00:00",
                      "Active": true,
                      "AddressId": 1,
                      "PhoneCommunicationUnitId": 1,
                      "ValidFrom": "2025-12-23T04:44:58.5678235+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": "9a5044c8-61f7-4844-94e6-e9da000e3c18"
                      },
                      "ValidTo": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                      "ImportSource": "sample string 17",
                      "Note": "sample string 18",
                      "Configurations": [],
                      "ModifiedTime": "2025-12-23T04:44:58.5678235+00:00",
                      "AssetCalculations": [
                        {
                          "$ref": "36"
                        },
                        {
                          "$ref": "36"
                        }
                      ],
                      "CoordinateModified": true,
                      "SerialNumber": "sample string 20",
                      "AssetGuid": "15d92d99-2f56-46c7-a479-e9b8bf203733",
                      "Contracts": [
                        {
                          "$ref": "38"
                        },
                        {
                          "$ref": "38"
                        }
                      ],
                      "Resource": null,
                      "AssetSubContracts": [
                        {
                          "$ref": "39"
                        },
                        {
                          "$ref": "39"
                        }
                      ],
                      "SDBMHash": 22,
                      "LabelGuid": "26b9c0ae-9de5-4eed-873c-f846378a4ad5",
                      "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-23T04:44:58.5678235+00:00",
                    "Documentation": "sample string 5",
                    "CorporateCode": "sample string 10",
                    "AntennaType": 0,
                    "PurchasePrice": "sample string 11",
                    "OpeningAngle": 6.1,
                    "InServiceDate": "2025-12-23T04:44:58.5678235+00:00",
                    "AddressId": 1,
                    "ValidFrom": "2025-12-23T04:44:58.5678235+00:00",
                    "ValidTo": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                    "ImportSource": "sample string 14",
                    "Note": "sample string 15",
                    "Configurations": [],
                    "ModifiedTime": "2025-12-23T04:44:58.5678235+00:00",
                    "AssetCalculations": [
                      {
                        "$ref": "36"
                      },
                      {
                        "$ref": "36"
                      }
                    ],
                    "CoordinateModified": true,
                    "SerialNumber": "sample string 17",
                    "AssetGuid": "e05e9b74-f0a9-48ff-a96a-afefbc6c6cc8",
                    "Contracts": [
                      {
                        "$ref": "38"
                      },
                      {
                        "$ref": "38"
                      }
                    ],
                    "Resource": null,
                    "AssetSubContracts": [
                      {
                        "$ref": "39"
                      },
                      {
                        "$ref": "39"
                      }
                    ],
                    "SDBMHash": 19,
                    "LabelGuid": "f8d43abf-f303-4209-b315-d0624e7d7a04",
                    "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-23T04:44:58.5678235+00:00",
                  "ImportSource": "sample string 14",
                  "Note": "sample string 15",
                  "Configurations": [],
                  "ModifiedTime": "2025-12-23T04:44:58.5678235+00:00",
                  "AssetCalculations": [
                    {
                      "$ref": "36"
                    },
                    {
                      "$ref": "36"
                    }
                  ],
                  "CoordinateModified": true,
                  "SerialNumber": "sample string 17",
                  "AssetGuid": "cfaf1837-4531-4613-a4b6-406b2960027c",
                  "Contracts": [
                    {
                      "$ref": "38"
                    },
                    {
                      "$ref": "38"
                    }
                  ],
                  "Resource": null,
                  "AssetSubContracts": [
                    {
                      "$ref": "39"
                    },
                    {
                      "$ref": "39"
                    }
                  ],
                  "SDBMHash": 19,
                  "LabelGuid": "250a4e65-f748-4677-953a-700ed054090d",
                  "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-23T04:44:58.5678235+00:00",
                "ValidTo": "2025-12-23T04:44:58.5678235+00:00",
                "CancelTime": "2025-12-23T04:44:58.5678235+00:00",
                "ExternalContractId": "sample string 9",
                "ProductId": 1,
                "Product": {
                  "$ref": "30"
                },
                "Assets": [
                  {
                    "$ref": "31"
                  },
                  {
                    "$ref": "31"
                  }
                ],
                "Signed": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                "TimeZone": "sample string 2",
                "LastExecutedTimeUTC": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
                "EndDateTimeUTC": "2025-12-23T04:44:58.5678235+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-23T04:44:58.5678235+00:00",
    "ImportSource": "sample string 8",
    "Note": "sample string 9",
    "Configurations": [],
    "ModifiedTime": "2025-12-23T04:44:58.5678235+00:00",
    "AssetCalculations": [
      {
        "$ref": "36"
      },
      {
        "$ref": "36"
      }
    ],
    "CoordinateModified": true,
    "SerialNumber": "sample string 11",
    "AssetGuid": "58f07b7c-1c1a-482c-8286-5a15787610a4",
    "Contracts": [
      {
        "$ref": "38"
      },
      {
        "$ref": "38"
      }
    ],
    "Resource": null,
    "AssetSubContracts": [
      {
        "$ref": "39"
      },
      {
        "$ref": "39"
      }
    ],
    "SDBMHash": 13,
    "LabelGuid": "22edd07d-397f-44ec-baf2-6c496e5358b1",
    "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>4de48ba8-8aee-4687-a938-5baa62d42d26</Id>
  <GatewayClassId>2</GatewayClassId>
  <Status>New</Status>
  <SasToken>sample string 3</SasToken>
  <SasTokenTopicRead>sample string 4</SasTokenTopicRead>
  <AssetId>1</AssetId>
  <ValidFrom>2025-12-23T04:44:58.5678235+00:00</ValidFrom>
  <ValidTo>2025-12-23T04:44:58.5678235+00:00</ValidTo>
  <LoggingIsOn>true</LoggingIsOn>
  <TokenExpiry>2025-12-23T04:44:58.5678235+00:00</TokenExpiry>
  <TopicTokenExpiry>2025-12-23T04:44:58.5678235+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>