Support Templates
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/support-templates/ |
List Support Templates |
| GET | /api/support-templates/{uuid}/ |
Retrieve |
| POST | /api/support-templates/ |
Create |
| POST | /api/support-templates/{uuid}/create_attachments/ |
This view attaches documents to template |
| PUT | /api/support-templates/{uuid}/ |
Update |
| PATCH | /api/support-templates/{uuid}/ |
Partial Update |
| DELETE | /api/support-templates/{uuid}/ |
Delete |
| Other Actions | ||
| POST | /api/support-templates/{uuid}/delete_attachments/ |
Delete attachments |
Core CRUD
List Support Templates
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
support_templates_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
issue_type |
string |
attachments |
array of objects |
attachments.uuid |
string (uuid) |
attachments.name |
string |
attachments.file |
string (uri) |
attachments.mime_type |
string |
attachments.file_size |
integer |
attachments.created |
string (date-time) |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
support_templates_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
issue_type |
string |
attachments |
array of objects |
attachments.uuid |
string (uuid) |
attachments.name |
string |
attachments.file |
string (uri) |
attachments.mime_type |
string |
attachments.file_size |
integer |
attachments.created |
string (date-time) |
Create
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
TemplateRequest - API Source:
support_templates_create
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
| Field | Type | Required |
|---|---|---|
name |
string | ✓ |
description |
string | ✓ |
issue_type |
string |
201 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
issue_type |
string |
attachments |
array of objects |
attachments.uuid |
string (uuid) |
attachments.name |
string |
attachments.file |
string (uri) |
attachments.mime_type |
string |
attachments.file_size |
integer |
attachments.created |
string (date-time) |
This view attaches documents to template
This view attaches documents to template.
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
CreateAttachmentsRequest - API Source:
support_templates_create_attachments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
attachments |
array of string (binary)s | ✓ |
201 - No response body
400 - No response body
Update
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
- Model Source:
TemplateRequest - API Source:
support_templates_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
name |
string | ✓ |
description |
string | ✓ |
issue_type |
string |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
issue_type |
string |
attachments |
array of objects |
attachments.uuid |
string (uuid) |
attachments.name |
string |
attachments.file |
string (uri) |
attachments.mime_type |
string |
attachments.file_size |
integer |
attachments.created |
string (date-time) |
Partial Update
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedTemplateRequest - API Source:
support_templates_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
name |
string | |
description |
string | |
issue_type |
string |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
issue_type |
string |
attachments |
array of objects |
attachments.uuid |
string (uuid) |
attachments.name |
string |
attachments.file |
string (uri) |
attachments.mime_type |
string |
attachments.file_size |
integer |
attachments.created |
string (date-time) |
Delete
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
support_templates_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Other Actions
Delete attachments
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
DeleteAttachmentsRequest - API Source:
support_templates_delete_attachments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
attachment_ids |
array of string (uuid)s | ✓ |
200 - No response body