| Code | Description |
|---|---|
| 401 | Token is invalid |
| 401 | You must authenticate to perform this request. |
| 404 | The requested resource was not found. |
POST '/api/v2/configurations' -d {
"name" : "test api - munic.io",
"version" : 94,
"data" : {
"speed_provider" : "gps",
"monitored_over_speed" : "true",
"monitored_over_rpm" : "true",
"monitored_idling_state" : "true",
"monitored_tow_away_state" : "true",
"monitored_low_external_battery" : "true",
"monitored_malfunction_indicator_lamp" : "true",
"monitored_dtc_number" : "true",
"over_rpm_threshold" : "1500",
"power_delta_voltage_threshold" : "1500",
"idle_movement_timeout" : "10",
"overspeed_threshold" : "115",
"overspeed_duration_threshold" : "7",
"overspeed_reset_threshold" : "10",
"low_battery_threshold" : "11000"
}
} :
{
"id":410,
"name":"test api - munic.io (Os Munic.io v2.1)",
"version":"Munic.io v2.1",
"description":"",
"configuration":
{
"speed_provider":"gps",
"monitored_over_speed":"true",
"monitored_over_rpm":"true",
"monitored_idling_state":"true",
"monitored_tow_away_state":"true",
"monitored_low_external_battery":"true",
"monitored_malfunction_indicator_lamp":"true",
"monitored_dtc_number":"true",
"over_rpm_threshold":"1500",
"power_delta_voltage_threshold":"1500",
"idle_movement_timeout":"10",
"overspeed_threshold":"115",
"overspeed_duration_threshold":"7",
"overspeed_reset_threshold":"10",
"low_battery_threshold":"11000"
}
}
| Param name | Description |
|---|---|
|
_token
required |
Validations:
|
|
version
required |
The id of the version Validations:
|
|
name
required |
The name for the configuration Validations:
|
|
data
required |
Parameters for the configuration. Available parameters can be obtained using the versions api Validations:
|