POST   https://api.d-tools.com/SI/Publish/Projects/ProjectComments

Publish comments to an existing SI project (BETA).

Request Information

URI Parameters

None.

Body Parameters

Collection of AppProjectComment
NameDescriptionTypeAdditional information
ProjectId

ProjectId for project (must be a Guid). (Required)

string

None.

Comment

Comment (Required)

string

None.

CommentedBy

Commented By

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ProjectId": "sample string 1",
    "Comment": "sample string 2",
    "CommentedBy": "sample string 3"
  },
  {
    "ProjectId": "sample string 1",
    "Comment": "sample string 2",
    "CommentedBy": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAppProjectComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects">
  <AppProjectComment>
    <Comment>sample string 2</Comment>
    <CommentedBy>sample string 3</CommentedBy>
    <ProjectId>sample string 1</ProjectId>
  </AppProjectComment>
  <AppProjectComment>
    <Comment>sample string 2</Comment>
    <CommentedBy>sample string 3</CommentedBy>
    <ProjectId>sample string 1</ProjectId>
  </AppProjectComment>
</ArrayOfAppProjectComment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.