Attach to an existing action

Your application can create an attachment to an existing action by using the attachAction task.

The action argument contains the identifier of the action. Set the id field of the actionContext argument to the ID of the action to attach to and the topicId field to the topic ID for the action. For information on the TopicServiceContext and attachmentInput objects, see Common value objects.

attachAction JSON


{
    "serviceContext":{
        TopicServiceContext object
    },
    "actionContext" {
        "id": “number”,
        "topicId": “number”
    },
    "attachment": {
       AttachmentInput object
    }