FeedbackAttachment

Update a feedback attachment

The feddback ID and feedback attachment id are provided in the route.

put/public/v1/helpdesk/feedback/{feedbackId}/attachments/{attachmentId}

Request

  • Base URL: https://api.platform.softwareone.com
  • URL: https://api.platform.softwareone.com/public/v1/helpdesk/feedback/{feedbackId}/attachments/{attachmentId}
  • Auth: none declared

Path parameters

feedbackIdstring required

The feedback ID.

attachmentIdstring required

The feedback attachment ID.

Request body

idstring
iconstring nullable
revisioninteger
status'Active' | 'Deleted'
namestring

Represents the name this attachment.

descriptionstring nullable

Represents the description this attachment.

Example request

{
  "feedback": {
    "attachments": [
      {
        "file": {
          "filename": "report.pdf",
          "size": 102400,
          "contentType": "application/pdf"
        }
      }
    ]
  },
  "file": {
    "filename": "report.pdf",
    "size": 102400,
    "contentType": "application/pdf"
  }
}

Response

OK

idstring
iconstring nullable
revisioninteger
status'Active' | 'Deleted'
namestring

Represents the name this attachment.

descriptionstring nullable

Represents the description this attachment.

Example response

{
  "feedback": {
    "attachments": [
      {
        "file": {
          "filename": "report.pdf",
          "size": 102400,
          "contentType": "application/pdf"
        }
      }
    ]
  },
  "file": {
    "filename": "report.pdf",
    "size": 102400,
    "contentType": "application/pdf"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.