/
Caso practico usando Postman
Caso practico usando Postman
Postman
Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.
Descargar Postman aqui
URL para pruebas
https://simaapi-test.ddns.net
Paso 1: Obtener API-KEY de usuario (login)
Con la ayuda de Postman, hacemos un POST a la url v2/login con el siguiente body:
{
"email":"{{user_email}}",
"password":"{{password}}"
}
Ejemplo login
POST v2/login
Body:
Si las credenciales son correctas, buscamos el campo "access_token" en la respuesta del endpoint.
Ejemplo respuesta login
Es importante guardar el access_token para usarlo en todos los llamados posteriores.
Paso 2: Descargar información
Podemos descargar información de Establecimientos, Lotes, Campañas, Monitoreos y todo el resto de actividades que se registran con la APP de SIMA.
Insumos
Ejemplo descarga insumos
, multiple selections available,
Related content
Download endpoints
Download endpoints
Read with this
Integration Protocol Documentation - Third Party -
Integration Protocol Documentation - Third Party -
More like this
Events: Entity relations and description
Events: Entity relations and description
Read with this
API SIMA Documentation
API SIMA Documentation
More like this
Entity relations and description
Entity relations and description
Read with this
Integración SIMA - Albor campo
Integración SIMA - Albor campo
Read with this