send_ready_for_office
– Set Ready for Office
Work orders are set as ready for Office using the send_ready_for_office
event. This will validate the work order PCR forms, photos and any other requirements set by the PPW customer. Only the dst_report_id
is passed. The result will contain any errors the function returned. These are the same errors that would normally be returned when setting a work order as Ready for Office from the website.
Field | Type | Description |
---|---|---|
dst_report_id | number | Unique identifier for the work order. |
Request payload JSON - send_ready_for_office
{
"username": "demo",
"password": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"site_id": "dcc363d0-8ed1-48a2-ba2e-f638275db4f",
"event_name": "send_ready_for_office",
"event_data": "{\"dst_report_id\":\"12249481\"}"
}
curl -X POST \
--data 'payload={
"username": "demo",
"password": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"site_id": "dcc363d0-8ed1-48a2-ba2e-f638275db4f",
"event_name": "send_ready_for_office",
"event_data": "{\"dst_report_id\":\"12249481\"}"
}' \
https://www.propertypreswizard.com/api/link/receiver.php
Reponse JSON
{
"remote_site_id": "1fc25d06-72bd-42f8-ad34-ecbdc5f1a4a4",
"success": true,
"return_error_msg": null,
"result_data": {
"error": [],
"cell_updates": [{
"report_id": "12249481",
"cell_id": "wo_status",
"new_value": "Ready for Office",
"class": "wo_status__ready"
}],
"error_reportid": [],
"records_updated": "1",
"ready_update": "07-14-2025 10:52 AM by USER",
"log_code": "10|10111120:s:010"
},
"remote_org_id": 283,
"error": false
}