POST api/Note/Add

Add a note to a existed task.

Request Information

URI Parameters

None.

Body Parameters

NoteModel
NameDescriptionTypeAdditional information
ProjectID

integer

None.

BugID

integer

None.

NoteID

integer

None.

ProblemID

string

None.

NoteType

string

None.

DateCreated

date

None.

CreatedByPersonID

integer

None.

AttachedFileName

string

None.

EMailStatusID

integer

None.

IsPublished

boolean

None.

NoteTitle

string

None.

AttachType

integer

None.

CategoryID

integer

None.

AttachFileID

integer

None.

AttachedProjectID

integer

None.

AvailableToWeb

integer

None.

NoteTypeID

integer

None.

AttachedVersionNo

integer

None.

IfClosed

integer

None.

DateModified

date

None.

ModifiedByPersonID

integer

None.

BugNotesUcd

string

None.

BugNotes

string

None.

ParentID

integer

None.

ReplyUserID

integer

None.

ReferredByKWLink

integer

None.

CreatedByPersonName

string

None.

ModifiedByPersonName

string

None.

ReplyUserName

string

None.

BugNoteHtml

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectID": 1,
  "BugID": 2,
  "NoteID": 3,
  "ProblemID": "sample string 4",
  "NoteType": "sample string 5",
  "DateCreated": "2020-12-04 09:00:07",
  "CreatedByPersonID": 1,
  "AttachedFileName": "sample string 6",
  "EMailStatusID": 1,
  "IsPublished": true,
  "NoteTitle": "sample string 8",
  "AttachType": 1,
  "CategoryID": 1,
  "AttachFileID": 1,
  "AttachedProjectID": 1,
  "AvailableToWeb": 1,
  "NoteTypeID": 1,
  "AttachedVersionNo": 1,
  "IfClosed": 1,
  "DateModified": "2020-12-04 09:00:07",
  "ModifiedByPersonID": 1,
  "BugNotesUcd": "sample string 9",
  "BugNotes": "sample string 10",
  "ParentID": 1,
  "ReplyUserID": 1,
  "ReferredByKWLink": 1,
  "CreatedByPersonName": "sample string 11",
  "ModifiedByPersonName": "sample string 12",
  "ReplyUserName": "sample string 13",
  "BugNoteHtml": "sample string 14"
}

application/xml, text/xml

Sample:
<NoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
  <AttachFileID>1</AttachFileID>
  <AttachType>1</AttachType>
  <AttachedFileName>sample string 6</AttachedFileName>
  <AttachedProjectID>1</AttachedProjectID>
  <AttachedVersionNo>1</AttachedVersionNo>
  <AvailableToWeb>1</AvailableToWeb>
  <BugID>2</BugID>
  <BugNoteHtml>sample string 14</BugNoteHtml>
  <BugNotes>sample string 10</BugNotes>
  <BugNotesUcd>sample string 9</BugNotesUcd>
  <CategoryID>1</CategoryID>
  <CreatedByPersonID>1</CreatedByPersonID>
  <CreatedByPersonName>sample string 11</CreatedByPersonName>
  <DateCreated>2020-12-04T09:00:07.5655983-08:00</DateCreated>
  <DateModified>2020-12-04T09:00:07.5655983-08:00</DateModified>
  <EMailStatusID>1</EMailStatusID>
  <IfClosed>1</IfClosed>
  <IsPublished>true</IsPublished>
  <ModifiedByPersonID>1</ModifiedByPersonID>
  <ModifiedByPersonName>sample string 12</ModifiedByPersonName>
  <NoteID>3</NoteID>
  <NoteTitle>sample string 8</NoteTitle>
  <NoteType>sample string 5</NoteType>
  <NoteTypeID>1</NoteTypeID>
  <ParentID>1</ParentID>
  <ProblemID>sample string 4</ProblemID>
  <ProjectID>1</ProjectID>
  <ReferredByKWLink>1</ReferredByKWLink>
  <ReplyUserID>1</ReplyUserID>
  <ReplyUserName>sample string 13</ReplyUserName>
</NoteModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Add a note to a existed task.

API_Data_Int32
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": 2
}

application/xml, text/xml

Sample:
<API_Data_int xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data>2</Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_int>