Docs

Update Schedule Block

PATCH /procurement-resources/{resourceId}/schedule-blocks/{blockId}

PATCH/procurement-resources/{resourceId}/schedule-blocks/{blockId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour 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

FieldTypeRequiredDescription
resourceIdGuidRequiredThe ID of the procurement resource. Replace `{{resourceId}}` in the URL.
blockIdGuidRequiredThe ID of the schedule block to update. Replace `{{blockId}}` in the URL.

Request Body

FieldTypeRequiredDescription
typeIdGuidRequiredID of the schedule block type.
namestringOptionalOptional display name for this block.
startDateTimeDateTimeOffsetRequiredBlock start time. Must be before `endDateTime`.
endDateTimeDateTimeOffsetRequiredBlock end time. Must be after `startDateTime`.
activityIdGuid?OptionalActivity to link this block to.
notesstringOptionalOptional notes.

Response

Returns 200 OK with an empty body on success.