POST api/Sensor/PreviewImportSensors

No documentation available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "PreviewSensors": [
    {
      "TagNo": "sample string 1",
      "TagProduct": "sample string 2",
      "TagType": "sample string 3",
      "SensorDescription": "sample string 4",
      "SensorName": "sample string 5"
    },
    {
      "TagNo": "sample string 1",
      "TagProduct": "sample string 2",
      "TagType": "sample string 3",
      "SensorDescription": "sample string 4",
      "SensorName": "sample string 5"
    },
    {
      "TagNo": "sample string 1",
      "TagProduct": "sample string 2",
      "TagType": "sample string 3",
      "SensorDescription": "sample string 4",
      "SensorName": "sample string 5"
    }
  ],
  "ErrorCode": 1,
  "UniqueFilename": "sample string 2",
  "Success": true,
  "ErrorMessage": "sample string 4",
  "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": 5,
  "ComponentFilterIds": [
    1,
    2,
    3
  ]
}

text/html

Sample:
{"PreviewSensors":[{"TagNo":"sample string 1","TagProduct":"sample string 2","TagType":"sample string 3","SensorDescription":"sample string 4","SensorName":"sample string 5"},{"TagNo":"sample string 1","TagProduct":"sample string 2","TagType":"sample string 3","SensorDescription":"sample string 4","SensorName":"sample string 5"},{"TagNo":"sample string 1","TagProduct":"sample string 2","TagType":"sample string 3","SensorDescription":"sample string 4","SensorName":"sample string 5"}],"ErrorCode":1,"UniqueFilename":"sample string 2","Success":true,"ErrorMessage":"sample string 4","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":5,"ComponentFilterIds":[1,2,3]}

application/xml, text/xml

Sample:
<APIPreviewExcelSensorImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.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" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </ComponentFilterIds>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 4</ErrorMessage>
  <MenuAccessData xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
    <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 xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">5</StatusCode>
  <Success xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</Success>
  <ErrorCode>1</ErrorCode>
  <PreviewSensors>
    <APIPreviewExcelSensorImportData>
      <SensorDescription>sample string 4</SensorDescription>
      <SensorName>sample string 5</SensorName>
      <TagNo>sample string 1</TagNo>
      <TagProduct>sample string 2</TagProduct>
      <TagType>sample string 3</TagType>
    </APIPreviewExcelSensorImportData>
    <APIPreviewExcelSensorImportData>
      <SensorDescription>sample string 4</SensorDescription>
      <SensorName>sample string 5</SensorName>
      <TagNo>sample string 1</TagNo>
      <TagProduct>sample string 2</TagProduct>
      <TagType>sample string 3</TagType>
    </APIPreviewExcelSensorImportData>
    <APIPreviewExcelSensorImportData>
      <SensorDescription>sample string 4</SensorDescription>
      <SensorName>sample string 5</SensorName>
      <TagNo>sample string 1</TagNo>
      <TagProduct>sample string 2</TagProduct>
      <TagType>sample string 3</TagType>
    </APIPreviewExcelSensorImportData>
  </PreviewSensors>
  <UniqueFilename>sample string 2</UniqueFilename>
</APIPreviewExcelSensorImportResponse>