Legacy Dev Forum Posts

 View Only

Sign Up

Missing data in output of an API

  • 1.  Missing data in output of an API

    Posted 06-05-2025 18:29

    Emil_Fernandez | 2024-01-24 00:29:13 UTC | #1

    hi everybody.

    we made an action with this JSON:

    { "name": "DevEnviaCorreo_Asesoria - Exported 2024-01-23 @ 18:20", "integrationType": "custom-rest-actions", "actionType": "custom", "config": { "request": { "requestUrlTemplate": "https://paralelo.redvitamedica.com.mx/apiGenesysCloudIVR/api/AsesoriaMedicaTelemedicina", "requestType": "POST", "headers": { "Authorization": "${authResponse.token}" }, "requestTemplate": "{\n \"Telefono\": #if(${input.Telefono})\"${input.Telefono}\"#{else}\"\"#end,\n \"Nomina\": #if(${input.Nomina})\"${input.Nomina}\"#{else}\"\"#end,\n \"Beneficiario\": ${input.Beneficiario}\n}" }, "response": { "translationMap": {}, "translationMapDefaults": {}, "successTemplate": "${rawResult}" } }, "contract": { "input": { "inputSchema": { "type": "object", "properties": { "NumTelefono": { "type": "string" }, "NumNomina": { "type": "string" }, "Beneficiario": { "type": "integer" } }, "additionalProperties": true } }, "output": { "successSchema": { "type": "object", "properties": { "Mensaje": { "type": "string" }, "Folio": { "type": "string" }, "Grupo": { "type": "string" }, "NombreBeneficiario": { "type": "string" } }, "additionalProperties": true } } }, "secure": false }

    in the test of genesys cloud returns this JSON:

    { "Folio": "89013220", "Grupo": " ", "NombreBeneficiario": " ", "Mensaje": "00" }

    we made a test in the custom API and return this JSON:

    { "Folio": "89013220", "Grupo": "13000056", "NombreBeneficiario": "LETICIA GUTIERREZ HERNANDEZ", "Mensaje": "00" }

    If you see the value "Grupo" and "NombreBeneficiario" are empty in genesys cloud test, we test this action in architect and return the same empty values.

    we have any other form to get this data? or maybe can you say to me whats the reason to the missing data?

    best regards.


    system | 2024-02-23 00:29:59 UTC | #2

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 24257