Tickets / Merge
Merge ticket(s).
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/tickets/merge
Method: POST
Authorisation: Minimum role: USER
Request Arguments
Request body example
Response object
Response status: 200 (OK)
Response type:
DTO_ticket_complete
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
Name | Type | ReadOnly | Description |
merge_to_ticket_id | Int32 | | Merge to ticket id |
merge_from_ticket_ids | Int32[] | | Merge from ticket ids |
DTO_reference_color
Name | Type | ReadOnly | Description |
bg_color | String | ReadOnly | Bg color |
text_color | String | ReadOnly | Text color |
id | Int32 | | Id |
label | Object | ReadOnly | Label |
DTO_reference_user
Name | Type | ReadOnly | Description |
profile_pic | String | ReadOnly | Profile pic |
email | String | ReadOnly | Email |
id | Int32 | | Id |
label | Object | ReadOnly | Label |
Name | Type | ReadOnly | Description |
user_id | Int32 | | User id |
email | String | | Email |
name | String | | Name |
profile_pic | String | | Profile pic |
DTO_reference_attachment
Name | Type | ReadOnly | Description |
size_kb | Int32 | ReadOnly | Size kb |
status | ENUM attachment_status | ReadOnly | Status |
status_message | String | ReadOnly | Status message |
download_url | String | ReadOnly | Download url |
id | Int32 | | Id |
label | Object | ReadOnly | Label |
DTO_rich_text
Name | Type | ReadOnly | Description |
plain_preview | String | ReadOnly | Plain preview |
html | String | | Html |
editorjs | DTO_editorjs | | Editorjs |
read_minutes | Int32 | | Read minutes |
DTO_editorjs
Name | Type | ReadOnly | Description |
time | Int64 | | Time |
version | String | | Version |
blocks | DTO_editorjs_block[] | | Blocks |
DTO_editorjs_block
Name | Type | ReadOnly | Description |
id | String | | Id |
type | String | | Type |
data | Object | | Data |
DTO_auto_save
Name | Type | ReadOnly | Description |
entity | ENUM entity | | Entity |
optional_id | Int32 (nullable) | | Optional id |
data | JObject | | Data |
DTO_search_response
Name | Type | ReadOnly | Description |
sys_status | DTO_reference | | Sys status |
category | DTO_reference | | Category |
group | DTO_reference | | Group |
id | Int32 | | Id |
title | String | | Title |
highlight | String | | Highlight |
additional_info | String | | Additional info |
entity | ENUM entity | ReadOnly | Entity |
score | Double | ReadOnly | Score |
score_weighted | Double | ReadOnly | Score weighted |
external_link | String | ReadOnly | External link |
created | DateTime | | Created |
body | String | | Store the full text of the entity in plain text. |
DTO_reference
Name | Type | ReadOnly | Description |
id | Int32 | | The id of the reference |
label | Object | ReadOnly | Name/Label from referenced object. |
DTO_ticket_more_from_requester
Name | Type | ReadOnly | Description |
tickets | Object | | Tickets |
additional_count | Int32 | | Additional count |
ENUM ticket_conversation_type
Value | Name | Description |
0 | UNKNOWN | UNKNOWN |
1 | REPLY_INBOUND | REPLY_INBOUND |
2 | NOTE_PRIVATE | NOTE_PRIVATE |
3 | NOTE_PUBLIC | NOTE_PUBLIC |
4 | FORWARD | FORWARD |
5 | REPLY_OUTBOUND | REPLY_OUTBOUND |
6 | SUGGESTED_REPLY | SUGGESTED_REPLY |
ENUM attachment_status
Value | Name | Description |
0 | UNKNOWN | UNKNOWN |
1 | UNAVAILABLE | UNAVAILABLE, processing in progress |
2 | OK | OK |
3 | WARNING | WARNING |
4 | ERROR | ERROR |
ENUM email_address_direction
Value | Name | Description |
0 | UNKNOWN | UNKNOWN |
1 | FROM | FROM |
2 | TO | TO |
3 | CC | CC |
4 | BCC | BCC |
5 | FORWARDED_TO | FORWARDED_TO |
6 | RESENT_FROM | RESENT_FROM |
7 | REPLY_TO | REPLY_TO |
ENUM entity
Value | Name | Description |
0 | UNKNOWN | UNKNOWN |
1 | LIST | LIST |
2 | GROUP | GROUP |
3 | USER | USER |
4 | LIST_ENTRY | LIST_ENTRY |
5 | TICKET | TICKET |
6 | SEARCH | SEARCH |
7 | INVOICE | INVOICE |
8 | KNOWLEDGE_BASE | KNOWLEDGE_BASE |
9 | SCRAPED_ITEM | SCRAPED_ITEM |
10 | FIELD | FIELD |
11 | TICKET_CONVERSATION | TICKET_CONVERSATION |
12 | EXPORT | EXPORT |
13 | EXTERNAL_PRODUCT | EXTERNAL_PRODUCT |
14 | TEMPLATE | TEMPLATE |