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

AlarmAPI: HTML Code 200 im Fehlerfall #18

Open
benehuber opened this issue Jun 19, 2019 · 0 comments
Open

AlarmAPI: HTML Code 200 im Fehlerfall #18

benehuber opened this issue Jun 19, 2019 · 0 comments

Comments

@benehuber
Copy link

Die AlarmAPI gibt bei jedem Request den HTML Response Code 200 zurück.

Für die Fehler:

  • MISSING_INPUT_DATA
  • MISSING_CUSTOMER_ID
  • MISSING_USERNAME
  • INVALID_CUSTOMER_ID
  • NOT_CONFIGURED_FOR_CUSTOMER
  • UNKNOWN_USER
  • NOT_AUTHORIZED
  • UNAUTHORIZED_SENDER_ID
  • DEACTIVATED
  • INVALID_GROUP
  • INVALID_TEMPLATE
  • NOT FOUND
  • UNKNOWN_ERROR

wäre analog zur Import API ein entsprechender 4xx Fehler von Vorteil.

z.B. Import API
HTTP 400 BAD Request: Datenvalidierung fehlgeschlagen
HTTP 401 Unauthorized: Problem bei der Authentifizierung
HTTP 403 Forbidden: Problem bei der Authentifizierung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant