Field Name | Type | Description |
---|
comments | ArrayOfComment | |
Example Request:
ADDCOMMENT
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"entityId":?,
"entityValue":"?",
"commentValue":"?",
"customerId":"?",
"userId":"?",
"extraValue":"?",
"extraParameter":"?",
"addedBy":"?",
"attachmentsList":"?"
}
Example Response:
{
"id":2147483647,
"comments":[
{
"id":2147483647,
"commentId":?,
"userName":"?",
"entityId":?,
"entityValue":"?",
"commentValue":"?",
"date":?,
"addedBy":"?",
"attachmentsList":"?"
} ]
}
getAllComments GET Interface
Method: GET
Relative URL: comment/get-all/entity-id/entity-name
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Response Structure:
Field Name | Type | Description |
---|
tasks | ArrayOfComment | |
Example Request:
Example Response:
{
"id":2147483647,
"comments":[
{
"id":2147483647,
"commentId":?,
"userName":"?",
"entityId":?,
"entityValue":"?",
"commentValue":"?",
"date":?,
"addedBy":"?",
"attachmentsList":"?"
} ]
}
archiveComment POST Interface
Method: POST
Relative URL: comment/archive
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
commentId | RecordID | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
ARCHIVECOMMENT
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"recordId":"?"
}
Example Response:
{
"id":2147483647,
"response":"?"
}