POST api/Notes
Request Information
URI Parameters
None.
Body Parameters
Note| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CompanyId | integer |
None. |
|
| Active | boolean |
None. |
|
| Title | string |
None. |
|
| Owner | string |
None. |
|
| CreatedDate | date |
None. |
|
| EditedDate | date |
None. |
|
| Content | string |
None. |
|
| Pictures | Collection of Picture |
None. |
|
| ProjectId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "852f9abd-3b3f-4b36-978e-b530bdd828d2",
"CompanyId": 2,
"Active": true,
"Title": "sample string 4",
"Owner": "sample string 5",
"CreatedDate": "2026-03-09T22:34:49.8312375",
"EditedDate": "2026-03-09T22:34:49.8312375",
"Content": "sample string 8",
"Pictures": [
{
"Id": "66ad67a2-d554-444d-8391-7e8e0dabc919",
"Url": "sample string 2",
"Comment": "sample string 3",
"NoteId": "026f6f0f-226a-4ff3-b496-2f2964a59e05",
"Title": "sample string 5"
},
{
"Id": "66ad67a2-d554-444d-8391-7e8e0dabc919",
"Url": "sample string 2",
"Comment": "sample string 3",
"NoteId": "026f6f0f-226a-4ff3-b496-2f2964a59e05",
"Title": "sample string 5"
}
],
"ProjectId": 9
}
application/xml, text/xml
Sample:
<Note xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fagtorget.DTO.Notes">
<Active>true</Active>
<CompanyId>2</CompanyId>
<Content>sample string 8</Content>
<CreatedDate>2026-03-09T22:34:49.8312375+01:00</CreatedDate>
<EditedDate>2026-03-09T22:34:49.8312375+01:00</EditedDate>
<Id>852f9abd-3b3f-4b36-978e-b530bdd828d2</Id>
<Owner>sample string 5</Owner>
<Pictures>
<Picture>
<Comment>sample string 3</Comment>
<Id>66ad67a2-d554-444d-8391-7e8e0dabc919</Id>
<NoteId>026f6f0f-226a-4ff3-b496-2f2964a59e05</NoteId>
<Title>sample string 5</Title>
<Url>sample string 2</Url>
</Picture>
<Picture>
<Comment>sample string 3</Comment>
<Id>66ad67a2-d554-444d-8391-7e8e0dabc919</Id>
<NoteId>026f6f0f-226a-4ff3-b496-2f2964a59e05</NoteId>
<Title>sample string 5</Title>
<Url>sample string 2</Url>
</Picture>
</Pictures>
<ProjectId>9</ProjectId>
<Title>sample string 4</Title>
</Note>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.