Examples
Adding a comment by wrapping a field update in a comment model
var update = {
AttributeAction: 0, //Add
AttributeType: 1, //Comment
AttributeData: {
Fields: [{
AttributeAction: 0, //Add
AttributeType: 0, //Field
AttributeData: {
FieldName: "Comment",
FieldValue: "This is an example comment"
}
}]
}
}
Properties
| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentId |
Gets or sets the server comment id. Property will be ignored for incoming messages. |
integer |
None. |
| ClientId |
Gets or sets client id. This attribute will follow the specific comment on the specific update, useful for tracking each comment when adding multiple on the same update |
string |
None. |
| Fields |
Gets a list fields defined for a comment. You can expect the following fields being available
|
Collection of AttributeUpdateModel |
None. |