Docs
Update Schedule Block
PATCH /procurement-resources/{resourceId}/schedule-blocks/{blockId}
PATCH
/procurement-resources/{resourceId}/schedule-blocks/{blockId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Updates a schedule block's type, time range, and metadata. Recalculates the parent resource's derived start/end times.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceId | Guid | Required | The ID of the procurement resource. Replace `{{resourceId}}` in the URL. |
| blockId | Guid | Required | The ID of the schedule block to update. Replace `{{blockId}}` in the URL. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | Guid | Required | ID of the schedule block type. |
| name | string | Optional | Optional display name for this block. |
| startDateTime | DateTimeOffset | Required | Block start time. Must be before `endDateTime`. |
| endDateTime | DateTimeOffset | Required | Block end time. Must be after `startDateTime`. |
| activityId | Guid? | Optional | Activity to link this block to. |
| notes | string | Optional | Optional notes. |
Response
Returns 200 OK with an empty body on success.