POST v1/Tasks/{TaskId}/TaskNotes

Create Task Note

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TaskId

string

None.

Body Parameters

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": "2022-01-20T04:27:13.0928158-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>2022-01-20T04:27:13.0928158-10:00</CreationDate>
  <CreationUserId>1</CreationUserId>
  <TaskId>1</TaskId>
</TaskNoteInboundDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Id (integer) of newly created task note, with Http Status Code 201 when created, 400/500 with error details

IdResponseDTO
NameDescriptionTypeAdditional information
Id

Primary Id

integer

None.

WarningMessages

List of warning messages encountered while servicing request

Collection of string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.