ticketing/attachments

Create Attachments

Create Attachments in any supported Ticketing software

post/ticketing/attachments

Query parameters

remote_databoolean

Set to true to include data from the original Ticketing software.

Headers

x-connection-tokenstring required

The connection token

Request body

file_namestring nullable required

The file name of the attachment

file_urlstring nullable required

The file url of the attachment

uploaderstring nullable required

The uploader's UUID of the attachment

ticket_idstring nullable

The UUID of the ticket the attachment is tied to

comment_idstring nullable

The UUID of the comment the attachment is tied to

field_mappingsobject nullable

The custom field mappings of the attachment between the remote 3rd party & Panora

Example request

{
  "file_name": "features_planning.pdf",
  "file_url": "https://example.com/features_planning.pdf",
  "uploader": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "ticket_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "comment_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "field_mappings": {
    "fav_dish": "broccoli",
    "fav_color": "red"
  }
}

Response

file_namestring nullable required

The file name of the attachment

file_urlstring nullable required

The file url of the attachment

uploaderstring nullable required

The uploader's UUID of the attachment

ticket_idstring nullable

The UUID of the ticket the attachment is tied to

comment_idstring nullable

The UUID of the comment the attachment is tied to

field_mappingsobject nullable

The custom field mappings of the attachment between the remote 3rd party & Panora

idstring nullable

The UUID of the attachment

remote_idstring nullable

The id of the attachment in the context of the 3rd Party

remote_dataobject nullable

The remote data of the attachment in the context of the 3rd Party

created_atstring date-time nullable

The created date of the object

modified_atstring date-time nullable

The modified date of the object

Example response

{
  "file_name": "features_planning.pdf",
  "file_url": "https://example.com/features_planning.pdf",
  "uploader": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "ticket_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "comment_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "field_mappings": {
    "fav_dish": "broccoli",
    "fav_color": "red"
  },
  "id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "remote_id": "id_1",
  "remote_data": {
    "fav_dish": "broccoli",
    "fav_color": "red"
  },
  "created_at": "2024-10-01T12:00:00Z",
  "modified_at": "2024-10-01T12:00:00Z"
}

Changes

Changed in 5 of the 18 revisions of this API.4220

    • the request property field_mappings became optional

      request-property-became-optional

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ca213ae36b7f177See the full diff
    • the response property comment_id became nullable for the status 201

      response-property-became-nullable

    • the response property created_at became nullable for the status 201

      response-property-became-nullable

    • the response property field_mappings became nullable for the status 201

      response-property-became-nullable

    • the response property file_name became nullable for the status 201

      response-property-became-nullable

    • the response property file_url became nullable for the status 201

      response-property-became-nullable

    • the response property id became nullable for the status 201

      response-property-became-nullable

    • the response property modified_at became nullable for the status 201

      response-property-became-nullable

    • the response property remote_data became nullable for the status 201

      response-property-became-nullable

    • the response property remote_id became nullable for the status 201

      response-property-became-nullable

    • the response property ticket_id became nullable for the status 201

      response-property-became-nullable

    • the response property uploader became nullable for the status 201

      response-property-became-nullable

    • the response property created_at became optional for the status 201

      response-property-became-optional

    • the response property field_mappings became optional for the status 201

      response-property-became-optional

    • the response property modified_at became optional for the status 201

      response-property-became-optional

    • the response property remote_data became optional for the status 201

      response-property-became-optional

    • the created_at response's property type/format changed from object/ to string/date-time for status 201

      response-property-type-changed

    • the modified_at response's property type/format changed from object/ to string/date-time for status 201

      response-property-type-changed

    • the endpoint scheme security bearer was removed from the API

      api-security-removed

    • the request property comment_id became nullable

      request-property-became-nullable

    • the request property field_mappings became nullable

      request-property-became-nullable

    • the request property file_name became nullable

      request-property-became-nullable

    • the request property file_url became nullable

      request-property-became-nullable

    • the request property ticket_id became nullable

      request-property-became-nullable

    • the request property uploader became nullable

      request-property-became-nullable

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the request property comment_id became not nullable

      request-property-became-not-nullable

    • the request property field_mappings became not nullable

      request-property-became-not-nullable

    • the request property file_name became not nullable

      request-property-became-not-nullable

    • the request property file_url became not nullable

      request-property-became-not-nullable

    • the request property ticket_id became not nullable

      request-property-became-not-nullable

    • the request property uploader became not nullable

      request-property-became-not-nullable

    • the created_at response's property type/format changed from string/date-time to object/ for status 201

      response-property-type-changed

    • the modified_at response's property type/format changed from string/date-time to object/ for status 201

      response-property-type-changed

    • the endpoint scheme security bearer was added to the API

      api-security-added

    • the response property created_at became required for the status 201

      response-property-became-required

    • the response property field_mappings became required for the status 201

      response-property-became-required

    • the response property modified_at became required for the status 201

      response-property-became-required

    • the response property remote_data became required for the status 201

      response-property-became-required

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 9d25bd589fe9176See the full diff
    • the response property comment_id became nullable for the status 201

      response-property-became-nullable

    • the response property created_at became nullable for the status 201

      response-property-became-nullable

    • the response property field_mappings became nullable for the status 201

      response-property-became-nullable

    • the response property file_name became nullable for the status 201

      response-property-became-nullable

    • the response property file_url became nullable for the status 201

      response-property-became-nullable

    • the response property id became nullable for the status 201

      response-property-became-nullable

    • the response property modified_at became nullable for the status 201

      response-property-became-nullable

    • the response property remote_data became nullable for the status 201

      response-property-became-nullable

    • the response property remote_id became nullable for the status 201

      response-property-became-nullable

    • the response property ticket_id became nullable for the status 201

      response-property-became-nullable

    • the response property uploader became nullable for the status 201

      response-property-became-nullable

    • the response property created_at became optional for the status 201

      response-property-became-optional

    • the response property field_mappings became optional for the status 201

      response-property-became-optional

    • the response property modified_at became optional for the status 201

      response-property-became-optional

    • the response property remote_data became optional for the status 201

      response-property-became-optional

    • the created_at response's property type/format changed from object/ to string/date-time for status 201

      response-property-type-changed

    • the modified_at response's property type/format changed from object/ to string/date-time for status 201

      response-property-type-changed

    • the request property comment_id became nullable

      request-property-became-nullable

    • the request property field_mappings became nullable

      request-property-became-nullable

    • the request property file_name became nullable

      request-property-became-nullable

    • the request property file_url became nullable

      request-property-became-nullable

    • the request property ticket_id became nullable

      request-property-became-nullable

    • the request property uploader became nullable

      request-property-became-nullable

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security bearer was removed from the API

      api-security-removed