GET /v3/notificaciones/{adminmail}

Notificaciones de una Agencia.

Request

Path parameters

Name Type Constraints Descripción
adminMail string (email) Required
Email operador administrador de la agencia

Responses

HTTP-StatusCode 200

OK

NotificacionesConfig when Accept: application/json application/vnd.autocosmos.entry+json text/json
{
  "PublicacionConsultadaWebHook": {
    "Callback": "https://callbacks.myapp.com/leads/listener/autocosmos",
    "Secret": null,
    "Activo": true,
    "HeaderCustom01": {
      "Name": "X-MYAPP-DEALERCODE",
      "Value": "I25_97"
    },
    "HeaderCustom02": {
      "Name": "X-MYAPP-PRODUCER",
      "Value": "Autocosmos"
    },
    "HeaderCustom03": null
  },
  "PublicacionConsultadaAdfHook": {
    "Callback": "https://callbacks.myapp.com/leads/listener/adf",
    "Activo": true,
    "HeaderCustom01": {
      "Name": "X-MYAPP-DEALERCODE",
      "Value": "I25_97"
    }
  },
  "PublicacionConsultadaAdfMail": {
    "Email": "leads.adf@myapp.com",
    "Activo": false
  },
  "PublicacionConsultadaHtmlMail": {
    "EmailsCCO": "supervisor@agencia.com, super.supervisor@agencia.com, bigbrother@agencia.com",
    "Activo": true
  },
  "_links": {
    "rel1": {
      "href": "/v3/notificaciones/somevalue"
    },
    "rel2": {
      "href": "/v3/notificaciones/somevalue",
      "method": "PUT"
    }
  }
}

HTTP-StatusCode 400

ValidationProblemDetails Content-Type: application/problem+json
{
  "Errors": {
    "_": [
      "entry problem1",
      "entry problem2"
    ],
    "property1": [
      "problem 1"
    ]
  },
  "Type": "https://httpstatuses.com/400",
  "Title": "Validación de información esperada fallida",
  "Status": 400,
  "Detail": "Alguna información contiene valores no validos.",
  "Instance": "/v3/somewhere",
  "Extensions": {}
}

HTTP-StatusCode 404

La agencia, para tu app, no existe.