Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Crew Availability → Update

AI-generated

Summary

Updates an existing crew availability entry in Rentman by ID, sending only the fields you set (start, end, status, remark) in the request body to /crewavailability/{id}.

Inputs

  • crewAvailabilityId (required) — ID of the crew availability entry to update. It is used in the request URL /crewavailability/{id}.
  • updateFields — Collection of fields to change. Only the fields you add are sent. Options: Start Date/Time, End Date/Time, Status (Available = Y, Not Available = N), and Remark (multi-line text).
  • requestOptions — Node-level HTTP settings: batching (items per batch, default 50, and interval in ms, default 1000), ignore SSL issues, proxy URL, and timeout in ms (default 10000).

Output shape

The response from the Rentman API for the updated crew availability entry, one result per input item.

The source pack contains only stubs, so the exact response shape isn't visible. The operation uses declarative routing and is expected to return the API's response as is. If no update fields are added, the request body has no changes.

Examples

Example 1: Mark a crew member as unavailable for a specific period.

Set Crew Availability ID to the entry's ID. In Update Fields, add Status = Not Available, Start Date/Time, and End Date/Time.

Example 2: Add a note to an existing availability entry.

Set Crew Availability ID (for example from an expression) and add Remark = 'Holiday, back on Monday' in Update Fields.

Links

Discussion