mark_order_imported
– Mark Order as Imported
This will mark the work order as imported and will set the status of the work order in the PPW system it was imported from to In Field
. An entry will also be put in the work order Access History
indicating the work order was imported.
Field | Type | Description |
---|---|---|
report_id | number | Unique identifier for the work order |
Request payload JSON
{
"username": "demo",
"password": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"site_id": "dcc363d0-8ed1-48a2-ba2e-f638275db4f",
"event_name": "mark_order_imported",
"event_data": "{\"report_id\":\"12249320\"}"
}
curl -X POST \
--data 'payload={
"username": "demo",
"password": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"site_id": "dcc363d0-8ed1-48a2-ba2e-f638275db4f",
"event_name": "mark_order_imported",
"event_data": "{\"report_id\":\"12249320\"}"
}' \
https://www.propertypreswizard.com/api/link/receiver.php
Response JSON
{
"remote_site_id": "1fc25d06-72bd-42f8-ad34-ecbdc5f1a4a4",
"success": true,
"return_error_msg": null,
"result_data": null,
"remote_org_id": 18,
"error": false
}