Answer

Update answer parameter values

UpdateAnswer Updates parameter values for the specified answer within the chat. All form parameters must be included in the request; parameters can be identified by parameterId or externalId. Role-based restrictions apply: in Submitted status only the assignee can update, in Querying only the reporter, and Accepted answers cannot be updated. Available for authenticated chat participants with role-based restrictions per answer status.

put/public/v1/helpdesk/chats/{chatId}/answers/{id}

Request

  • Base URL: https://api.platform.softwareone.com
  • URL: https://api.platform.softwareone.com/public/v1/helpdesk/chats/{chatId}/answers/{id}
  • Auth: none declared

Path parameters

chatIdstring required

The unique identifier of the chat

idstring required

The unique identifier of the answer

Request body

idstring
namestring
iconstring nullable
revisioninteger
status'Draft' | 'Submitted' | 'Querying' | 'Accepted'

Defines the lifecycle status of an answer in the helpdesk system

isDeletedboolean

Indicates whether the answer has been soft-deleted

Example request

{
  "chat": {
    "attachments": [
      {
        "file": {
          "filename": "report.pdf",
          "size": 102400,
          "contentType": "application/pdf"
        }
      }
    ]
  },
  "parameters": [
    {
      "id": "PDE-1234-5678-9012",
      "externalId": "customer-name",
      "error": {
        "id": "E000001",
        "message": "Required field is empty"
      },
      "groups": [
        {
          "displayOrder": 1
        }
      ]
    }
  ]
}

Response

OK

idstring
namestring
iconstring nullable
revisioninteger
status'Draft' | 'Submitted' | 'Querying' | 'Accepted'

Defines the lifecycle status of an answer in the helpdesk system

isDeletedboolean

Indicates whether the answer has been soft-deleted

Example response

{
  "chat": {
    "attachments": [
      {
        "file": {
          "filename": "report.pdf",
          "size": 102400,
          "contentType": "application/pdf"
        }
      }
    ]
  },
  "parameters": [
    {
      "id": "PDE-1234-5678-9012",
      "externalId": "customer-name",
      "error": {
        "id": "E000001",
        "message": "Required field is empty"
      },
      "groups": [
        {
          "displayOrder": 1
        }
      ]
    }
  ]
}

Changes

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