GET api/Collaboration/FetchCommentThread?geometryId={geometryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
geometryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ObjResultOfComment[]
NameDescriptionTypeAdditional information
Data

Collection of Comment

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": [
    {
      "id": 1,
      "replyToId": 2,
      "geometryId": 3,
      "text": "sample string 4",
      "user": "sample string 5",
      "userGuid": "be166583-37d0-4398-9a5a-463b121eb970",
      "time": "2021-09-22T12:34:42.4903769+02:00",
      "lastEditTime": "2021-09-22T12:34:42.4903769+02:00"
    },
    {
      "id": 1,
      "replyToId": 2,
      "geometryId": 3,
      "text": "sample string 4",
      "user": "sample string 5",
      "userGuid": "be166583-37d0-4398-9a5a-463b121eb970",
      "time": "2021-09-22T12:34:42.4903769+02:00",
      "lastEditTime": "2021-09-22T12:34:42.4903769+02:00"
    }
  ],
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfArrayOfCommentSzI3Q8G_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:Comment>
      <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:42.4903769+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:42.4903769+02:00</d2p1:_x003C_Time_x003E_k__BackingField>
      <d2p1:_x003C_UserGuid_x003E_k__BackingField>be166583-37d0-4398-9a5a-463b121eb970</d2p1:_x003C_UserGuid_x003E_k__BackingField>
      <d2p1:_x003C_User_x003E_k__BackingField>sample string 5</d2p1:_x003C_User_x003E_k__BackingField>
    </d2p1:Comment>
    <d2p1:Comment>
      <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:42.4903769+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:42.4903769+02:00</d2p1:_x003C_Time_x003E_k__BackingField>
      <d2p1:_x003C_UserGuid_x003E_k__BackingField>be166583-37d0-4398-9a5a-463b121eb970</d2p1:_x003C_UserGuid_x003E_k__BackingField>
      <d2p1:_x003C_User_x003E_k__BackingField>sample string 5</d2p1:_x003C_User_x003E_k__BackingField>
    </d2p1:Comment>
  </Data>
</ObjResultOfArrayOfCommentSzI3Q8G_P>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}