Skip to main content
Question

API Integration Issue - Absence Record Creation Not Reflected in Database

  • January 29, 2024
  • 2 replies
  • 57 views

Darshana Herath
Hero (Former Employee)
Forum|alt.badge.img+14

Issue Summary: Records created via API not appearing in the database.
Integration Point: "AbsenceHandling.svc/AbsenceRegistrations"

Observed Behavior:
API returns a "201" status code, indicating successful record creation.
The created records are not visible in the database.

Concern: Discrepancy between API response and database entries. Same payload can be used to create the record again which means no issues with the basic data.


Seeking insights or suggestions on potential causes of this issue.
 

2 replies

Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31
  • Ultimate Hero (Employee)
  • 1094 replies
  • January 29, 2024

Hi @Darshana Herath,

Please share details on the payload you pass to the request and the headers you specified. Does this occur for any payload or just for some specific payload? And in which table did you look for the data? 


Darshana Herath
Hero (Former Employee)
Forum|alt.badge.img+14
  • Author
  • Hero (Former Employee)
  • 121 replies
  • January 30, 2024

Hi @Darshana Herath,

Please share details on the payload you pass to the request and the headers you specified. Does this occur for any payload or just for some specific payload? And in which table did you look for the data? 

Hi Charith, I internally shared details with you.

Thank you.