GET api/ProjectNotes/GetProjectNotesDefaultProjects?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

ProjectNotesDefaultDataVm
NameDescriptionTypeAdditional information
ProjectId

integer

None.

Projects

Collection of Project

None.

IsAdmin

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "Projects": [
    {
      "Id": 1,
      "Value": "sample string 2",
      "IsActive": true,
      "AccountTypeId": 4,
      "ProjectNo": "sample string 5",
      "IsTimeLogEnable": true
    },
    {
      "Id": 1,
      "Value": "sample string 2",
      "IsActive": true,
      "AccountTypeId": 4,
      "ProjectNo": "sample string 5",
      "IsTimeLogEnable": true
    }
  ],
  "IsAdmin": true
}

application/xml, text/xml

Sample:
<ProjectNotesDefaultDataVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nokon.Nappen.Core.ViewModels">
  <IsAdmin>true</IsAdmin>
  <ProjectId>1</ProjectId>
  <Projects xmlns:d2p1="http://schemas.datacontract.org/2004/07/Nokon.Nappen.Data.Entities">
    <d2p1:Project>
      <d2p1:AccountTypeId>4</d2p1:AccountTypeId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsTimeLogEnable>true</d2p1:IsTimeLogEnable>
      <d2p1:ProjectNo>sample string 5</d2p1:ProjectNo>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:Project>
    <d2p1:Project>
      <d2p1:AccountTypeId>4</d2p1:AccountTypeId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsTimeLogEnable>true</d2p1:IsTimeLogEnable>
      <d2p1:ProjectNo>sample string 5</d2p1:ProjectNo>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:Project>
  </Projects>
</ProjectNotesDefaultDataVm>