Edit Signal reader assignments via M2M
From version 1.47.0 of the API, Signal reader assignments can be edited via the API. The currently available end points for editing a specific assignment is described at https://wice.alkit.se/m2m/resource_EditSignalReaderAssignmentService.html
Editing an assignment is done by combining results from multiple end points and to help the user the sections below describes some use cases.
Add A2L signals from updated vehicle profile
One use case is when an assignment "A" is based on a vehicle profile "VP" which has A2L files associated with at least one ECU. Then a new version of the A2L file is available which contains additional signals that needs to be measured in A.
When using the portal GUI one would start with uploading the A2L file and then associate it with the ECU of the VP. After that A needs to be copied (to use the updated version of VP) and the new A2L file needs to be selected when A is copied.
After the copying process is successful the assignment can be edited and the additional signals of the new A2L file are available when selecting the signals from the signal source.
The following sections describes how to do this via M2M.