Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support any field to be primary key #9

Open
Krolken opened this issue Jul 13, 2018 · 0 comments
Open

Support any field to be primary key #9

Krolken opened this issue Jul 13, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Krolken
Copy link
Contributor

Krolken commented Jul 13, 2018

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

@Krolken Krolken self-assigned this Jul 13, 2018
@Krolken Krolken added this to the 0.0.5 milestone Jul 13, 2018
@Krolken Krolken added the enhancement New feature or request label Jul 27, 2018
@Krolken Krolken removed this from the 0.0.5 milestone Oct 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant