POST api/Sensor/Update
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| req | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"sensor": {
"ID": 1,
"Name": "sample string 2",
"TagNo": "sample string 3",
"Description": "sample string 4",
"DateOfRegistration": "2025-11-02T09:10:25.9462388+01:00",
"MacAddress": "sample string 5",
"VehicleId": 6,
"SensorTypeId": 7,
"TagProductId": 8,
"SortOrder": 9,
"LastReadingOn": "2025-11-02T09:10:25.9462388+01:00",
"LastUpdate": "2025-11-02T09:10:25.9462388+01:00",
"Devicevendor": "sample string 10",
"GroupIDs": [
1,
2,
3
]
},
"SensorId": 1,
"TagProductId": 2,
"SensorIds": [
1,
2,
3
],
"VehicleFromSensorID": 1,
"Token": "sample string 3",
"FreeText": "sample string 4",
"GroupIds": [
1,
2,
3
],
"FromIndex": 5,
"ToIndex": 6,
"IsWebCalling": true,
"RequestMode": "sample string 8",
"Client": "sample string 9",
"AppVersion": "sample string 10",
"AppOperatingSystem": "sample string 11",
"AppName": "sample string 12",
"MasterUserID": 13,
"IsRecurringRequest": true
}
text/html
Sample:
{"sensor":{"ID":1,"Name":"sample string 2","TagNo":"sample string 3","Description":"sample string 4","DateOfRegistration":"2025-11-02T09:10:25.9462388+01:00","MacAddress":"sample string 5","VehicleId":6,"SensorTypeId":7,"TagProductId":8,"SortOrder":9,"LastReadingOn":"2025-11-02T09:10:25.9462388+01:00","LastUpdate":"2025-11-02T09:10:25.9462388+01:00","Devicevendor":"sample string 10","GroupIDs":[1,2,3]},"SensorId":1,"TagProductId":2,"SensorIds":[1,2,3],"VehicleFromSensorID":1,"Token":"sample string 3","FreeText":"sample string 4","GroupIds":[1,2,3],"FromIndex":5,"ToIndex":6,"IsWebCalling":true,"RequestMode":"sample string 8","Client":"sample string 9","AppVersion":"sample string 10","AppOperatingSystem":"sample string 11","AppName":"sample string 12","MasterUserID":13,"IsRecurringRequest":true}
application/xml, text/xml
Sample:
<APISensorChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
<AppName>sample string 12</AppName>
<AppOperatingSystem>sample string 11</AppOperatingSystem>
<AppVersion>sample string 10</AppVersion>
<Client>sample string 9</Client>
<FreeText>sample string 4</FreeText>
<FromIndex>5</FromIndex>
<GroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
<d2p1:int>3</d2p1:int>
</GroupIds>
<IsRecurringRequest>true</IsRecurringRequest>
<IsWebCalling>true</IsWebCalling>
<MasterUserID>13</MasterUserID>
<RequestMode>sample string 8</RequestMode>
<ToIndex>6</ToIndex>
<Token>sample string 3</Token>
<SensorId>1</SensorId>
<SensorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
<d2p1:long>3</d2p1:long>
</SensorIds>
<TagProductId>2</TagProductId>
<VehicleFromSensorID>1</VehicleFromSensorID>
<sensor>
<DateOfRegistration>2025-11-02T09:10:25.9462388+01:00</DateOfRegistration>
<Description>sample string 4</Description>
<Devicevendor>sample string 10</Devicevendor>
<GroupIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
<d3p1:int>3</d3p1:int>
</GroupIDs>
<ID>1</ID>
<LastReadingOn>2025-11-02T09:10:25.9462388+01:00</LastReadingOn>
<LastUpdate>2025-11-02T09:10:25.9462388+01:00</LastUpdate>
<MacAddress>sample string 5</MacAddress>
<Name>sample string 2</Name>
<SensorTypeId>7</SensorTypeId>
<SortOrder>9</SortOrder>
<TagNo>sample string 3</TagNo>
<TagProductId>8</TagProductId>
<VehicleId>6</VehicleId>
</sensor>
</APISensorChangeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"SensorData": {
"ID": 1,
"Name": "sample string 2",
"TagProductID": 3,
"TagNo": "sample string 4",
"Description": "sample string 5",
"TagProduct": "sample string 6",
"MacAddress": "sample string 7",
"DateOfRegistration": "2025-11-02T09:10:25.9472151+01:00",
"DeviceVendor": "sample string 9",
"DeviceSubType": "sample string 10",
"FWversion": 11.1,
"IMEINumber": "sample string 12",
"IMSINumber": "sample string 13",
"LastUpdate": "2025-11-02T09:10:25.9472151+01:00",
"SerialNumber": "sample string 14",
"SimNumber": "sample string 15",
"SIMSerialNumber": 16,
"ICCNo": "sample string 17",
"SIMID": 1,
"GroupIds": [
1,
2,
3
],
"ProfileSessionStatusID": 1,
"ProfileProgressPercentage": 1.1,
"LastContactTime": "2025-11-02T09:10:25.9472151+01:00",
"LastReportedOn": "2025-11-02T09:10:25.9472151+01:00",
"RegistrationNumber": "sample string 18",
"DeviceVendorID": 1,
"VehicleProfileName": "sample string 19",
"VehicleProfileID": 20,
"VehicleID": 21,
"TagType": 22,
"LastReadingOn": "2025-11-02T09:10:25.948192+01:00",
"StatusText": "sample string 23",
"AccessRights": {
"HasConfigureAccess": true,
"HasRetrieveAccess": true,
"HasUpdateAccess": true,
"HasDeleteAccess": true,
"HasCreateAccess": true
}
},
"Success": true,
"ErrorMessage": "sample string 2",
"MenuAccessData": {
"HasAccessToMap": true,
"HasAccessToVehicle": true,
"HasAccessToVehicleAdministration": true,
"HasAccessToDriver": true,
"HasAccessToPOI": true,
"HasAccessToReports": true,
"HasAccessToSettings": true,
"HasAccessToTrips": true,
"HasAccessToTranslations": true,
"HasAccessToDashboard": true,
"HasAccessToLogBook": true,
"HasAccessToGroup": true,
"HasAccessToTemplate": true,
"HasAccessToUnit": true,
"HasAccessToUser": true,
"HasAccessToTicket": true,
"HasAccessToContract": true,
"HasAccessToSIM": true,
"HasAccessToCommand": true,
"HasAccessToUnitProfile": true,
"HasAccessToProfileTrigger": true,
"HasAccessToScript": true,
"HasAccessToTriggerSchedule": true,
"HasAccessToMetaBaseReport": true,
"HasAccessToMetaBaseUserDashboard": true,
"HasAccessToRecoveryMode": true
},
"StatusCode": 3,
"ComponentFilterIds": [
1,
2,
3
]
}
text/html
Sample:
{"SensorData":{"ID":1,"Name":"sample string 2","TagProductID":3,"TagNo":"sample string 4","Description":"sample string 5","TagProduct":"sample string 6","MacAddress":"sample string 7","DateOfRegistration":"2025-11-02T09:10:25.9472151+01:00","DeviceVendor":"sample string 9","DeviceSubType":"sample string 10","FWversion":11.1,"IMEINumber":"sample string 12","IMSINumber":"sample string 13","LastUpdate":"2025-11-02T09:10:25.9472151+01:00","SerialNumber":"sample string 14","SimNumber":"sample string 15","SIMSerialNumber":16,"ICCNo":"sample string 17","SIMID":1,"GroupIds":[1,2,3],"ProfileSessionStatusID":1,"ProfileProgressPercentage":1.1,"LastContactTime":"2025-11-02T09:10:25.9472151+01:00","LastReportedOn":"2025-11-02T09:10:25.9472151+01:00","RegistrationNumber":"sample string 18","DeviceVendorID":1,"VehicleProfileName":"sample string 19","VehicleProfileID":20,"VehicleID":21,"TagType":22,"LastReadingOn":"2025-11-02T09:10:25.948192+01:00","StatusText":"sample string 23","AccessRights":{"HasConfigureAccess":true,"HasRetrieveAccess":true,"HasUpdateAccess":true,"HasDeleteAccess":true,"HasCreateAccess":true}},"Success":true,"ErrorMessage":"sample string 2","MenuAccessData":{"HasAccessToMap":true,"HasAccessToVehicle":true,"HasAccessToVehicleAdministration":true,"HasAccessToDriver":true,"HasAccessToPOI":true,"HasAccessToReports":true,"HasAccessToSettings":true,"HasAccessToTrips":true,"HasAccessToTranslations":true,"HasAccessToDashboard":true,"HasAccessToLogBook":true,"HasAccessToGroup":true,"HasAccessToTemplate":true,"HasAccessToUnit":true,"HasAccessToUser":true,"HasAccessToTicket":true,"HasAccessToContract":true,"HasAccessToSIM":true,"HasAccessToCommand":true,"HasAccessToUnitProfile":true,"HasAccessToProfileTrigger":true,"HasAccessToScript":true,"HasAccessToTriggerSchedule":true,"HasAccessToMetaBaseReport":true,"HasAccessToMetaBaseUserDashboard":true,"HasAccessToRecoveryMode":true},"StatusCode":3,"ComponentFilterIds":[1,2,3]}
application/xml, text/xml
Sample:
<APISensorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
<ResponseCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.Transport">Success</ResponseCode>
<ComponentFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
<d2p1:int>3</d2p1:int>
</ComponentFilterIds>
<ErrorMessage>sample string 2</ErrorMessage>
<MenuAccessData>
<HasAccessToCommand>true</HasAccessToCommand>
<HasAccessToContract>true</HasAccessToContract>
<HasAccessToDashboard>true</HasAccessToDashboard>
<HasAccessToDriver>true</HasAccessToDriver>
<HasAccessToGroup>true</HasAccessToGroup>
<HasAccessToLogBook>true</HasAccessToLogBook>
<HasAccessToMap>true</HasAccessToMap>
<HasAccessToMetaBaseReport>true</HasAccessToMetaBaseReport>
<HasAccessToMetaBaseUserDashboard>true</HasAccessToMetaBaseUserDashboard>
<HasAccessToPOI>true</HasAccessToPOI>
<HasAccessToProfileTrigger>true</HasAccessToProfileTrigger>
<HasAccessToRecoveryMode>true</HasAccessToRecoveryMode>
<HasAccessToReports>true</HasAccessToReports>
<HasAccessToSIM>true</HasAccessToSIM>
<HasAccessToScript>true</HasAccessToScript>
<HasAccessToSettings>true</HasAccessToSettings>
<HasAccessToTemplate>true</HasAccessToTemplate>
<HasAccessToTicket>true</HasAccessToTicket>
<HasAccessToTranslations>true</HasAccessToTranslations>
<HasAccessToTriggerSchedule>true</HasAccessToTriggerSchedule>
<HasAccessToTrips>true</HasAccessToTrips>
<HasAccessToUnit>true</HasAccessToUnit>
<HasAccessToUnitProfile>true</HasAccessToUnitProfile>
<HasAccessToUser>true</HasAccessToUser>
<HasAccessToVehicle>true</HasAccessToVehicle>
<HasAccessToVehicleAdministration>true</HasAccessToVehicleAdministration>
</MenuAccessData>
<StatusCode>3</StatusCode>
<Success>true</Success>
<SensorData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels">
<d2p1:AccessRights>
<HasCreateAccess>true</HasCreateAccess>
<HasDeleteAccess>true</HasDeleteAccess>
<HasRetrieveAccess>true</HasRetrieveAccess>
<HasUpdateAccess>true</HasUpdateAccess>
<d2p1:HasConfigureAccess>true</d2p1:HasConfigureAccess>
</d2p1:AccessRights>
<d2p1:DateOfRegistration>2025-11-02T09:10:25.9472151+01:00</d2p1:DateOfRegistration>
<d2p1:Description>sample string 5</d2p1:Description>
<d2p1:DeviceSubType>sample string 10</d2p1:DeviceSubType>
<d2p1:DeviceVendor>sample string 9</d2p1:DeviceVendor>
<d2p1:DeviceVendorID>1</d2p1:DeviceVendorID>
<d2p1:FWversion>11.1</d2p1:FWversion>
<d2p1:GroupIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
<d3p1:int>3</d3p1:int>
</d2p1:GroupIds>
<d2p1:ICCNo>sample string 17</d2p1:ICCNo>
<d2p1:ID>1</d2p1:ID>
<d2p1:IMEINumber>sample string 12</d2p1:IMEINumber>
<d2p1:IMSINumber>sample string 13</d2p1:IMSINumber>
<d2p1:LastContactTime>2025-11-02T09:10:25.9472151+01:00</d2p1:LastContactTime>
<d2p1:LastReadingOn>2025-11-02T09:10:25.948192+01:00</d2p1:LastReadingOn>
<d2p1:LastReportedOn>2025-11-02T09:10:25.9472151+01:00</d2p1:LastReportedOn>
<d2p1:LastUpdate>2025-11-02T09:10:25.9472151+01:00</d2p1:LastUpdate>
<d2p1:MacAddress>sample string 7</d2p1:MacAddress>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:ProfileProgressPercentage>1.1</d2p1:ProfileProgressPercentage>
<d2p1:ProfileSessionStatusID>1</d2p1:ProfileSessionStatusID>
<d2p1:RegistrationNumber>sample string 18</d2p1:RegistrationNumber>
<d2p1:SIMID>1</d2p1:SIMID>
<d2p1:SIMSerialNumber>16</d2p1:SIMSerialNumber>
<d2p1:SerialNumber>sample string 14</d2p1:SerialNumber>
<d2p1:SimNumber>sample string 15</d2p1:SimNumber>
<d2p1:StatusText>sample string 23</d2p1:StatusText>
<d2p1:TagNo>sample string 4</d2p1:TagNo>
<d2p1:TagProduct>sample string 6</d2p1:TagProduct>
<d2p1:TagProductID>3</d2p1:TagProductID>
<d2p1:TagType>22</d2p1:TagType>
<d2p1:VehicleID>21</d2p1:VehicleID>
<d2p1:VehicleProfileID>20</d2p1:VehicleProfileID>
<d2p1:VehicleProfileName>sample string 19</d2p1:VehicleProfileName>
</SensorData>
</APISensorResponse>