Actions
roos-fs tasks #273
openCheck endpoint for potential issues
Start date:
08/07/2025
Due date:
% Done:
0%
Estimated time:
Description
check the behavior of the following checklist-related endpoints
- Remove Checklist Photos
Issue: The endpoint always returns 404, even though the photo definitely exists.
- Fill Out Checklist
Issue: The endpoint returns 200 OK, but the values are not being saved in practice.
include the all_mandatory_checklists_completed flag directly in the task response
LOGS
curl 'https://oms.roos-fs.com/api/v1/checklists/519/remove_photo' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-language: en,en-US;q=0.9,be;q=0.8,uk;q=0.7,la;q=0.6,ru;q=0.5' \
-H 'authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNSwiZW1haWwiOiJ2aS5ncmlzaGtvdmFAZ21haWwuY29tIiwicm9sZSI6ImFkbWluIiwidHlwZSI6ImFjY2VzcyIsImV4cCI6MTc1NDY3NjA4OH0.dSK9232Nv4rpydoJJXcRMXgAfCLsR30IJmc41NY1ExQ' \
-H 'content-type: application/json' \
-H 'origin: http://localhost:8100' \
-H 'priority: u=1, i' \
-H 'referer: http://localhost:8100/' \
-H 'sec-ch-ua: ""' \
-H 'sec-ch-ua-mobile: ?1' \
-H 'sec-ch-ua-platform: ""' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Samsung UA' \
--data-raw '{"field_id":"i_am_a_picture_taking","photo_id":"704"}'
curl 'https://oms.roos-fs.com/api/v1/checklists/519' \
-X 'PUT' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-language: en,en-US;q=0.9,be;q=0.8,uk;q=0.7,la;q=0.6,ru;q=0.5' \
-H 'authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNSwiZW1haWwiOiJ2aS5ncmlzaGtvdmFAZ21haWwuY29tIiwicm9sZSI6ImFkbWluIiwidHlwZSI6ImFjY2VzcyIsImV4cCI6MTc1NDY3NjA4OH0.dSK9232Nv4rpydoJJXcRMXgAfCLsR30IJmc41NY1ExQ' \
-H 'content-type: application/json' \
-H 'origin: http://localhost:8100' \
-H 'priority: u=1, i' \
-H 'referer: http://localhost:8100/' \
-H 'sec-ch-ua: ""' \
-H 'sec-ch-ua-mobile: ?1' \
-H 'sec-ch-ua-platform: ""' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Samsung UA' \
--data-raw '{"fields":[{"id":"i_am_a_binary_question","value":true},{"id":"selector","value":2}]}'
Actions