Skip to content

Commit 5d7f5b3

Browse files
authored
update ticket request schema (#247)
1 parent f120734 commit 5d7f5b3

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11917,9 +11917,8 @@ paths:
1191711917
ticket_attributes:
1191811918
_default_title_: example
1191911919
_default_description_: there is a problem
11920-
assignment:
11921-
admin_id: '991268011'
11922-
assignee_id: '991268013'
11920+
admin_id: 991268011
11921+
assignee_id: 991268013
1192311922
open: true
1192411923
snoozed_until: 1673609604
1192511924
ticket_state_id: 8498
@@ -11929,19 +11928,17 @@ paths:
1192911928
ticket_attributes:
1193011929
_default_title_: example
1193111930
_default_description_: there is a problem
11932-
assignment:
11933-
admin_id: '123'
11934-
assignee_id: '991268021'
11931+
admin_id: 991268011
11932+
assignee_id: 991268013
1193511933
ticket_state_id: 8506
1193611934
assignee_not_found:
1193711935
summary: Assignee not found
1193811936
value:
1193911937
ticket_attributes:
1194011938
_default_title_: example
1194111939
_default_description_: there is a problem
11942-
assignment:
11943-
admin_id: '991268027'
11944-
assignee_id: '456'
11940+
admin_id: 991268011
11941+
assignee_id: 991268013
1194511942
ticket_state_id: 8514
1194611943
ticket_state_id_is_not_valid_or_is_not_associated_with_the_ticket_type:
1194711944
summary: Ticket state id is not valid or is not associated with the
@@ -19808,18 +19805,16 @@ components:
1980819805
format: timestamp
1980919806
description: The time you want the ticket to reopen.
1981019807
example: 1673609604
19811-
assignment:
19812-
type: object
19813-
properties:
19814-
admin_id:
19815-
type: string
19816-
description: The ID of the admin performing the action.
19817-
example: '123'
19818-
assignee_id:
19819-
type: string
19820-
description: The ID of the admin or team to which the ticket is assigned.
19821-
Set this 0 to unassign it.
19822-
example: '123'
19808+
admin_id:
19809+
type: integer
19810+
description: The ID of the admin performing ticket update. Needed for workflows
19811+
execution and attributing actions to specific admins.
19812+
example: 123
19813+
assignee_id:
19814+
type: string
19815+
description: The ID of the admin or team to which the ticket is assigned.
19816+
Set this 0 to unassign it.
19817+
example: '123'
1982319818
update_ticket_type_attribute_request:
1982419819
description: You can update a Ticket Type Attribute
1982519820
type: object

0 commit comments

Comments
 (0)