pwitab / visma

A Python Client library for integration to Visma eAccounting, Visma eEkonomi

Home Page:http://visma.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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