POST Api/Comment/CreateProjectComments

Request Information

URI Parameters

None.

Body Parameters

Comment
NameDescriptionTypeAdditional information
CommentId

integer

None.

Projectid

integer

None.

ProjectStepId

integer

None.

ProjectStepName

string

None.

Outcome

string

None.

Username

string

None.

QbpUserId

integer

None.

Date

date

None.

ConfigDateFormat

string

None.

ProjectComment

string

None.

ErrorId

integer

None.

UserEmail

string

None.

ProjectName

string

None.

UserId

integer

None.

UserIdValues

Collection of integer

None.

UserOptions

Collection of UserDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "CommentId": 1,
  "Projectid": 2,
  "ProjectStepId": 3,
  "ProjectStepName": "sample string 4",
  "Outcome": "sample string 5",
  "Username": "sample string 6",
  "QbpUserId": 7,
  "Date": "2025-01-08T19:12:04.4264473+00:00",
  "ConfigDateFormat": "sample string 9",
  "ProjectComment": "sample string 10",
  "ErrorId": 11,
  "UserEmail": "sample string 12",
  "ProjectName": "sample string 13",
  "UserId": 14,
  "UserIdValues": [
    1,
    2
  ],
  "UserOptions": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "EMail": "sample string 3",
      "QbUserId": 4,
      "CustomerId": 5,
      "ProjectName": "sample string 6",
      "IsPrimary": true,
      "QCHUserId": "sample string 8",
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "QCHUserGroups": "sample string 9",
      "BusinessUnit": "sample string 10",
      "ProxyUsers": "sample string 11"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "EMail": "sample string 3",
      "QbUserId": 4,
      "CustomerId": 5,
      "ProjectName": "sample string 6",
      "IsPrimary": true,
      "QCHUserId": "sample string 8",
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "QCHUserGroups": "sample string 9",
      "BusinessUnit": "sample string 10",
      "ProxyUsers": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<Comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels">
  <CommentId>1</CommentId>
  <ConfigDateFormat>sample string 9</ConfigDateFormat>
  <Date>2025-01-08T19:12:04.4264473+00:00</Date>
  <ErrorId>11</ErrorId>
  <Outcome>sample string 5</Outcome>
  <ProjectComment>sample string 10</ProjectComment>
  <ProjectName>sample string 13</ProjectName>
  <ProjectStepId>3</ProjectStepId>
  <ProjectStepName>sample string 4</ProjectStepName>
  <Projectid>2</Projectid>
  <QbpUserId>7</QbpUserId>
  <UserEmail>sample string 12</UserEmail>
  <UserId>14</UserId>
  <UserIdValues xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </UserIdValues>
  <UserOptions>
    <UserDetails>
      <BusinessUnit>sample string 10</BusinessUnit>
      <CustomerId>5</CustomerId>
      <EMail>sample string 3</EMail>
      <Id>1</Id>
      <IsPrimary>true</IsPrimary>
      <Name>sample string 2</Name>
      <ProjectName>sample string 6</ProjectName>
      <ProxyUsers>sample string 11</ProxyUsers>
      <QCHUserGroups>sample string 9</QCHUserGroups>
      <QCHUserId>sample string 8</QCHUserId>
      <QbUserId>4</QbUserId>
      <Roles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Roles>
    </UserDetails>
    <UserDetails>
      <BusinessUnit>sample string 10</BusinessUnit>
      <CustomerId>5</CustomerId>
      <EMail>sample string 3</EMail>
      <Id>1</Id>
      <IsPrimary>true</IsPrimary>
      <Name>sample string 2</Name>
      <ProjectName>sample string 6</ProjectName>
      <ProxyUsers>sample string 11</ProxyUsers>
      <QCHUserGroups>sample string 9</QCHUserGroups>
      <QCHUserId>sample string 8</QCHUserId>
      <QbUserId>4</QbUserId>
      <Roles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Roles>
    </UserDetails>
  </UserOptions>
  <Username>sample string 6</Username>
</Comment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.