Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
themeDJango
titlejsonsh
linenumberstrue
{curl -X POST "http://localhost:8080/ApiDimoEmpresaJavaEnvironment/rest/colaboradores/alta" \
-H "API-KEY: "data": BMMyeLpIomvnnGwmN8IOydFCON4AQelKTIY4C44Fljg8AjFled" \
-H "Content-Type: application/json" \
-d '{
  "data": {
    "nroDocumento": 4040440,
   
    "nombres": "Arturo",
        "apellidos": "Sosa Bagnoli",
        "nroTelefono": "0971159618",
        "correo": "asosa@cabal.com.py"
    }
}'

ListarColaborador

Code Block
languagepy
themeDJango
titlejsonsh
linenumberstrue
{curl -X POST "http://localhost:8080/ApiDimoEmpresaJavaEnvironment/rest/colaboradores/listar" \
-H "data": {
     API-KEY: BMMyeLpIomvnnGwmN8IOydFCON4AQelKTIY4C44Fljg8AjFled" \
-H "Content-Type: application/json" \
-d '{
  "nroDocumento": 4040440,
        "nombres": "Arturo",
   
}'

CrearAcreditacion

Code Block
languagepy
themeDJango
titlesh
linenumberstrue
curl -X POST "http://localhost:8080/ApiDimoEmpresaJavaEnvironment/rest/acreditaciones/crear" \
-H "API-KEY: BMMyeLpIomvnnGwmN8IOydFCON4AQelKTIY4C44Fljg8AjFled" \
-H "Content-Type: application/json" \
-d '{
  "acreditacion": {
    "usuario": "test1",
    "apellidosdescripcion": "Sosaprueba Bagnoli1",
    "lista": [
  "nroTelefono    {
        "nroDocumento": "0971159618"4040440,
        "correomonto": "asosa@cabal.com.py" 1500000
      }
}

CrearAcreditacion

Code Block
languagepy
themeDJango
titlejson
linenumberstrue
{,
     "data": {
        "nroDocumento": 4040440,
        "nombresmonto": "Arturo" 1200000
      },
      {
 "apellidos       "nroDocumento": "Sosa Bagnoli"404011111,
        "nroTelefonomonto": "0971159618",1600000
      }
 "correo": "asosa@cabal.com.py"  ]
  }
}'

EjecutarAcreditacion

Code Block
languagepy
themeDJango
titlejson
linenumberstrue
{curl -X POST   "data": {
        "nroDocumento": 4040440,
        "nombres": "Arturo",
        "apellidos": "Sosa Bagnoli",
    "http://localhost:8080/ApiDimoEmpresaJavaEnvironment/rest/acreditaciones/ejecutar" \
-H "API-KEY: BMMyeLpIomvnnGwmN8IOydFCON4AQelKTIY4C44Fljg8AjFled" \
-H "Content-Type: application/json" \
-d '{
  "acreditacion": {
    "nroTelefonousuario": "0971159618test1",
   
    "correoidAcreditacion": "asosa@cabal.com.py"274
    }
}'

...

Este documento proporciona una guía completa para la integración y uso de la API de Dimo Empresa. Asegúrate de seguir las mejores prácticas de seguridad y mantener actualizada la documentación para reflejar cualquier cambio en la API.

...