improved
Changes to Documents API error codes
almost 4 years ago by Tyler Freckmann
We've improved the error codes that get returned for a couple of different scenarios in the Documents APIs:
Description | From | To |
---|---|---|
DELETE: already deleted document | 200 | 400 |
POST: document with deleted documentType | 500 | 404 |
POST: don't have permission to create document based on driver id and documentType | 404 | 403 |
POST: don't have permission to create a document based on dispatch job | 404 | 403 |