Internal services

Update an internal service

Reschedules or closes an internal service (send only the fields to change).

Tool
filmo_internal_services_update
Access: Write

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_internal_services_update",
    "arguments": {
      "internalServiceId": "inte_8f2a1c"
    }
  }
}

generated from the schema

The staff and vehicle lists replace the existing one. Returns the updated internal service.

Arguments

internalServiceIdstringRequired

Internal service identifier.

Limits: min length 1

titlestring

Assignment title.

Limits: min length 1

descriptionstring | null

Description.

serviceIdstring | null

Catalogue service; null unlinks it.

serviceTypestring

Assignment type.

Available options: crew, fleet, general

startDatestring<date-time>

Start in ISO 8601 with offset.

endDatestring<date-time>

End in ISO 8601 with offset.

projectIdstring | null

Project; null unlinks it.

assignedStaffIdsstring[]

Assigned staff. Replaces the whole list.

assignedVehicleIdsstring[]

Assigned vehicles. Replaces the whole list.

qtyinteger

How many units of the service.

Limits: min 1

requirementsobject[]

Required resources. Replaces the whole list.

Show child attributes
requirements.requiredResourceTypestringRequired

What is needed: personnel or vehicle.

Available options: personnel, vehicle

requirements.qtyintegerRequired

How many are needed.

Limits: min 1

statusstring

Assignment status.

Available options: active, completed, cancelled

idempotencyKeystring

Idempotency key chosen by the client (a UUID is recommended). Repeating the same key with the same arguments within 24 h returns the stored response without executing again; with different arguments it responds 422. It is the safe way to retry after a network failure.

Limits: min length 1, max length 255

ifMatchstring

Optimistic locking: the meta.etag you got from the detail read of this resource (or "*"). If the resource changed since, the call fails with 412 precondition_failed before writing anything; read it again and retry. Omit it to write unconditionally.

Limits: min length 1

Result

On success the result carries structuredContent with data and meta. These are the attributes of data.

Show the attributes of data
idstring

Unique assignment identifier.

titlestring

Assignment title.

statusstring

Status: active, completed or cancelled.

startDatestring<date-time>

Start in ISO 8601 UTC.

endDatestring<date-time>

End in ISO 8601 UTC.

projectIdstring | null

Associated project; null if not applicable.

createdAtstring<date-time>

Creation date in ISO 8601 UTC.

updatedAtstring<date-time>

Last modification date in ISO 8601 UTC.

An error is a result with isError: true and the problem in content[0].text; there is no structuredContent. See Errors.

The same operation by REST

This tool runs PATCH /api/v1/internal-services/{internalServiceId}.

  • Internal services

    Update an internal service

    Reschedules or closes an internal service (send only the fields to change).

  • Guides

    Safe writes

    An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.

  • Guides

    Errors

    A tool error is a result with isError: true and the problem in the first text block. Branch on its code.