namespace PayRollBLL.SAP.Audit { public interface ISapDeclarationAuditLog { /// Call BEFORE posting to SAP — logs parameters and the JSON payload. void LogRequest( int infotype, int declarationId, int employeeId, int periodId, string endpointPath, string description, string jsonPayload); /// Call AFTER SAP responds — logs HTTP status, outcome message, and raw body. void LogResponse( int infotype, string endpointPath, string description, int httpStatus, bool isSuccess, string message, string responseBody); } }