https://app.swaggerhub.com/apis/EddlesA/G21_fudge_api/1.0.0
Method | Name | Description | Parameters | Return values | Exceptions | |||
---|---|---|---|---|---|---|---|---|
POST |
| Sends UBL invoice via email to specified addresses. Returns a communication report informing user of success/errors: if unsuccessful, the report has errors (eg. email address invalid, connection not etablished etc.). It also includes address, client, time/date. It will be readable for humans to understand. Should also save a record of the transaction | Header:
Body
File:
| communicationReport (JSON)
| 400 errors:
403 errors:
413 errors:
| |||
GET |
| Health check endpoint that indicates the aliveness of this service. Gives information about success, server up time, number of transactions and current version. | None |
| None | |||
GET POST |
| Returns a new token for user to use for this session. Tokens will expire after a set amount of inactivity. |
|
| 400 errors:
| |||
POST |
| allows creates a new user to be created for |
|
|
|
|
| 400 errors:
|
POST |
| revokes the token given to the endpoint. This should be used by all users on their servers shutdown. Sessions are automatically deleted after an hour. |
|
| 403 errors:
|
...