Works

Update a Work

Planned Jobs are refered in Infraspeak's API as Works.

This endpoint allows you to update a Work (Planned Job).

patch/works/{workId}

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/works/{workId}
  • Auth: HTTP bearer

Path parameters

workIdstring required

The Work ID

Request body

descriptionunknown
type'CYCLIC' | 'PLAN' | 'SPECIAL' required

Type of the Planned Job

_type'works' required
any_responsibleboolean

If true anyone can start the planned job, if false operator_id or technical_skill_id must be filled

auto_closeboolean

Indication if the planned job order can be automatically closed, when all tasks are completed. Used only when type is "CYCLIC" or "PLAN".

auto_pilotboolean

Indication if any user can start this planned job. Used only when type is "CYCLIC" or "PLAN".

calendar_idinteger

ID of the Calendar. Required when type is "CYCLIC" and recurrence.FREQ is "HOURLY".

client_idinteger required

ID of the Client

cost_center_idunknown
gatekeeper_idinteger

ID of the Gatekeeper

gatekeeper_notificationinteger[]

ID of operators to receive the Gatekeeper Notification

is_protectedboolean

Protect Planned Job from Manager edition / deletion

local_idinteger[] required

ID's of the locations associated to the planned job

namestring required

Brief description of the planned job

operator_idinteger[]

ID's of Operators associated to the planned job

supplier_idunknown
technical_skill_idinteger[]

ID's of Technical Skills associated to the planned job

work_type_idinteger required

ID of the WorkType

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.