Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

131
Views
Problema con familias o grupos de parámetros

Tengo que llamar a este dato que viene de Signaturit. El problema es que se agrupan en una especie de familia o grupos. Estoy usando Swagger para construir la API.

Nombre de los parámetros con los que tengo que trabajar

Y no puedo llamar a esos parámetros porque JS me dice "ReferenceError: created_at no está definido". Ese error es normal porque estoy tratando de darle una propiedad que no existe.

Pero necesito llamar a esos parámetros y no puedo cambiar la forma en que la plataforma me envía los datos.

Código:

 params: { 'document[created_at]': req.swagger.params.document[created_at].value, created_at: req.swagger.params.created_at.value, type: req.swagger.params.type.value, }

Gracias

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Resuelto:

 'document[created_at]': req.swagger.params["document[created_at]"].value,

Así puedes llamar al parámetro.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!