Submit Application
Submitting an application
To submit an application, one needs POST with the /applications/{appId}/submit endpoint:
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST "https://api.softgarden.io/api/rest/v2/frontend/applications/{appId}/submit" |
with TOKEN being the user access token of the user in question and appId corresponding to the ID of one of his/her applications. This application will be submitted.
If the applicant is logged in as a temporary user, an email will be send.
Path parameters
Name | Description |
---|---|
appId | The ID of the application that is to be submitted. |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | boolean | ‘true‘ if submission was successful, ‘false‘ otherwise |
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |
Example return value
1 |
true |