Support any field to be primary key
Krolken opened this issue · comments
As of now in GET requests we assume that the attribute 'id' on a model is the primary key.
On some models in Visma API this is not the case. For example Account uses the account number as the key in the REST-path. /accounts/fiscal_year/number
This case also includes another case of adding path variables for special cases but that is covered in