Get All Project

You can fetch all projects from here

/api/Project

Query String

ParameterRequiredValue
orderByMandatory0 (Asc) or
1 (Desc)
startMandatoryblank
*userLicenseTypeOptionalEnum
*isFavoriteOptionalEnum
*responseStatusOptionalEnum
accountIdOptionalUser Input
isCabinetOptionalEnum
isArchivedOptionalEnum
isHostCollabOptionalEnum
includeArchiveOptionalEnum

Request Header

ParameterRequiredValue
TokenKeyMandatoryUser Input
Accept-LanguageOptionalen-US
Accept-EncodingOptionalgzip
Content-TypeMandatoryapplication/json

Response

[
  {
    "PINProjectID": 12152,
    "ProjectNumber": "PN/12/05/002",
    "ProjectName": "Siddha Town",
    "ProjectStartDate": "2012-05-28T12:18:00",
    "ProjectOwner": {
      "PWUserID": 12249,
      "PWAccountID": 12207,
      "PWContactID": 121455,
      "FirstName": "Ayan",
      "MiddleName": "",
      "LastName": "Ghosh",
      "Email": "[email protected]",
      "UserName": "Ayan Ghosh"
    },
    "ResponseStatus": 2,
    "UserLicenseType": 2,
    "IsFavorite": 0,
    "EnableNotifyOnDownload": true,
    "IsArchived": false,
    "IsCabinet": false 
  }
]
Content–Range   
Previous–Page
Next–Page
Max–Page
Accept–Ranges	Page
UserLicenseType-Contact	0
UserLicenseType-Free%20user	1
UserLicenseType-Hosting%20user	2
UserLicenseType-Collaborative%20user	3
UserLicenseType-Lite%20user	4
200

Enum : UserLicenseType

Property NameDescription
0 – ContactContact
1 – FreeUserFree User
2 – HostingUserEmployee
3 – CollaborativeUserShared User
4 – LiteUserLite User

Enum : IsFavorite

Property NameDescription
0 – NormalNormal Projects
1 – FavoriteFavorite Projects

Enum : ResponseStatus

Property NameDescription
1 – NotAtRespondedNot responded
2 – AcceptedAccepted
3 – DeniedDenied
4 – OptoutforfurterNotificationOptout for further notification

Enum : IsCabinet

Property NameDescription
0 – NormalNormal Projects
1 – WorkspaceWorkspace Projects

Enum : IsArchived

Property NameDescription
0 – NormalNormal Projects
1 – ArchivedArchived Projects

Enum : IsHostCollab

Property NameDescription
0 – NoAll Projects
1 – YesOnly Host And Collaborative Projects

Enum : IncludeArchive

Property NameDescription
0 – NoOnly Active Projects
1 – YesActive And Archived Projects

Enum : OrderBy

Property NameDescription
0 – ProjectNameProject Name Ascending
1 – ProjectNameDescProject Name Descending
2 – ProjectNumberProject Number Ascending
3 – ProjectNumberDescProject Nmuber Descending

User Entity

Property NameDescription
PWUserIDInteger
PWAccountIDInteger
PWContactIDInteger
FirstNameString
MiddleNameString
LastNameString
EmailString
UserNameString

Project Entity

Property NameDescription
PINProjectIDInteger
ProjectNumberString
ProjectNameString
ProjectStartDateDateTime
ProjectOwnerUser
ResponseStatusInteger
UserLicenseTypeInteger
IsFavoriteInteger [Nullable]
EnableNotifyOnDownloadBoolean
IsArchivedBoolean
IsCabinetBoolean
DocumentCountInteger [Nullable]

Remarks

  1. For getting all records at a time do not add Page in request header.

  2. Use PerPage parameter to change maximum number of records per page during population of paginated data; by default, each page contains at most 10 records at a time.

  3. Use header parameter PageForId only for getting the data of that particular page in which that Project is belonging (with the same filtration logic).

  4. If request header contains PageForId then it will get the first preference for populating project list.

  5. Response header parameter Accept–Ranges will not come with paginated data and other response header parameters will not come for all records population.

  6. Response header parameters UserLicenseType-Contact, UserLicenseType-Free%20user, UserLicenseType-Hosting%20user, UserLicenseType-Collaborative%20user and UserLicenseType-Lite%20user will dynamically arise based on the response content generated and indicate that the requested user has how many different UserLicenseType (access permission).

  7. If the paginated result is empty, then response header parameter Max–Page will be 0 (zero) and there will be no other page related response header parameter.

  8. For getting all active projects do not add userLicenseType, isFavorite, isCabinet, isArchived, isHostCollab and includeArchive in query string.

  9. Add start in query string only for filtering project by ProjectName.

  10. Add orderBy in query string only for changing the default sorting order of the resulted list. Default sorting is by ProjectName.

  11. Add accountId in query string only for getting account specific projects.

  12. If value of request header parameter FetchItemsCount is ‘True’ then DocumentCount and FolderCount will be added to the list items which specifies the current total count of the folder and document respectively of that project (count will not consider user specific permissions on the folder and document)