POST api/Collaboration/EditComment

Request Information

URI Parameters

None.

Body Parameters

EditCommentParams
NameDescriptionTypeAdditional information
CommentId

integer

None.

Text

string

None.

SubscriberGuids

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "commentId": 1,
  "text": "sample string 2",
  "subscriberGuids": [
    "83cf1488-190f-4aa6-a139-3c23c71eb43e",
    "e5e6b17a-4dc6-4ab5-ac71-2740679340b0"
  ]
}

application/xml, text/xml

Sample:
<EditCommentParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PicaJet.Daminion.BusinessObjects">
  <_x003C_CommentId_x003E_k__BackingField>1</_x003C_CommentId_x003E_k__BackingField>
  <_x003C_SubscriberGuids_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>83cf1488-190f-4aa6-a139-3c23c71eb43e</d2p1:guid>
    <d2p1:guid>e5e6b17a-4dc6-4ab5-ac71-2740679340b0</d2p1:guid>
  </_x003C_SubscriberGuids_x003E_k__BackingField>
  <_x003C_Text_x003E_k__BackingField>sample string 2</_x003C_Text_x003E_k__BackingField>
</EditCommentParams>

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 'EditCommentParams'.

Response Information

Resource Description

ObjResultOfDateTime
NameDescriptionTypeAdditional information
Data

date

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": "2021-09-25T00:10:57.051673+02:00",
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<ObjResultOfdateTime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data>2021-09-25T00:10:57.051673+02:00</Data>
</ObjResultOfdateTime>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

parameters

Property Description
CommentId (Int64)

				
Text (String)

				
SubscriberGuids (Guid[])

				
}