Error and bulk responses #891
Labels
Agency
Specific to the Agency API
documentation
documentation change can be for code and/or markdown pages
minor update
A change that is minor and should require little discussion, or is a maintenance/readme/typo update.
Milestone
I want to clarify bulk responses error http codes.
Let's assume i want process multiple vehicles through
agency/vehicles
endpoint - lets say 3 of them. Lets say first vehicle is already registered, second one has wrong type in fileddevice_id
and third one is correct.What should be api response and http code in that case? Should it be 409 or 400 or 201 and response like:
The text was updated successfully, but these errors were encountered: