[C#] Iteration über Zustellpunkte via SDK nicht möglich [OpenCode #93]
Description of the bug:
- ...
- ...
- ...
Current behavior:
Hallo FIT-Connect-Team,
anbei übersende ich Ihnen einen Fehler (inkl. Lösung) Ihres C# SDKs v3.0.0.
Die Methode "ListDestinations" der Klasse "DestinationService" hat einen Type bei dem Query-Parameter "offset". Vor dem "offset" befindet sich ein "&?". Das "?" muss bitte entfernt werden, da ansonsten eine Iteration über die Zustellpunkte nicht möglich ist.
Vielen Dank im Voraus
Martin Kias
public async Task<MultipleDestinationsDto?> ListDestinations(int offset, int limit)
{
// ... Fehlerhafte Codezeile
return await RestCall<MultipleDestinationsDto>($"/destinations?limit={limit}&?offset={offset}", HttpMethod.Get);
}
Expected behavior:
Environments:
DEV, TEST, STAGE, PROD
Additional Information:
Dependency / relationship to other issues:
Responsible person / team:
Transfer history to different teams
Contact persons including contact details:
Screenshots / Logs / Requests:
Checklist:
-
Add Severity label -
Add team label -
Related/affected issues/stories/epics linked and explained in the bug issue -
Creation of an automated test -
Bugfix deployed on DEV -
Bugfix tested on DEV -
Bugfix deployed on TEST -
Bugfix tested on TEST (possibly also by the connection project itself) -
Successful fix reported to Team Operations (Teams channel) -
Bugfix deployed on STAGE -
Bugfix tested on STAGE if necessary -
Bugfix deployed on PROD -
Bugfix tested on PROD (possibly also by the connection project itself) -
Final communication by Team Operations if necessary -
Internal documentation was checked and updated if necessary -
External documentation has been checked and updated if necessary -
Updated changelog if necessary
Approach/Solution:
Release version of the artifact:
Edited by Laura Elges