PUT api/manage/gateways/{id}
Method for updating a gateway with a specific id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id of the gateway. |
globally unique identifier |
Required |
Body Parameters
Gateway model data
IoTGateway| Name | Description | Type | Additional 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": "5cd213b4-3c1f-4932-aa25-b876ee09f7c9",
"GatewayClassId": 2,
"Status": 0,
"SasToken": "sample string 3",
"SasTokenTopicRead": "sample string 4",
"AssetId": 1,
"ValidFrom": "2025-12-25T22:58:05.280819+00:00",
"ValidTo": "2025-12-25T22:58:05.280819+00:00",
"LoggingIsOn": true,
"TokenExpiry": "2025-12-25T22:58:05.280819+00:00",
"TopicTokenExpiry": "2025-12-25T22:58:05.280819+00:00",
"DataProviderId": 1,
"devices": {},
"Asset": {
"$id": "1",
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"InstallationDate": "2025-12-25T22:58:05.280819+00:00",
"CorporateCode": "sample string 4",
"PurchasePrice": "sample string 5",
"InServiceDate": "2025-12-25T22:58:05.280819+00:00",
"AddressId": 1,
"ValidFrom": "2025-12-25T22:58:05.280819+00:00",
"ValidTo": "2025-12-25T22:58:05.280819+00:00",
"DefaultTimeZoneId": "sample string 7",
"ParticipantId": 1,
"AssetActivityRecords": [
{
"$id": "2",
"Id": 1,
"AssetId": 2,
"Reason": "sample string 3",
"CreatedDateTime": "2025-12-25T22:58:05.280819+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": "73859bee-bb07-4404-83e5-4701d595fddf"
},
{
"$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-25T22:58:05.280819+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-25T22:58:05.280819+00:00",
"ParticipantId": 8,
"AddressId": 1,
"Participant": {
"$id": "6",
"Id": 1,
"Name": "sample string 2",
"ElectronicAddressId": 3,
"AssetContracts": [
{
"$id": "7",
"MeterId": 1,
"Id": "cfe7cd2f-3c34-4a69-a1d1-16917cb673b2",
"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-25T22:58:05.2973977+00:00",
"OverloadProtectionNumPhases": 5,
"CorporateCode": "sample string 15",
"OverloadProtectionCurrent": 6.1,
"PurchasePrice": "sample string 16",
"ShortCircuitNumPhases": 7,
"InServiceDate": "2025-12-25T22:58:05.2973977+00:00",
"ShortCircuitCurrent": 8.1,
"AddressId": 1,
"Meters": [
{
"$ref": "8"
},
{
"$ref": "8"
}
],
"ValidFrom": "2025-12-25T22:58:05.2973977+00:00",
"MeterPointNumber": "sample string 9",
"ValidTo": "2025-12-25T22:58:05.2973977+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-25T22:58:05.2973977+00:00",
"ValidTo": "2025-12-25T22:58:05.2973977+00:00",
"ParticipantId": 5,
"Asset": {
"$ref": "1"
},
"Participant": {
"$ref": "6"
},
"AssetGuid": "ae736b62-09f0-4de4-91e6-06656e3de778"
},
{
"$ref": "11"
}
],
"AssetRelationships": [
{
"$id": "12",
"Id": 1,
"Guid": "3273cd42-a0e4-4fdd-84a0-62a09a0e135f",
"AssetId": 3,
"Asset": {
"$ref": "1"
},
"AssetParentId": 1,
"AssetParent": {
"$ref": "1"
},
"RelationshipType": 0,
"AssetGuid": "aaba41e1-053f-49d5-b7c3-7000d77e043c",
"AssetParentGuid": "f2c187aa-f393-4af3-ba7c-37cc2ebf8339",
"Priority": 6,
"PropertiesJsonString": "sample string 7",
"EntityState": 0,
"ValidFrom": "2025-12-25T22:58:05.2973977+00:00",
"ValidTo": "2025-12-25T22:58:05.2973977+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-25T22:58:05.3130388+00:00",
"LastCompleteCollection": "2025-12-25T22:58:05.3130388+00:00",
"IsCalculated": true,
"ParentTimeseriesId": 1,
"ParentTimeseries": null,
"Description": "sample string 6",
"DataOrigin": 0,
"AssetGuid": "495f71fd-5071-42f6-b262-5a7b6d91e70b"
},
{
"$ref": "13"
}
],
"CommunicationUnits": [],
"Participant": {
"$ref": "6"
},
"Location": null,
"AssetWorkFlow": [
{
"$id": "14",
"InstanceId": "f141047c-42bf-4046-9233-5e1abf6c602d",
"AssetId": 1,
"WorkFlowId": 2,
"Remarks": "sample string 3",
"ExecutedTime": "2025-12-25T22:58:05.3130388+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-25T22:58:05.3286645+00:00",
"ValidToDateTime": "2025-12-25T22:58:05.3286645+00:00",
"ManuallySet": true,
"AssetGuid": "11a72b30-f542-4a33-ae93-92acaaf5a2bc"
},
{
"$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-25T22:58:05.3286645+00:00",
"picture": "QEA=",
"Created": "2025-12-25T22:58:05.3286645+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": "c45fc2aa-a700-4cae-ade8-f9a1a1982be8",
"Name": "sample string 5",
"UserId": "sample string 2",
"Description": "sample string 6",
"User": {
"$ref": "17"
},
"InstallationDate": "2025-12-25T22:58:05.3442846+00:00",
"IsShared": true,
"CorporateCode": "sample string 7",
"ZoneControlContracts": [
{
"$id": "26",
"SearchFilterId": 1,
"Id": "d9d77a2f-d185-49e2-b087-8ef72ec2c593",
"SearchFilter": {
"$ref": "25"
},
"ContractId": "1badf4f2-49c5-4e80-9e7c-36b4c4f519ba",
"MaxPowerPrActivation": 2.1,
"Contract": {
"$id": "27",
"Id": "24628f27-9f0a-463c-82ea-b8e0a1bd083a",
"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-25T22:58:05.3442846+00:00",
"ValidTo": "2025-12-25T22:58:05.3442846+00:00"
},
{
"$ref": "29"
}
]
},
"PartnerLegalEntityId": 4,
"PartnerLegalEntity": {
"$ref": "28"
},
"BuyOrSale": 0,
"ValidFrom": "2025-12-25T22:58:05.3442846+00:00",
"ValidTo": "2025-12-25T22:58:05.3442846+00:00",
"CancelTime": "2025-12-25T22:58:05.3442846+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": "a3b8e9d0-c526-4f43-8916-65c2354d6939",
"ContractId": "d8ed67b4-5c6f-486a-b129-49ef726a9444",
"Contract": {
"$ref": "27"
},
"Name": "sample string 3",
"ValidFrom": "2025-12-25T22:58:05.3442846+00:00",
"ValidTo": "2025-12-25T22:58:05.3442846+00:00",
"CancelTime": "2025-12-25T22:58:05.3442846+00:00",
"Signed": "2025-12-25T22:58:05.3442846+00:00",
"Renewal": 0,
"ParticipantId": 6,
"Participant": {
"$ref": "6"
}
},
{
"$ref": "31"
}
],
"Signed": "2025-12-25T22:58:05.3442846+00:00"
},
"DaysAllowedForActivation": 0,
"Name": "sample string 12",
"PermittedIntervals": "sample string 3",
"ValidFrom": "2025-12-25T22:58:05.3442846+00:00",
"MaxAllowedActivationTime": 1,
"ValidTo": "2025-12-25T22:58:05.3442846+00:00",
"MininumTimeBetweenActivation": 4,
"CancelTime": "2025-12-25T22:58:05.3442846+00:00",
"Tolerance": 5.1,
"Signed": "2025-12-25T22:58:05.3442846+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-25T22:58:05.3442846+00:00",
"AddressId": 1,
"ValidFrom": "2025-12-25T22:58:05.3442846+00:00",
"ValidTo": "2025-12-25T22:58:05.3442846+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-25T22:58:05.3442846+00:00",
"ImportSource": "sample string 11",
"Note": "sample string 12",
"Configurations": [],
"ModifiedTime": "2025-12-25T22:58:05.3442846+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-25T22:58:05.3442846+00:00",
"FrequencyInSeconds": 5,
"ValidFrom": "2025-12-25T22:58:05.3442846+00:00",
"ValidTo": "2025-12-25T22:58:05.3442846+00:00"
},
"ValidFromDateTime": "2025-12-25T22:58:05.3442846+00:00",
"ValidToDateTime": "2025-12-25T22:58:05.3442846+00:00",
"ManuallySet": true,
"AssetGuid": "25ce635c-35b2-4163-bd22-460044d60e23"
},
{
"$ref": "36"
}
],
"CoordinateModified": true,
"SerialNumber": "sample string 14",
"AssetGuid": "7304c563-f3e1-4bf2-a24e-10dc2e4d655e",
"Contracts": [
{
"$id": "38",
"AssetId": 1,
"Id": "f116e180-045f-431a-877b-5118febca96a",
"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-25T22:58:05.3442846+00:00",
"ValidTo": "2025-12-25T22:58:05.3442846+00:00",
"CancelTime": "2025-12-25T22:58:05.3442846+00:00",
"ExternalContractId": "sample string 9",
"ProductId": 1,
"Product": {
"$ref": "30"
},
"Assets": [
{
"$ref": "31"
},
{
"$ref": "31"
}
],
"Signed": "2025-12-25T22:58:05.3442846+00:00"
},
{
"$ref": "38"
}
],
"Resource": null,
"AssetSubContracts": [
{
"$id": "39",
"AssetId": 1,
"Id": "23f8d9fa-33cc-453d-aaf2-537b180cc35e",
"Asset": {
"$ref": "1"
},
"ContractId": "bc8c2822-0ff1-4acc-93b4-400bb95d85f5",
"Contract": {
"$ref": "27"
},
"Name": "sample string 4",
"ValidFrom": "2025-12-25T22:58:05.3599163+00:00",
"ValidTo": "2025-12-25T22:58:05.3599163+00:00",
"CancelTime": "2025-12-25T22:58:05.3599163+00:00",
"Signed": "2025-12-25T22:58:05.3599163+00:00",
"Renewal": 0,
"ParticipantId": 7,
"Participant": {
"$ref": "6"
}
},
{
"$ref": "39"
}
],
"SDBMHash": 16,
"LabelGuid": "627c32a1-150d-4773-a1f3-8895631dc31d",
"ExternalKeys": [
{
"$id": "40",
"AssetId": 1,
"ExternalId": "sample string 2",
"ExternalSystemId": "c0504df7-224e-4915-b25c-cceb7a01d178",
"ExternalSystem": {
"$id": "41",
"Id": "23edcf2f-ad02-480e-8e0a-23538dca599a",
"SystemName": "sample string 2"
}
},
{
"$ref": "40"
}
],
"EntityState": 0
},
{
"$ref": "25"
}
],
"Diagrams": [
{
"$id": "42",
"Id": 1,
"DiagramKey": "sample string 2",
"CreatedTime": "2025-12-25T22:58:05.3599163+00:00",
"ModifiedTime": "2025-12-25T22:58:05.3599163+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-25T22:58:05.3599163+00:00",
"FromDateTime": "2025-12-25T22:58:05.3599163+00:00",
"ToDateTime": "2025-12-25T22:58:05.3599163+00:00",
"AssetGuid": "323ad1da-d226-4df9-a323-5e8e264142ae"
},
{
"$ref": "16"
}
],
"Categories": [
{
"$ref": "33"
},
{
"$ref": "33"
}
],
"AssetModelId": 1,
"AssetModel": {
"$ref": "34"
},
"CreatedTime": "2025-12-25T22:58:05.3599163+00:00",
"ImportSource": "sample string 19",
"Note": "sample string 20",
"Configurations": [],
"ModifiedTime": "2025-12-25T22:58:05.3599163+00:00",
"AssetCalculations": [
{
"$ref": "36"
},
{
"$ref": "36"
}
],
"CoordinateModified": true,
"SerialNumber": "sample string 22",
"AssetGuid": "777e7bad-62b1-479e-9990-914523617863",
"Contracts": [
{
"$ref": "38"
},
{
"$ref": "38"
}
],
"Resource": null,
"AssetSubContracts": [
{
"$ref": "39"
},
{
"$ref": "39"
}
],
"SDBMHash": 24,
"LabelGuid": "0f0480c0-1e64-46f9-865a-9f278c2511d6",
"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-25T22:58:05.3783624+00:00",
"Status": 1,
"CorporateCode": "sample string 10",
"MeterType": 0,
"PurchasePrice": "sample string 11",
"EstimatedAnnualUsage": 1.1,
"InServiceDate": "2025-12-25T22:58:05.3783624+00:00",
"EnergyProviderContracts": [
{
"$id": "43",
"MeterId": 1,
"Id": "bc31e303-c27d-482b-a34f-84801d1233dd",
"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-25T22:58:05.3599163+00:00",
"ValidTo": "2025-12-25T22:58:05.3599163+00:00",
"CancelTime": "2025-12-25T22:58:05.3599163+00:00",
"ExternalContractId": "sample string 9",
"ProductId": 1,
"Product": {
"$ref": "30"
},
"Assets": [
{
"$ref": "31"
},
{
"$ref": "31"
}
],
"Signed": "2025-12-25T22:58:05.3599163+00:00"
},
{
"$ref": "43"
}
],
"AddressId": 1,
"PowerDistributionContracts": [
{
"$ref": "7"
},
{
"$ref": "7"
}
],
"ValidFrom": "2025-12-25T22:58:05.3783624+00:00",
"LeftDigitCount": 1,
"ValidTo": "2025-12-25T22:58:05.3783624+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-25T22:58:05.3773606+00:00",
"PreferredNetworksList": [
"sample string 1",
"sample string 2"
],
"CorporateCode": "sample string 13",
"ICCID": "sample string 5",
"PurchasePrice": "sample string 14",
"Installed": "2025-12-25T22:58:05.3755417+00:00",
"InServiceDate": "2025-12-25T22:58:05.3773606+00:00",
"Active": true,
"AddressId": 1,
"PhoneCommunicationUnitId": 1,
"ValidFrom": "2025-12-25T22:58:05.3773606+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": "11728f6c-5b2a-49be-8992-d7a5dd7d0d1c"
},
"ValidTo": "2025-12-25T22:58:05.3773606+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-25T22:58:05.3773606+00:00",
"ImportSource": "sample string 17",
"Note": "sample string 18",
"Configurations": [],
"ModifiedTime": "2025-12-25T22:58:05.3773606+00:00",
"AssetCalculations": [
{
"$ref": "36"
},
{
"$ref": "36"
}
],
"CoordinateModified": true,
"SerialNumber": "sample string 20",
"AssetGuid": "cbf8a4c0-66db-4dcf-9895-7ecddda79828",
"Contracts": [
{
"$ref": "38"
},
{
"$ref": "38"
}
],
"Resource": null,
"AssetSubContracts": [
{
"$ref": "39"
},
{
"$ref": "39"
}
],
"SDBMHash": 22,
"LabelGuid": "d9f9c348-208c-43a4-841d-8f487c8a3117",
"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-25T22:58:05.3783624+00:00",
"Documentation": "sample string 5",
"CorporateCode": "sample string 10",
"AntennaType": 0,
"PurchasePrice": "sample string 11",
"OpeningAngle": 6.1,
"InServiceDate": "2025-12-25T22:58:05.3783624+00:00",
"AddressId": 1,
"ValidFrom": "2025-12-25T22:58:05.3783624+00:00",
"ValidTo": "2025-12-25T22:58:05.3783624+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-25T22:58:05.3783624+00:00",
"ImportSource": "sample string 14",
"Note": "sample string 15",
"Configurations": [],
"ModifiedTime": "2025-12-25T22:58:05.3783624+00:00",
"AssetCalculations": [
{
"$ref": "36"
},
{
"$ref": "36"
}
],
"CoordinateModified": true,
"SerialNumber": "sample string 17",
"AssetGuid": "4ded8dec-33c7-4e9c-a928-a7a4564daf72",
"Contracts": [
{
"$ref": "38"
},
{
"$ref": "38"
}
],
"Resource": null,
"AssetSubContracts": [
{
"$ref": "39"
},
{
"$ref": "39"
}
],
"SDBMHash": 19,
"LabelGuid": "73218903-d774-41f9-8d2b-a5091b39ce63",
"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-25T22:58:05.3783624+00:00",
"ImportSource": "sample string 14",
"Note": "sample string 15",
"Configurations": [],
"ModifiedTime": "2025-12-25T22:58:05.3783624+00:00",
"AssetCalculations": [
{
"$ref": "36"
},
{
"$ref": "36"
}
],
"CoordinateModified": true,
"SerialNumber": "sample string 17",
"AssetGuid": "8e385e6a-2158-4b33-a477-5b8fac5c3b12",
"Contracts": [
{
"$ref": "38"
},
{
"$ref": "38"
}
],
"Resource": null,
"AssetSubContracts": [
{
"$ref": "39"
},
{
"$ref": "39"
}
],
"SDBMHash": 19,
"LabelGuid": "379988eb-db57-4833-b435-2f08ef5e00c0",
"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-25T22:58:05.3783624+00:00",
"ValidTo": "2025-12-25T22:58:05.3783624+00:00",
"CancelTime": "2025-12-25T22:58:05.3783624+00:00",
"ExternalContractId": "sample string 9",
"ProductId": 1,
"Product": {
"$ref": "30"
},
"Assets": [
{
"$ref": "31"
},
{
"$ref": "31"
}
],
"Signed": "2025-12-25T22:58:05.3783624+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-25T22:58:05.3794568+00:00",
"TimeZone": "sample string 2",
"LastExecutedTimeUTC": "2025-12-25T22:58:05.3794568+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-25T22:58:05.3794568+00:00",
"EndDateTimeUTC": "2025-12-25T22:58:05.3794568+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-25T22:58:05.3794568+00:00",
"ImportSource": "sample string 8",
"Note": "sample string 9",
"Configurations": [],
"ModifiedTime": "2025-12-25T22:58:05.3794568+00:00",
"AssetCalculations": [
{
"$ref": "36"
},
{
"$ref": "36"
}
],
"CoordinateModified": true,
"SerialNumber": "sample string 11",
"AssetGuid": "4e335133-dc3d-4310-bc17-cf33517c6925",
"Contracts": [
{
"$ref": "38"
},
{
"$ref": "38"
}
],
"Resource": null,
"AssetSubContracts": [
{
"$ref": "39"
},
{
"$ref": "39"
}
],
"SDBMHash": 13,
"LabelGuid": "22202b98-9bd5-4d0d-a7a5-1aee1be6c220",
"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>5cd213b4-3c1f-4932-aa25-b876ee09f7c9</Id>
<GatewayClassId>2</GatewayClassId>
<Status>New</Status>
<SasToken>sample string 3</SasToken>
<SasTokenTopicRead>sample string 4</SasTokenTopicRead>
<AssetId>1</AssetId>
<ValidFrom>2025-12-25T22:58:05.280819+00:00</ValidFrom>
<ValidTo>2025-12-25T22:58:05.280819+00:00</ValidTo>
<LoggingIsOn>true</LoggingIsOn>
<TokenExpiry>2025-12-25T22:58:05.280819+00:00</TokenExpiry>
<TopicTokenExpiry>2025-12-25T22:58:05.280819+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 updated gateway.
None.