Maintenance

Create repair ticket

Creates a draft repair ticket, with one or more lines. It does not send it to the customer. Without a date, it takes today's.

Action
purchases.repairTickets.create
PropertyValue
Domainpurchases
Group in the editorMaintenance › Repair tickets
Runs asThe owner of the workflow, with their permissions
PermissionEdit access to Purchases. Administrators always pass; a module outside the plan blocks everyone.
Add-onMaintenance
DestructiveNo: the public MCP catalogue does not mark it as destructive
Also available inREST API, MCP (filmo_repair_tickets_create)

Inputs

linesobject[]Required

**Ticket lines.** Repair lines — at least one required.

Show child attributes
lines.descriptionstringRequired

Description

lines.diagnosisstring

Limits: advanced

lines.entityTypeenum<string>

What is being repaired

Available options: item, space, kit, custom

lines.entityIdstring

Item to repair

lines.incidentIdstring

Source incident

Limits: advanced

lines.estimatedCostnumber

Estimated internal cost

Limits: advanced

lines.quantitynumber

Units

lines.unitPricenumber

Price to the customer (per unit)

contactIdstring

Customer

orderIdstring

Source order

datestring

Ticket date

notesstring

Outputs

repairTicketIdstring

numberstring

statusstring

urlstring