POST v1/goals/{goalid}/notes
Creates a new note for the specified goal
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| goalID |
Goal's ID |
string |
Required. |
Body Parameters
Information about the new note
NewGoalNoteModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| Text |
The text of the note. It describes what has been done, changed, or not done. |
string |
Required. |
Request Formats
application/json, text/json, text/html
Sample:
{
"Text": "sample string 1"
}
application/xml, text/xml
Sample:
<NewGoalNoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAPTA.Domain.ViewModel.v1"> <Text>sample string 1</Text> </NewGoalNoteModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
{
"ID": 1,
"Text": "sample string 2",
"DateCreated": "2025-12-15T20:59:21.6116577+00:00",
"Author": {
"ID": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
},
"Goal": {
"ID": "sample string 1",
"Name": "sample string 2"
}
}
application/xml, text/xml
Sample:
<GoalNoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAPTA.Domain.ViewModel.v1">
<Author>
<Email>sample string 4</Email>
<FirstName>sample string 2</FirstName>
<ID>sample string 1</ID>
<LastName>sample string 3</LastName>
</Author>
<DateCreated>2025-12-15T20:59:21.6116577+00:00</DateCreated>
<Goal>
<ID>sample string 1</ID>
<Name>sample string 2</Name>
</Goal>
<ID>1</ID>
<Text>sample string 2</Text>
</GoalNoteModel>