Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
api:api_applicants_id_trackers_id [2014/07/10 19:25] – [PUT] Lauri | api:api_applicants_id_trackers_id [2024/07/30 11:50] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== HEAD, GET ===== | ===== HEAD, GET ===== | ||
- | Use the '' | + | Use the '' |
**Note that this will not return the tracker itself**, but rather represents the relationships between the applicant and the tracker. Follow the tracker URI in the response to retrieve further information about the tracker in question. | **Note that this will not return the tracker itself**, but rather represents the relationships between the applicant and the tracker. Follow the tracker URI in the response to retrieve further information about the tracker in question. | ||
Line 21: | Line 21: | ||
| '' | | '' | ||
- | | '' | + | | '' |
+ | | '' | ||
+ | |||
+ | ==== Response example ==== | ||
+ | |||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
===== PUT ===== | ===== PUT ===== | ||
- | Set a tracker | + | Set a tracker to the applicant in question. **This requires that the tracker already exists.** Use '' |
+ | |||
+ | In other words, this will not create a new tracker, but create a relationship (association) between an existing tracker and an applicant. | ||
+ | |||
+ | NB! The body of the request is left empty | ||
==== Syntax ==== | ==== Syntax ==== | ||
Line 40: | Line 52: | ||
| '' | | '' | ||
- | | '' | + | | '' |
===== DELETE ===== | ===== DELETE ===== | ||
- | Remove the tracker | + | Remove the tracker from the applicant in question. |
==== Syntax ==== | ==== Syntax ==== | ||
Line 61: | Line 72: | ||
| '' | | '' | ||
+ | | '' | ||
+ | | '' | ||