Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api:api_applications_id_offers_id_score_extra [2017/07/20 09:17]
Safak Samiloglu created
api:api_applications_id_offers_id_score_extra [2021/01/21 12:51] (current)
Line 57: Line 57:
 | ''400 Bad Request'' | Invalid score. Score must be a decimal value with 2 decimal points separated by a dot. | | ''400 Bad Request'' | Invalid score. Score must be a decimal value with 2 decimal points separated by a dot. |
 | ''404 Not Found'' | Application does not have this offer | | ''404 Not Found'' | Application does not have this offer |
 +
 +===== DELETE =====
 +
 +Clear the extra score for the application offer (identified by it's ID) in question. 
 +
 +==== Syntax ====
 +
 +  DELETE /api/applications/123/offers/321/score/extra
 +  Host: apply.example.edu
 +  Authorization: DREAM apikey="..."
 +
 +==== Response headers ====
 +
 +  Content-Type: text/plain
 +  Content-Length: 0
 +
 +==== Response codes ====
 +
 +| ''204 No Content'' | Score was successfully cleared |
 +| ''400 Bad Request'' | Invalid input. |