POST api/v1/VisualReports/Forum/CreateForumComment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ForumComment
NameDescriptionTypeAdditional information
Id

integer

None.

Comment

string

None.

ThreadId

integer

None.

CreatedOn

string

None.

CreatedBy

string

None.

ModifiedOn

string

None.

ModifiedBy

string

None.

IsEnabled

boolean

None.

TenantId

integer

None.

LevelCode

string

None.

CommentedByPhotoUrl

string

None.

IsDeletable

boolean

None.

IsBBIC

boolean

None.

CommentAttachmentUrl

string

None.

ImageData

string

None.

ContentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Comment": "sample string 2",
  "ThreadId": 3,
  "CreatedOn": "sample string 4",
  "CreatedBy": "sample string 5",
  "ModifiedOn": "sample string 6",
  "ModifiedBy": "sample string 7",
  "IsEnabled": true,
  "TenantId": 9,
  "LevelCode": "sample string 10",
  "CommentedByPhotoUrl": "sample string 11",
  "IsDeletable": true,
  "IsBBIC": true,
  "CommentAttachmentUrl": "sample string 14",
  "ImageData": "sample string 15",
  "ContentType": "sample string 16"
}

text/html

Sample:
{"Id":1,"Comment":"sample string 2","ThreadId":3,"CreatedOn":"sample string 4","CreatedBy":"sample string 5","ModifiedOn":"sample string 6","ModifiedBy":"sample string 7","IsEnabled":true,"TenantId":9,"LevelCode":"sample string 10","CommentedByPhotoUrl":"sample string 11","IsDeletable":true,"IsBBIC":true,"CommentAttachmentUrl":"sample string 14","ImageData":"sample string 15","ContentType":"sample string 16"}

text/xml

Sample:
<ForumComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models">
  <Comment>sample string 2</Comment>
  <CommentAttachmentUrl>sample string 14</CommentAttachmentUrl>
  <CommentedByPhotoUrl>sample string 11</CommentedByPhotoUrl>
  <ContentType>sample string 16</ContentType>
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedOn>sample string 4</CreatedOn>
  <Id>1</Id>
  <ImageData>sample string 15</ImageData>
  <IsBBIC>true</IsBBIC>
  <IsDeletable>true</IsDeletable>
  <IsEnabled>true</IsEnabled>
  <LevelCode>sample string 10</LevelCode>
  <ModifiedBy>sample string 7</ModifiedBy>
  <ModifiedOn>sample string 6</ModifiedOn>
  <TenantId>9</TenantId>
  <ThreadId>3</ThreadId>
</ForumComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>