Class SetDiscussion
Adds a new discussion item to an asset.
Defined in: setDiscussion.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SetDiscussion(id, content)
Adds a new discussion item to an asset.
|
Class Detail
SetDiscussion(id, content)
Adds a new discussion item to an asset.
Finds the asset 'id' and adds a new discussion item with 'content.' The user and the date are provided
in the form of an api key and when the call was issued.
'MBurl'/wf/restapi/1/setDiscussion?id=AssetID&content='Discussion content.'
<a target="_blank" href='http://127.0.0.1:55555/wf/restapi/1/setDiscussion?id=12345&content="Uploaded patch for head."'>http://127.0.0.1:55555/wf/restapi/1/setDiscussion?id=12345&content="Uploaded patch for head."</a>
- Parameters:
- id
- the asset to add the discussion to.
- content
- the content of the discussion item to be added.
- Returns:
- ( {'AssetID': "New Field Value",...} )