PUT v1/Tasks/{TaskId}/TaskNotes?id={id}

Update Task Note

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

TaskId

string

None.

Body Parameters

Updated task note info

TaskNoteInboundDTO
NameDescriptionTypeAdditional information
Id

Task Id

integer

None.

TaskId

Task Id

integer

None.

Comment

Comment

string

None.

CreationDate

Creation Date

date

None.

CreationUserId

Creation User Id

integer

None.

CorrectedTaskNoteId

Corrected Task Note Id

integer

None.

Expand

Comma separated list of expansions to include in results

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TaskId": 1,
  "Comment": "sample string 2",
  "CreationDate": "2024-04-19T00:38:54.1500763-10:00",
  "CreationUserId": 1,
  "CorrectedTaskNoteId": 1,
  "Expand": ""
}

application/xml, text/xml

Sample:
<TaskNoteInboundDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Inbound">
  <Expand></Expand>
  <Expansions xmlns:d2p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" />
  <Id>1</Id>
  <Comment>sample string 2</Comment>
  <CorrectedTaskNoteId>1</CorrectedTaskNoteId>
  <CreationDate>2024-04-19T00:38:54.1500763-10:00</CreationDate>
  <CreationUserId>1</CreationUserId>
  <TaskId>1</TaskId>
</TaskNoteInboundDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Http Status Code 200 when success, 404 if not found or 500 with error details

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.