POST api/tasks/{id}/comments?Notificationid={Notificationid}

Add comment to task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Task Id

globally unique identifier

Required

Notificationid

string

Default value is

Body Parameters

TaskComment
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UPN

globally unique identifier

None.

PostDate

date

None.

Comment

string

None.

CC

Collection of globally unique identifier

None.

Users

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4ed7039f-9a06-49e7-810b-8cd10ac23bf1",
  "UPN": "4de108c4-e41a-4ebe-a188-748f070f4e1a",
  "PostDate": "2024-12-18T20:02:01.9896328+00:00",
  "Comment": "sample string 4",
  "CC": [
    "6a0a29b6-2317-4059-b176-3789fe4693db",
    "38f2bdfe-d6a9-499b-bb51-6851fe206420"
  ],
  "Users": [
    "06b3610b-3e61-4a8f-b0e2-2f2cad505397",
    "c5215099-2eef-449b-b9ed-01728238738d"
  ]
}

Response Information

Resource Description

TaskComment
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UPN

globally unique identifier

None.

PostDate

date

None.

Comment

string

None.

CC

Collection of globally unique identifier

None.

Users

Collection of globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "6a244389-7fd2-4802-b86f-a81771a85226",
  "UPN": "b787861a-a1b4-4a8e-a7d8-a19af708b5b5",
  "PostDate": "2024-12-18T20:02:01.9896328+00:00",
  "Comment": "sample string 4",
  "CC": [
    "c6778526-ec9c-4738-a83a-fe0720e7005b",
    "6e71227e-e407-4e25-9f40-217586a454a9"
  ],
  "Users": [
    "d5be54d8-9165-4e88-b6c8-e70d493854fc",
    "4120beb8-07bd-4af2-a627-ecf149d248b7"
  ]
}