Skip to main content
PUT
/
tag
/
quallcomm
/
config
/
QTS112
cURL
curl --request PUT \
  --url https://api.allcomtelecom.com/api:XUynQtIz/tag/quallcomm/config/QTS112 \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "20234397fs9vcd978qr308q9703cbfdbd9vuy07wrw97rq90qrw08",
  "config": {
    "deviceConfiguration": {
      "isTracking": false,
      "samplingFrequency": 10,
      "reportingFrequency": 10,
      "conditionalConfiguration": {
        "mcdPowerOptimization": {
          "active": true,
          "powerOptimizedReportingFrequency": 240
        }
      },
      "devicePropertyConfiguration": {
        "fmd": {
          "isEnabled": true
        },
        "mcd": {
          "isEnabled": false
        },
        "fall": {
          "isEnabled": true
        },
        "tilt": {
          "maxValue": 180,
          "isEnabled": false
        },
        "light": {
          "isEnabled": false
        },
        "shock": {
          "maxValue": 30,
          "isEnabled": true
        },
        "humidity": {
          "maxValue": 100,
          "minValue": 0,
          "isEnabled": true,
          "breachPersistenceTimeLimit": 5
        },
        "location": {
          "priority": {
            "level1": "GNSS",
            "level2": "WIFI",
            "level3": "CELL"
          },
          "isEnabled": true
        },
        "pressure": {
          "maxValue": 1260,
          "minValue": 260,
          "isEnabled": true,
          "breachPersistenceTimeLimit": 10
        },
        "temperature": {
          "maxValue": 60,
          "minValue": -20,
          "isEnabled": true,
          "breachPersistenceTimeLimit": 5
        },
        "lightExposure": {
          "type": "continuous",
          "isEnabled": true
        },
        "powerSavingWhileOutOfService": {
          "isEnabled": false
        }
      }
    }
  },
  "tag_id": "f6b687e2-4231-4996-86db-adf7611dfcac"
}
'
{
  "token": "80e345ed-0db8-4217-b820-61ffd3592741",
  "config": {
    "deviceConfiguration": {
      "isTracking": false,
      "samplingFrequency": 10,
      "reportingFrequency": 10,
      "conditionalConfiguration": {
        "mcdPowerOptimization": {
          "active": true,
          "powerOptimizedReportingFrequency": 240
        }
      },
      "devicePropertyConfiguration": {
        "fmd": {
          "isEnabled": true
        },
        "mcd": {
          "isEnabled": false
        },
        "fall": {
          "isEnabled": true
        },
        "tilt": {
          "maxValue": 180,
          "isEnabled": false
        },
        "light": {
          "isEnabled": false
        },
        "shock": {
          "maxValue": 30,
          "isEnabled": true
        },
        "humidity": {
          "maxValue": 100,
          "minValue": 0,
          "isEnabled": true,
          "breachPersistenceTimeLimit": 5
        },
        "location": {
          "priority": {
            "level1": "GNSS",
            "level2": "WIFI",
            "level3": "CELL"
          },
          "isEnabled": true
        },
        "pressure": {
          "maxValue": 1260,
          "minValue": 260,
          "isEnabled": true,
          "breachPersistenceTimeLimit": 10
        },
        "temperature": {
          "maxValue": 60,
          "minValue": -20,
          "isEnabled": true,
          "breachPersistenceTimeLimit": 5
        },
        "lightExposure": {
          "type": "continuous",
          "isEnabled": true
        },
        "powerSavingWhileOutOfService": {
          "isEnabled": false
        }
      }
    }
  },
  "tag_id": "f6b687e2-4231-4996-86db-adf7611dfcac"
}

Body

application/json

Informações necessárias para enviar uma nova configuração.

token
string
Example:

"20234397fs9vcd978qr308q9703cbfdbd9vuy07wrw97rq90qrw08"

config
string
Example:
{
"deviceConfiguration": {
"isTracking": false,
"samplingFrequency": 10,
"reportingFrequency": 10,
"conditionalConfiguration": {
"mcdPowerOptimization": {
"active": true,
"powerOptimizedReportingFrequency": 240
}
},
"devicePropertyConfiguration": {
"fmd": { "isEnabled": true },
"mcd": { "isEnabled": false },
"fall": { "isEnabled": true },
"tilt": { "maxValue": 180, "isEnabled": false },
"light": { "isEnabled": false },
"shock": { "maxValue": 30, "isEnabled": true },
"humidity": {
"maxValue": 100,
"minValue": 0,
"isEnabled": true,
"breachPersistenceTimeLimit": 5
},
"location": {
"priority": {
"level1": "GNSS",
"level2": "WIFI",
"level3": "CELL"
},
"isEnabled": true
},
"pressure": {
"maxValue": 1260,
"minValue": 260,
"isEnabled": true,
"breachPersistenceTimeLimit": 10
},
"temperature": {
"maxValue": 60,
"minValue": -20,
"isEnabled": true,
"breachPersistenceTimeLimit": 5
},
"lightExposure": { "type": "continuous", "isEnabled": true },
"powerSavingWhileOutOfService": { "isEnabled": false }
}
}
}
tag_id
string
Example:

"f6b687e2-4231-4996-86db-adf7611dfcac"

Response

Configurações enviadas com sucesso.

Sucesso
string
Example:
{
"token": "80e345ed-0db8-4217-b820-61ffd3592741",
"config": {
"deviceConfiguration": {
"isTracking": false,
"samplingFrequency": 10,
"reportingFrequency": 10,
"conditionalConfiguration": {
"mcdPowerOptimization": {
"active": true,
"powerOptimizedReportingFrequency": 240
}
},
"devicePropertyConfiguration": {
"fmd": { "isEnabled": true },
"mcd": { "isEnabled": false },
"fall": { "isEnabled": true },
"tilt": { "maxValue": 180, "isEnabled": false },
"light": { "isEnabled": false },
"shock": { "maxValue": 30, "isEnabled": true },
"humidity": {
"maxValue": 100,
"minValue": 0,
"isEnabled": true,
"breachPersistenceTimeLimit": 5
},
"location": {
"priority": {
"level1": "GNSS",
"level2": "WIFI",
"level3": "CELL"
},
"isEnabled": true
},
"pressure": {
"maxValue": 1260,
"minValue": 260,
"isEnabled": true,
"breachPersistenceTimeLimit": 10
},
"temperature": {
"maxValue": 60,
"minValue": -20,
"isEnabled": true,
"breachPersistenceTimeLimit": 5
},
"lightExposure": { "type": "continuous", "isEnabled": true },
"powerSavingWhileOutOfService": { "isEnabled": false }
}
}
},
"tag_id": "f6b687e2-4231-4996-86db-adf7611dfcac"
}