Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

send_photo_flag – Sending Photo Flag Info

Associating photos with Bid/Completion items or PCR questions is called “flagging” in PPW. To flag photos to PCR questions, you must send a request with the following fields.

Field NameDescription
dst_report_idThe report_id file is being uploaded to.
pcr_form_id The PCR form ID.
question_dataThis is a JSON array of objects with flagging info.

The photo flagging details are described below.

Field NameDescription
file_id The original file_id sent with the photo.
pcr_question_idThe PCR question ID.
work_type For PCR forms this must be set to “pc”.

Request payload JSON - send_photo_flag

{ 
   "username":"demo", 
   "password":"da39a3ee5e6b4b0d3255bfef95601890afd80709", 
   "site_id":"dcc363d0-8ed1-48a2-ba2e-f638275db4f", 
   "event_name":"send_photo_flag", 
   
"event_data":"{\"dst_report_id\":\"12249481\",\"pcr_form_id\":\"10086\",\"question_data\":[ 
{\"file_id\":\"1130171565\",\"pcr_question_id\":\"877651\",\"work_type\":\" pc\"}, 
{\"file_id\":\"1130171566\",\"pcr_question_id\":\"877651\",\"work_type\":\" pc\"}, 
{\"file_id\":\"1130171567\",\"pcr_question_id\":\"877652\",\"work_type\":\" pc\"}]}" 
} 
curl -X POST \
  --data 'payload={
    "username": "demo",
    "password": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "site_id": "dcc363d0-8ed1-48a2-ba2e-f638275db4f",
    "event_name": "send_photo_flag",
    "event_data": "{\"dst_report_id\":\"12249481\",\"pcr_form_id\":\"10086\",\"question_data\":[{\"file_id\":\"1130171565\",\"pcr_question_id\":\"877651\",\"work_type\":\"pc\"},{\"file_id\":\"1130171566\",\"pcr_question_id\":\"877651\",\"work_type\":\"pc\"},{\"file_id\":\"1130171567\",\"pcr_question_id\":\"877652\",\"work_type\":\"pc\"}]}"
  }' \
  https://www.propertypreswizard.com/api/link/receiver.php

Multiple photos can flagged in a single call. There is no limit on the number of records that can be sent at once.