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_notes [2021/11/17 16:31] – created Lauri Elevantapi:api_applications_id_offers_id_notes [2024/01/23 19:18] (current) Lauri Elevant
Line 21: Line 21:
 ==== Response codes ==== ==== Response codes ====
  
-| ''200 OK'' | The decision is returned successfully |+| ''200 OK'' | The notes were returned successfully |
 | ''404 Not Found'' | Application does not have this offer | | ''404 Not Found'' | Application does not have this offer |
  
Line 82: Line 82:
 | ''204 No Content'' | The notes were saved | | ''204 No Content'' | The notes were saved |
 | ''400 Bad Request'' | Invalid notes. Please make sure that status is a valid JSON string with quotes. | | ''400 Bad Request'' | Invalid notes. Please make sure that status is a valid JSON string with quotes. |
-| ''404 Not Found'' | Application does not have this offer | 
- 
- 
-===== DELETE ===== 
- 
-Delete the notes on this offer. 
- 
-==== Syntax ==== 
- 
-  DELETE /api/applications/123/offers/321/notes 
-  Host: apply.example.edu 
-  Authorization: DREAM apikey="..." 
- 
- 
-==== Response headers ==== 
- 
-  Content-Type: text/plain 
-  Content-Length: 0 
- 
-==== Response codes ==== 
- 
-| ''204 No Content'' | The notes were deleted | 
 | ''404 Not Found'' | Application does not have this offer | | ''404 Not Found'' | Application does not have this offer |