API ReferenceTicket
ticket.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| customerId | string | Yes | — | ID of the associated customer |
| siteId | string | Yes | — | ID of the associated site |
| serviceOrganizationId | unknown | No | — | ID of the associated service organization |
| billToOrganizationId | unknown | No | — | ID of the associated bill to organization |
| relatedSystemId | unknown | No | — | ID of the associated related system |
| relatedAssetId | unknown | No | — | ID of the associated related asset |
| ticketType | enum(service_request, break_fix, installation, inspection, warranty, preventive, other) | Yes | — | Ticket type |
| sourceChannel | enum(portal, phone, email, monitoring, internal, other) | Yes | — | Source channel |
| priority | enum(low, medium, high, critical) | Yes | "medium" | Priority |
| severity | unknown | No | — | Severity |
| status | enum(new, triaged, assigned, in_progress, on_hold, resolved, closed) | Yes | "new" | Status |
| summary | string | Yes | — | Summary |
| symptomDescription | unknown | No | — | Symptom description |
| triageNotes | unknown | No | — | Triage notes |
| assignedQueue | unknown | No | — | Assigned queue |
| assignedUserId | unknown | No | — | ID of the associated assigned user |
| reportedByContactId | unknown | No | — | ID of the associated reported by contact |
| category | unknown | No | — | Category |
| slaDueAt | string.date-time | No | — | Sla due at |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | unknown | No | — | Visibility mode |
| contactMethod | unknown | No | — | Contact method |
| estimatedLaborHours | unknown | No | — | Estimated labor hours |
| relatedTicketId | unknown | No | — | ID of the associated related ticket |
Example
{
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"serviceOrganizationId": null,
"billToOrganizationId": null,
"relatedSystemId": null,
"relatedAssetId": null,
"ticketType": "service_request",
"sourceChannel": "portal",
"priority": "low",
"status": "new",
"summary": "example"
}