You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent duplicated sessions sent to qualicharge API.
Proposal
create a new endpoint PUT /dynamique/session/{session_id}
Details
When a request to the current endpoint POST /dynamique/session fails due to a request timeout, it is possible that the server still process and saves the request, but there is no way for the client to know if the request was successfully processed.
The client might retry the request later, which can create duplicated sessions.
Alternatively, the qualicharge API could keep the current endpoint, but add a unique index to id_pdc_itinerance + start to prevent duplicated data.
The text was updated successfully, but these errors were encountered:
Purpose
Prevent duplicated sessions sent to qualicharge API.
Proposal
create a new endpoint
PUT /dynamique/session/{session_id}
Details
When a request to the current endpoint
POST /dynamique/session
fails due to arequest timeout
, it is possible that the server still process and saves the request, but there is no way for the client to know if the request was successfully processed.The client might retry the request later, which can create duplicated sessions.
Alternatively, the qualicharge API could keep the current endpoint, but add a unique index to
id_pdc_itinerance + start
to prevent duplicated data.The text was updated successfully, but these errors were encountered: