GET api/Collaboration/GetCommentSummary

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ObjResultOfCommentSummaryOutcome[]
NameDescriptionTypeAdditional information
Data

Collection of CommentSummaryOutcome

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "mediaItemId": 1,
      "revisionId": 2,
      "fileName": "sample string 3",
      "mediaItemHashCode": 4,
      "lastComment": {
        "id": 1,
        "replyToId": 2,
        "geometryId": 3,
        "text": "sample string 4",
        "user": "sample string 5",
        "userGuid": "9b3628f2-8df5-4c39-87ff-120bb3362598",
        "time": "2021-09-22T12:34:43.5467003+02:00",
        "lastEditTime": "2021-09-22T12:34:43.5467003+02:00"
      },
      "commentReaded": true
    },
    {
      "mediaItemId": 1,
      "revisionId": 2,
      "fileName": "sample string 3",
      "mediaItemHashCode": 4,
      "lastComment": {
        "id": 1,
        "replyToId": 2,
        "geometryId": 3,
        "text": "sample string 4",
        "user": "sample string 5",
        "userGuid": "9b3628f2-8df5-4c39-87ff-120bb3362598",
        "time": "2021-09-22T12:34:43.5467003+02:00",
        "lastEditTime": "2021-09-22T12:34:43.5467003+02:00"
      },
      "commentReaded": true
    }
  ],
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfArrayOfCommentSummaryOutcomeSzI3Q8G_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>3</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 1</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PicaJet.Daminion.BusinessObjects">
    <d2p1:CommentSummaryOutcome>
      <d2p1:_x003C_CommentReaded_x003E_k__BackingField>true</d2p1:_x003C_CommentReaded_x003E_k__BackingField>
      <d2p1:_x003C_FileName_x003E_k__BackingField>sample string 3</d2p1:_x003C_FileName_x003E_k__BackingField>
      <d2p1:_x003C_LastComment_x003E_k__BackingField>
        <d2p1:_x003C_GeometryId_x003E_k__BackingField>3</d2p1:_x003C_GeometryId_x003E_k__BackingField>
        <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
        <d2p1:_x003C_LastEditTime_x003E_k__BackingField>2021-09-22T12:34:43.5467003+02:00</d2p1:_x003C_LastEditTime_x003E_k__BackingField>
        <d2p1:_x003C_ReplyToId_x003E_k__BackingField>2</d2p1:_x003C_ReplyToId_x003E_k__BackingField>
        <d2p1:_x003C_Text_x003E_k__BackingField>sample string 4</d2p1:_x003C_Text_x003E_k__BackingField>
        <d2p1:_x003C_Time_x003E_k__BackingField>2021-09-22T12:34:43.5467003+02:00</d2p1:_x003C_Time_x003E_k__BackingField>
        <d2p1:_x003C_UserGuid_x003E_k__BackingField>9b3628f2-8df5-4c39-87ff-120bb3362598</d2p1:_x003C_UserGuid_x003E_k__BackingField>
        <d2p1:_x003C_User_x003E_k__BackingField>sample string 5</d2p1:_x003C_User_x003E_k__BackingField>
      </d2p1:_x003C_LastComment_x003E_k__BackingField>
      <d2p1:_x003C_MediaItemHashCode_x003E_k__BackingField>4</d2p1:_x003C_MediaItemHashCode_x003E_k__BackingField>
      <d2p1:_x003C_MediaItemId_x003E_k__BackingField>1</d2p1:_x003C_MediaItemId_x003E_k__BackingField>
      <d2p1:_x003C_RevisionId_x003E_k__BackingField>2</d2p1:_x003C_RevisionId_x003E_k__BackingField>
    </d2p1:CommentSummaryOutcome>
    <d2p1:CommentSummaryOutcome>
      <d2p1:_x003C_CommentReaded_x003E_k__BackingField>true</d2p1:_x003C_CommentReaded_x003E_k__BackingField>
      <d2p1:_x003C_FileName_x003E_k__BackingField>sample string 3</d2p1:_x003C_FileName_x003E_k__BackingField>
      <d2p1:_x003C_LastComment_x003E_k__BackingField>
        <d2p1:_x003C_GeometryId_x003E_k__BackingField>3</d2p1:_x003C_GeometryId_x003E_k__BackingField>
        <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
        <d2p1:_x003C_LastEditTime_x003E_k__BackingField>2021-09-22T12:34:43.5467003+02:00</d2p1:_x003C_LastEditTime_x003E_k__BackingField>
        <d2p1:_x003C_ReplyToId_x003E_k__BackingField>2</d2p1:_x003C_ReplyToId_x003E_k__BackingField>
        <d2p1:_x003C_Text_x003E_k__BackingField>sample string 4</d2p1:_x003C_Text_x003E_k__BackingField>
        <d2p1:_x003C_Time_x003E_k__BackingField>2021-09-22T12:34:43.5467003+02:00</d2p1:_x003C_Time_x003E_k__BackingField>
        <d2p1:_x003C_UserGuid_x003E_k__BackingField>9b3628f2-8df5-4c39-87ff-120bb3362598</d2p1:_x003C_UserGuid_x003E_k__BackingField>
        <d2p1:_x003C_User_x003E_k__BackingField>sample string 5</d2p1:_x003C_User_x003E_k__BackingField>
      </d2p1:_x003C_LastComment_x003E_k__BackingField>
      <d2p1:_x003C_MediaItemHashCode_x003E_k__BackingField>4</d2p1:_x003C_MediaItemHashCode_x003E_k__BackingField>
      <d2p1:_x003C_MediaItemId_x003E_k__BackingField>1</d2p1:_x003C_MediaItemId_x003E_k__BackingField>
      <d2p1:_x003C_RevisionId_x003E_k__BackingField>2</d2p1:_x003C_RevisionId_x003E_k__BackingField>
    </d2p1:CommentSummaryOutcome>
  </Data>
</ObjResultOfArrayOfCommentSummaryOutcomeSzI3Q8G_P>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}