Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api:api_applicants_id_notes [2021/11/17 16:34] – created Lauri | api:api_applicants_id_notes [2025/03/28 22:44] (current) – [Response example] Lauri | ||
---|---|---|---|
Line 25: | Line 25: | ||
==== Response example ==== | ==== Response example ==== | ||
- | "Some comments" | + | == API version >= 6 == |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | } | ||
- | ===== PUT ===== | + | == API version |
- | Set the notes to some text, overwriting the existing notes. | + | |
- | + | ||
- | ==== Syntax ==== | + | |
- | + | ||
- | PUT / | + | |
- | Host: apply.example.edu | + | |
- | Authorization: | + | |
- | + | ||
- | ==== Raw request body ==== | + | |
- | + | ||
- | Note that the comments | + | |
- | + | ||
- | "Some notes\nAnother line" | + | |
- | + | ||
- | ==== Response headers ==== | + | |
- | + | ||
- | Content-Type: | + | |
- | Content-Length: | + | |
- | + | ||
- | ==== Response codes ==== | + | |
- | + | ||
- | | '' | + | |
- | | '' | + | |
Line 81: | Line 77: | ||
| '' | | '' | ||
- | |||
- | ===== DELETE ===== | ||
- | |||
- | Delete the notes on this offer. | ||
- | |||
- | ==== Syntax ==== | ||
- | |||
- | DELETE / | ||
- | Host: apply.example.edu | ||
- | Authorization: | ||
- | |||
- | |||
- | ==== Response headers ==== | ||
- | |||
- | Content-Type: | ||
- | Content-Length: | ||
- | |||
- | ==== Response codes ==== | ||
- | |||
- | | '' | ||
- | | '' |