GetComments()
The GetComments() command returns a list of comments associated with an asset.
To get a list of assets associated to a project, see GetProjectAssetsList().
|
Parameter | Type | Max Length | Required | Description |
---|---|---|---|---|
apiToken | string | 20 | Y | Your API security token configured in Field View. |
assetId | integer | Y | The ID of the asset. |
Field | Type | Description |
---|---|---|
GetCommentsResponse | GetCommentsResponse | Returns comments attached to an asset. Dates are in UTC. |
<GetCommentsResponse>
<GetCommentsResult>
<CommentResponse>
<Comments>
<CommentInformation>
<Comment>Comments …</Comment>
<CreatedByUser>TEST_USER</CreatedByUser>
<CreatedByOrganisation>Viewpoint</CreatedByOrganisation>
<Date>2017-01-16T16:24:42.757</Date>
<LastModified>2017-01-16T16:24:42.757</LastModified>
</CommentInformation>
<CommentInformation>
<Comment>STATUS CHANGE: sadfsdfgfsg</Comment>
<CreatedByUser>MCS_UK DEMO_RS</CreatedByUser>
<CreatedByOrganisation>MC North</CreatedByOrganisation>
<Date>2017-08-01T11:45:30.9</Date>
<LastModified>2017-08-01T11:45:30.94</LastModified>
</CommentInformation>
</Comments>
<Status>
<Code>SUCCESS</Code>
<Message>Success.</Message>
</Status>
</CommentResponse>
</GetCommentsResult>
</GetCommentsResponse>