Nematool API
Documented Nematool API for integration with other applications
Version: 1.0.0
BasePath:/Nematool/1.0.0
All rights reserved
https://nematool.com/Nematool-UserLicenseAgreement.pdf
Access
- HTTP Basic Authentication
[ Jump to Models ]
Table of Contents
Up
post /request_restore_code/
Petición para recuperar contraseña (forgotPassword)
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Petición exitosa
ForgotPassword
Up
post /auth/oauth/token/#1
Login - Obtiene un token de acceso para el resto de llamadas (login)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Datos de acceso
Return type
Example data
Content-Type: application/json
{
"access_token" : "access_token",
"refresh_token" : "refresh_token",
"scope" : "scope",
"token_type" : "token_type",
"expires_in" : 0.8008281904610115
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Acceso exitoso
LoginResponse
Up
post /auth/oauth/token/#2
Refresca el token de acceso (oauthtoken)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Datos de acceso
Return type
Example data
Content-Type: application/json
{
"access_token" : "access_token",
"refresh_token" : "refresh_token",
"scope" : "scope",
"token_type" : "token_type",
"expires_in" : 0.8008281904610115
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Acceso exitoso
LoginResponse
Obtiene listado de cultivos (getCrops)
Query parameters
page (optional)
Query Parameter —
page_size (optional)
Query Parameter —
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de cultivos
CropPaged
Comprueba el pais (checkCountry)
Return type
Example data
Content-Type: application/json
{
"country_code" : "country_code"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Pais
Country
Petición para dar de alta el token FCM (createFCMToken)
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
Petición exitosa
Up
patch /devices/gcm/{id}/unlink/
Petición para desvincular token FCM (unlinkFCMProfile)
Path parameters
id (required)
Path Parameter —
Responses
200
Operacion exitosa
Up
patch /devices/gcm/{id}/profile/
Petición para actualziar el token FCM (updateFCMProfile)
Path parameters
id (required)
Path Parameter —
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
Operacion exitosa
Crea una nueva parcela (createField)
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"area" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"owner" : {
"phone" : "phone",
"last_name" : "last_name",
"groups" : [ "groups", "groups" ],
"id" : 0.8008281904610115,
"date_joined" : "2000-01-23",
"first_name" : "first_name",
"email" : "email"
},
"city" : 5.962133916683182,
"created" : "2000-01-23",
"keys" : [ {
"kind" : 9.965781217890562,
"term" : "term",
"id" : "id",
"label" : "label"
}, {
"kind" : 9.965781217890562,
"term" : "term",
"id" : "id",
"label" : "label"
} ],
"active_solarization" : {
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 9.369310271410669,
"degrees" : 6.683562403749608
},
"prediction_models" : [ {
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
}, {
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
} ],
"aggregation" : 5.637376656633329,
"sensors" : [ {
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
}, {
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
} ],
"province" : 1.4658129805029452,
"polygon" : 7.061401241503109,
"zone" : 2.3021358869347655,
"plot" : 9.301444243932576,
"enclosure" : 3.616076749251911,
"name" : "name",
"id" : 0.8008281904610115,
"crop" : 6.027456183070403
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Peticion exitosa
FieldRS
Up
delete /fields/{field_id}/
(deleteField)
Path parameters
field_id (required)
Path Parameter —
Responses
200
Operacion exitosa
Up
get /fields/{field_id}/
(getField)
Path parameters
field_id (required)
Path Parameter —
Return type
Example data
Content-Type: application/json
{
"area" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"owner" : {
"phone" : "phone",
"last_name" : "last_name",
"groups" : [ "groups", "groups" ],
"id" : 0.8008281904610115,
"date_joined" : "2000-01-23",
"first_name" : "first_name",
"email" : "email"
},
"city" : 5.962133916683182,
"created" : "2000-01-23",
"keys" : [ {
"kind" : 9.965781217890562,
"term" : "term",
"id" : "id",
"label" : "label"
}, {
"kind" : 9.965781217890562,
"term" : "term",
"id" : "id",
"label" : "label"
} ],
"active_solarization" : {
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 9.369310271410669,
"degrees" : 6.683562403749608
},
"prediction_models" : [ {
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
}, {
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
} ],
"aggregation" : 5.637376656633329,
"sensors" : [ {
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
}, {
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
} ],
"province" : 1.4658129805029452,
"polygon" : 7.061401241503109,
"zone" : 2.3021358869347655,
"plot" : 9.301444243932576,
"enclosure" : 3.616076749251911,
"name" : "name",
"id" : 0.8008281904610115,
"crop" : 6.027456183070403
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Info de parcela
FieldRS
(getFields)
Query parameters
page (optional)
Query Parameter —
page_size (optional)
Query Parameter —
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Lista de parcelas
FieldPaged
(updateField)
Query parameters
token (required)
Query Parameter — Usuario de la parcela
field_id (required)
Query Parameter — Id de la parcela
Return type
Example data
Content-Type: application/json
{
"area" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"owner" : {
"phone" : "phone",
"last_name" : "last_name",
"groups" : [ "groups", "groups" ],
"id" : 0.8008281904610115,
"date_joined" : "2000-01-23",
"first_name" : "first_name",
"email" : "email"
},
"city" : 5.962133916683182,
"created" : "2000-01-23",
"keys" : [ {
"kind" : 9.965781217890562,
"term" : "term",
"id" : "id",
"label" : "label"
}, {
"kind" : 9.965781217890562,
"term" : "term",
"id" : "id",
"label" : "label"
} ],
"active_solarization" : {
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 9.369310271410669,
"degrees" : 6.683562403749608
},
"prediction_models" : [ {
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
}, {
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
} ],
"aggregation" : 5.637376656633329,
"sensors" : [ {
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
}, {
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
} ],
"province" : 1.4658129805029452,
"polygon" : 7.061401241503109,
"zone" : 2.3021358869347655,
"plot" : 9.301444243932576,
"enclosure" : 3.616076749251911,
"name" : "name",
"id" : 0.8008281904610115,
"crop" : 6.027456183070403
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Info de parcela
FieldRS
Up
delete /guests/{guestId}/
Elimina a un invitado (deleteGuest)
Path parameters
guestId (required)
Path Parameter —
Responses
200
Operación exitosa
Obtiene listdo de invitados (getGuests)
Query parameters
page (optional)
Query Parameter —
page_size (optional)
Query Parameter —
field (required)
Query Parameter —
user (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de invitados
GuestPaged
Comparte parcela (shareFieldWith)
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
Operación exitosa
Obtiene el listado de alertas (getAlerts)
Query parameters
page (optional)
Query Parameter —
page_size (optional)
Query Parameter —
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de alertas
AlertPaged
Up
patch /notifications/{id}/
Marca como leida una determinada notificación (markAlertAsRead)
Path parameters
id (required)
Path Parameter —
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
Operación exitosa
Up
post /nematool/prediction_models/
Inicia el modelo de predicción de una determinada parcela (startPredictionModel)
Consumes
This API call consumes the following media types via the request header:
application/x-www-form-urlencoded
Form parameters
field (optional)
Form Parameter —
Return type
Example data
Content-Type: application/json
{
"thresholds" : [ null, null ],
"field" : 4.145608029883936,
"last_log_entry" : {
"date" : "2000-01-23",
"generation" : 1.2315135367772556,
"eggs" : 1.0246457001441578,
"threshold" : {
"lower" : 1.1730742509559433,
"upper" : 4.965218492984954,
"is_risky" : true,
"risk" : 5.025004791520295,
"id" : 7.457744773683766,
"label" : "label"
},
"id" : 7.386281948385884,
"ratio_complete_cycle" : 1.4894159098541704,
"ratio_eggs" : 6.84685269835264
},
"name" : "name",
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 2.027123023002322
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Operacion exitosa
PredictionModel
Up
put /nematool/prediction_models/{predictionId}/stop/
Detiene el modelo de predicción (stopPredictionModel)
Path parameters
predictionId (required)
Path Parameter —
Responses
200
Operacion exitosa
Asocia un sensor a una parcela (assignSensorToField)
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
Operacion exitosa
Da de alta un sensor (createSensor)
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Sensor dado de alta
Sensor
Up
get /sensor_key_values/
Obtiene los valores de un determinado sensor (getLastSensorKeyValue)
Query parameters
page (optional)
Query Parameter —
page_size (optional)
Query Parameter —
ordering (optional)
Query Parameter — Criterio de ordenacion
field (required)
Query Parameter — Id de la parcela
key (required)
Query Parameter — Clave del valor a recueprar
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Valor de sensor
SensorKeyValuePaged
Obtiene los sensores (getSensor)
Query parameters
page (optional)
Query Parameter —
page_size (optional)
Query Parameter —
serial (optional)
Query Parameter — Sensorid para filtrar los resultados
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Sensores
SensorPaged
Up
get /sensor_key_values/time_series/
Obtiene los valores de un sensor en una determinada serie temporal (getSensorValues)
Query parameters
field (required)
Query Parameter — Parcela
key (required)
Query Parameter — Clave del valor
interval (optional)
Query Parameter — Intervalo de la serie
timestamp_min (optional)
Query Parameter — Desde
timestamp_max (optional)
Query Parameter — Hasta
Return type
Example data
Content-Type: application/json
{
"entryList" : {
"date" : "2000-01-23",
"mean" : 0.8008281904610115
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Valores del sensor
SensorValuesRS
Actualiza el sensor asociándolo a una localización (updateSensor)
Path parameters
id (required)
Path Parameter — Id del sensor
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"current_rssi" : 5.962133916683182,
"current_rssi_timestamp" : "2000-01-23",
"tst_serial_number" : "tst_serial_number",
"is_activated" : true,
"serial" : "serial",
"current_battery_timestamp" : "2000-01-23",
"interpolation_period" : 5.637376656633329,
"id" : 0.8008281904610115,
"position" : {
"coordinates" : [ 6.027456183070403, 6.027456183070403 ],
"type" : "type"
},
"current_battery" : 1.4658129805029452
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Sensor actualizado
Sensor
Up
get /sigpac/aggregations/
Obtiene el listado de agregados sigpac (getSigpacAggregations)
Query parameters
province (required)
Query Parameter —
city (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de Agregados
Obtiene el listado de municipios sigpac (getSigpacCities)
Query parameters
province (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de municipios
Up
get /sigpac/communities/
Obtiene el listado de comunidades sigpac (getSigpacCommunities)
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de comunidades
Up
get /sigpac/enclosures/
Obtiene el listado de recintos sigpac (getSigpacEnclosures)
Query parameters
province (required)
Query Parameter —
city (required)
Query Parameter —
aggregation (required)
Query Parameter —
zone (required)
Query Parameter —
polygon (required)
Query Parameter —
plt (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de Recintos
Obtiene el listado de parcelas sigpac (getSigpacPlots)
Query parameters
province (required)
Query Parameter —
city (required)
Query Parameter —
aggregation (required)
Query Parameter —
zone (required)
Query Parameter —
polygon (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de Parcelas
Obtiene el listado de polígonos sigpac (getSigpacPolygons)
Query parameters
province (required)
Query Parameter —
city (required)
Query Parameter —
aggregation (required)
Query Parameter —
zone (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de Polígonos
Up
get /sigpac/provinces/
Obtiene el listado de provincias sigpac (getSigpacProvinces)
Query parameters
community (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de provincias
Obtiene el listado de zonas sigpac (getSigpacZones)
Query parameters
province (required)
Query Parameter —
city (required)
Query Parameter —
aggregation (required)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"code" : 0.8008281904610115,
"name" : "name"
}, {
"code" : 0.8008281904610115,
"name" : "name"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Listado de Zonas
Up
post /nematool/solarizations/
Inicia la solarizacion de una determinada parcela (startSolarization)
Consumes
This API call consumes the following media types via the request header:
application/x-www-form-urlencoded
Form parameters
field (optional)
Form Parameter —
Return type
Example data
Content-Type: application/json
{
"started" : "2000-01-23",
"finished" : "2000-01-23",
"id" : 9.369310271410669,
"degrees" : 6.683562403749608
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Operacion exitosa
Solarization
Up
put /nematool/solarizations/{solarizationId}/stop/
Detiene el proceso de solarización (stopSolarization)
Path parameters
solarizationId (required)
Path Parameter —
Responses
200
Operacion exitosa
Obtiene los datos del usuario (getUser)
Return type
Example data
Content-Type: application/json
{
"phone" : "phone",
"last_name" : "last_name",
"groups" : [ "groups", "groups" ],
"id" : 0.8008281904610115,
"date_joined" : "2000-01-23",
"first_name" : "first_name",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Datos de usuario
UserRS
Registra al usuario en el sistem Nematool (register)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Datos de registro
Return type
Example data
Content-Type: application/json
{
"phone" : "phone",
"last_name" : "last_name",
"groups" : [ "groups", "groups" ],
"id" : 0.8008281904610115,
"date_joined" : "date_joined",
"first_name" : "first_name",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Registro exitoso
RegisterRS
[ Jump to Methods ]
Table of Contents
Aggregation
AlertPaged
AlertRS
AreaDTO
City
Community
Country
CreateFCMTokenRQ
Crop
CropPaged
Enclosure
Event
FieldPaged
FieldRS
ForgotPassword
GeoZone
Guest
GuestPaged
Key
LogEntry
LoginRequest
LoginResponse
NewFieldRQ
NotificationReadRQ
PagedRS
Plot
Polygon
PredictionModel
Province
RefreshTokenRequest
RegisterRS
RegisterRequest
Sensor
SensorCreateRQ
SensorFieldAssociationRQ
SensorKeyValuePaged
SensorKeyValueRS
SensorMinMax
SensorPaged
SensorRQ
SensorUpdateRQ
SensorValue
SensorValuesRS
ShareFieldRQ
Solarization
Target
Threshold
UpdateDeviceProfileRQ
UserRS
Zone
nematool_prediction_models_body
nematool_solarizations_body
code (optional)
name (optional)
count (optional)
next (optional)
previous (optional)
results (optional)
id (optional)
event (optional)
read (optional)
type (optional)
coordinates (optional)
code (optional)
name (optional)
code (optional)
name (optional)
registrtion_id (optional)
cloud_message_id (optional)
application_id
id (optional)
name (optional)
count (optional)
next (optional)
previous (optional)
results (optional)
code (optional)
name (optional)
created (optional)
text (optional)
title (optional)
verb (optional)
title_loc_key (optional)
title_loc_args (optional)
body_loc_key (optional)
body_loc_args (optional)
target (optional)
count (optional)
next (optional)
previous (optional)
results (optional)
id (optional)
name (optional)
area (optional)
crop (optional)
province (optional)
city (optional)
aggregation (optional)
zone (optional)
polygon (optional)
plot (optional)
enclosure (optional)
center (optional)
created (optional)
owner (optional)
prediction_models (optional)
sensors (optional)
keys (optional)
active_solarization (optional)
active_prediction_model (optional)
code (optional)
name (optional)
id (optional)
user (optional)
count (optional)
next (optional)
previous (optional)
results (optional)
id (optional)
term (optional)
label (optional)
kind (optional)
id (optional)
date (optional)
generation (optional)
eggs (optional)
ratio_complete_cycle (optional)
ratio_eggs (optional)
threshold (optional)
username
password
grant_password (optional)
access_token (optional)
expires_in (optional)
token_type (optional)
scope (optional)
refresh_token (optional)
name (optional)
area (optional)
province (optional)
city (optional)
aggregation (optional)
zone (optional)
polygon (optional)
plot (optional)
enclosure (optional)
crop (optional)
count (optional)
next (optional)
previous (optional)
code (optional)
name (optional)
code (optional)
name (optional)
id (optional)
name (optional)
field (optional)
started (optional)
finished (optional)
last_log_entry (optional)
thresholds (optional)
code (optional)
name (optional)
id (optional)
email (optional)
first_name (optional)
last_name (optional)
phone (optional)
groups (optional)
date_joined (optional)
id (optional)
position (optional)
serial (optional)
tst_serial_number (optional)
is_activated (optional)
current_battery (optional)
current_battery_timestamp (optional)
current_rssi (optional)
current_rssi_timestamp (optional)
interpolation_period (optional)
serial (optional)
String Identificador serial del sensor
field (optional)
sensor (optional)
count (optional)
next (optional)
previous (optional)
results (optional)
id (optional)
value (optional)
timestamp (optional)
max (optional)
min (optional)
count (optional)
next (optional)
previous (optional)
results (optional)
field (optional)
position (optional)
interpolation_period (optional)
date (optional)
mean (optional)
field (optional)
email (optional)
id (optional)
started (optional)
finished (optional)
degrees (optional)
id (optional)
lower (optional)
upper (optional)
is_risky (optional)
label (optional)
risk (optional)
id (optional)
email (optional)
first_name (optional)
last_name (optional)
phone (optional)
groups (optional)
date_joined (optional)
code (optional)
name (optional)