Skip to content

Update ticket request schema (unstable) #247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 16 additions & 21 deletions descriptions/0/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11917,9 +11917,8 @@ paths:
ticket_attributes:
_default_title_: example
_default_description_: there is a problem
assignment:
admin_id: '991268011'
assignee_id: '991268013'
admin_id: 991268011
assignee_id: 991268013
open: true
snoozed_until: 1673609604
ticket_state_id: 8498
Expand All @@ -11929,19 +11928,17 @@ paths:
ticket_attributes:
_default_title_: example
_default_description_: there is a problem
assignment:
admin_id: '123'
assignee_id: '991268021'
admin_id: 991268011
assignee_id: 991268013
ticket_state_id: 8506
assignee_not_found:
summary: Assignee not found
value:
ticket_attributes:
_default_title_: example
_default_description_: there is a problem
assignment:
admin_id: '991268027'
assignee_id: '456'
admin_id: 991268011
assignee_id: 991268013
ticket_state_id: 8514
ticket_state_id_is_not_valid_or_is_not_associated_with_the_ticket_type:
summary: Ticket state id is not valid or is not associated with the
Expand Down Expand Up @@ -19808,18 +19805,16 @@ components:
format: timestamp
description: The time you want the ticket to reopen.
example: 1673609604
assignment:
type: object
properties:
admin_id:
type: string
description: The ID of the admin performing the action.
example: '123'
assignee_id:
type: string
description: The ID of the admin or team to which the ticket is assigned.
Set this 0 to unassign it.
example: '123'
admin_id:
type: integer
description: The ID of the admin performing ticket update. Needed for workflows
execution and attributing actions to specific admins.
example: 123
assignee_id:
type: string
description: The ID of the admin or team to which the ticket is assigned.
Set this 0 to unassign it.
example: '123'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant to be string?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't updated how assignee_id works in the endpoint. Just changing its position in the payload.

IMO it should be integer but i wont change this now.

update_ticket_type_attribute_request:
description: You can update a Ticket Type Attribute
type: object
Expand Down