v1

latestOpenAPI 3.1.02026-07-24700152.8 KB

Add task link to reservation

Link an existing task to a reservation

post/reservation/{id}/tasks

Path parameters

idinteger required

Reservation ID from Breezeway system

Request body

task_idinteger required

Task ID from Breezeway system

Response

200

{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:bill_to","oasType":"schema","type":"unknown"}
created_atstring
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:created_by","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:description","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:finished_at","oasType":"schema","type":"unknown"}
home_idinteger
idinteger
namestring
pausedboolean
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:rate_paid","oasType":"schema","type":"unknown"}
rate_typestring
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:reference_property_id","oasType":"schema","type":"unknown"}
report_urlstring
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:requested_by","oasType":"schema","type":"unknown"}
scheduled_datestring
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:scheduled_time","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:started_at","oasType":"schema","type":"unknown"}
template_idinteger
{"stackTrail":"paths:/reservation/{id}/tasks:post:responses:200:content:application/json:schema:items:properties:total_time","oasType":"schema","type":"unknown"}
type_departmentstring
type_prioritystring
updated_atstring

Example response

[
  {
    "created_at": "2023-07-01T17:13:36",
    "home_id": 193843,
    "id": 39929799,
    "name": "Owner Departure Clean",
    "rate_type": "hourly",
    "report_url": "https://publick-house.brzwstaging.io/task/report/30335792-2d42-4435-9766-28a2e88a0248",
    "scheduled_date": "2023-08-14",
    "template_id": 53963,
    "type_department": "housekeeping",
    "type_priority": "normal",
    "type_task_status": {
      "code": "created",
      "name": "Created",
      "stage": "new"
    },
    "updated_at": "2023-07-01T17:13:36+00:00"
  }
]