Get Project Document

You will get project documents from here

/ProjectItemEx/GetProjectItems

Query String

ParameterRequiredValue
externalUserMandatory1
startOptional1
orderByOptionalUser Input
isPublishedOptionalUser Input
SortByOptionalName
SortOrderOptional0(Ascending) and 1(Descending)

Request Header

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

Request Body

ParameterRequiredValue
EncriptedPINProjectIDMandatoryUser Input
EncriptedParentFolderIDOPtionalUser Input

Example

start:Userinput
orderBy:Userinput
ModuleType:“PWP”
isPublished:Userinput
SortBy:Name
SortOrder:0(Ascending) and 1(Descending)
TokenKey:Your Token Key
ModuleKeyRequest:PWP
Accept-Language:en-US
Accept-Encoding:gzip
Content-Type:application/json
{
"EncriptedPINProjectID":"User input",
"EncriptedParentFolderID":"User input"
}
{
  "Folders": [
    {
      "ProjectFolderID": 0,
      "FolderName": "2",
      "ParentFolderID": 0,
      "LevelID": 1,
      "CreatedBy": {
        "PWUserID": 0,
        "PWAccountID": 0,
        "PWContactID": 0,
        "PrimaryPWContactID": 0,
        "FirstName": "FName",
        "MiddleName": "",
        "LastName": "LName",
        "Email": "[email protected]",
        "UserName": "FName LName",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "EncriptedPWUserID": "CW7njOk%2fRo4%3d",
        "EncriptedPWAccountID": "CW7njOk%2fRo4%3d",
        "EncriptedPWContactID": "CW7njOk%2fRo4%3d"
      },
      "CreateDate": "2016-08-10T03:51:49.44",
      "ChildFolderCount": 4,
      "DocumentCount": 2,
      "PINProjectID": 0,
      "PathName": "1 >> 2",
      "PathFolderID": "",
      "IncludeInLatestSet": false,
      "IsVirtualFolder": false,
      "FolderType": 0,
      "IsShared": 0,
      "ParentFolderName": "1",
      "IsDeleted": 0,
      "AllChidDocCount": 0,
      "CreateBy": 0,
      "ChildDocumentUnpublishCount": 0,
      "OrdinalNum": 1,
      "ModifyDate": "0001-01-01T00:00:00",
      "IsSharedFolder": false,
      "IsRootSharedFolder": false,
      "IsExpired": false,
      "ShareResponseStatus": 0,
      "ShareResponseDate": "0001-01-01T00:00:00",
      "UserRoleID": 0,
      "RequestedUserRoleID": 0,
      "EncriptedProjectFolderID": "SvvUS4Wiy6agLuM5UOpUrg%3d%3d",
      "CLProjectFolderID": 0,
      "EncriptedParentFolderID": "qDIPkPSO4n%407MRcwqeXcTQ%3d%3d",
      "EncriptedPINProjectID": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
      "EncriptedPathFolderID": "g24T6RIDr02KZjZvuHJqDrKvVkFOevwH",
      "EncriptedCreateBy": "qFI09w91TZaiGkIWD8cdRw%3d%3d"
    }
  ],
  "Documents": [
    {
      "ProjectFolderID": 0,
      "PINProjectID": 0,
      "PWAccountID": 0,
      "RotationAngle": 0,
      "ProjectDocumentID": 0,
      "CurrentCheckOutStatus": 0,
      "DocumentTitle": "asdasds",
      "TotalPages": 1,
      "DocumentName": "BIPU%3B - COPY (3)",
      "OriginalFileName": "c0f290a8-fa33-40c3-83b7-7d8c44f5bcf7",
      "OriginalExtension": ".pdf",
      "Filesize": "49126",
      "UploadStatus": 10,
      "RevisionDate": "2016-08-10T06:16:00",
      "RevisionNumber": 1,
      "CreatedBy": {
        "PWUserID": 0,
        "PWAccountID": 0,
        "PWContactID": 0,
        "PrimaryPWContactID": 0,
        "FirstName": "FName",
        "MiddleName": "",
        "LastName": "LName",
        "Email": "[email protected]",
        "UserName": "FName LName",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "EncriptedPWUserID": "CW7njOk%2fRo4%3d",
        "EncriptedPWAccountID": "CW7njOk%2fRo4%3d",
        "EncriptedPWContactID": "CW7njOk%2fRo4%3d"
      },
      "IsDeleted": 0,
      "AutohyperlinkCount": 0,
      "IsMarkupExists": false,
      "PrivateMarkupCount": 0,
      "PathName": "1",
      "PathFolderID": ">151810>",
      "ModifyBy": 0,
      "CreateBy": 0,
      "StorageID": 0,
      "CreateDate": "0001-01-01T00:00:00",
      "LastDocumentRevisionID": 1638877,
      "LastDocumentActivityID": 0,
      "SheetDescription": "asdasds",
      "IncludeInLatestSet": false,
      "OCRStatus": 0,
      "RevisionName": "1",
      "OrdinalNum": 0,
      "PublishingSource": 0,
      "Discipline": "DC",
      "DocumentRevisionID": 0,
      "SessionID": 0,
      "TMPDocumentUploadID": 0,
      "TMPDocumentID": 0,
      "pendingSession": false,
      "UserID": 0,
      "IsDocNameChanged": false,
      "IsDisciplineChanged": false,
      "IsRevNameChanged": false,
      "IsRevDateChanged": false,
      "IsDescriptionChanged": false,
      "IsIncludeInLatestDrawingsChanged": false,
      "PrevIncludeInLatestDrawings": false,
      "OriginalFileHeight": "2250",
      "OriginalFileWidth": "3150",
      "IsLatestSet": 0,
      "ViewerFlag": 1,
      "RowNum": 1,
      "OriginalFilesize": "49126",
      "IsLastFile": false,
      "IsPublished": true,
      "EncryptDocumentRevisionID": "Wg0A5YbSYaL9DDK863Z5tA%3d%3d",
      "EncryptDocumentID": "IiGW4UGH91OV%2ffTmPSVJRQ%3d%3d",
      "EncrpytedUserID": "CW7njOk%2fRo4%3d",
      "VCStatus": 2,
      "OrdinalNumTmp": 0,
      "EncryptedProjectFolderID": "qDIPkPSO4n%407MRcwqeXcTQ%3d%3d",
      "EncryptedPINProjectID": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
      "EncryptedPWAccountID": "CW7njOk%2fRo4%3d",
      "EncryptedModifyBy": "CW7njOk%2fRo4%3d",
      "EncryptedCreateBy": "qFI09w91TZaiGkIWD8cdRw%3d%3d",
      "EncryptedStorageID": "%2ffEZ3ymwq83LIFgJpdul%40w%3d%3d",
      "EncryptedLastDocumentActivityID": "CW7njOk%2fRo4%3d",
      "EncryptedSessionID": "CW7njOk%2fRo4%3d",
      "EncryptedTMPDocumentUploadID": "CW7njOk%2fRo4%3d",
      "EncryptedTMPDocumentID": "CW7njOk%2fRo4%3d"
    },
    {
      "ProjectFolderID": 0,
      "PINProjectID": 0,
      "PWAccountID": 0,
      "RotationAngle": 0,
      "ProjectDocumentID": 0,
      "CurrentCheckOutStatus": 0,
      "DocumentTitle": "sadaSD",
      "TotalPages": 1,
      "DocumentName": "BIPU%3B - COPY (4)",
      "OriginalFileName": "624d11e9-dac9-4128-a19f-08ecc4ce0c6c",
      "OriginalExtension": ".pdf",
      "Filesize": "49126",
      "UploadStatus": 10,
      "RevisionDate": "2016-08-10T06:16:00",
      "RevisionNumber": 1,
      "CreatedBy": {
        "PWUserID": 0,
        "PWAccountID": 0,
        "PWContactID": 0,
        "PrimaryPWContactID": 0,
        "FirstName": "FName",
        "MiddleName": "",
        "LastName": "LName",
        "Email": "[email protected]",
        "UserName": "FName LName",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "EncriptedPWUserID": "CW7njOk%2fRo4%3d",
        "EncriptedPWAccountID": "CW7njOk%2fRo4%3d",
        "EncriptedPWContactID": "CW7njOk%2fRo4%3d"
      },
      "IsDeleted": 0,
      "AutohyperlinkCount": 0,
      "IsMarkupExists": false,
      "PrivateMarkupCount": 0,
      "PathName": "1",
      "PathFolderID": ">151810>",
      "ModifyBy": 0,
      "CreateBy": 0,
      "StorageID": 0,
      "CreateDate": "0001-01-01T00:00:00",
      "LastDocumentRevisionID": 1638878,
      "LastDocumentActivityID": 0,
      "SheetDescription": "sadaSD",
      "IncludeInLatestSet": false,
      "OCRStatus": 0,
      "RevisionName": "1",
      "OrdinalNum": 0,
      "PublishingSource": 0,
      "Discipline": "DC",
      "DocumentRevisionID": 0,
      "SessionID": 0,
      "TMPDocumentUploadID": 0,
      "TMPDocumentID": 0,
      "pendingSession": false,
      "UserID": 0,
      "IsDocNameChanged": false,
      "IsDisciplineChanged": false,
      "IsRevNameChanged": false,
      "IsRevDateChanged": false,
      "IsDescriptionChanged": false,
      "IsIncludeInLatestDrawingsChanged": false,
      "PrevIncludeInLatestDrawings": false,
      "OriginalFileHeight": "2250",
      "OriginalFileWidth": "3150",
      "IsLatestSet": 0,
      "ViewerFlag": 1,
      "RowNum": 2,
      "OriginalFilesize": "49126",
      "IsLastFile": false,
      "IsPublished": true,
      "EncryptDocumentRevisionID": "Wg0A5YbSYaJ%2f2bI9Zk0rOA%3d%3d",
      "EncryptDocumentID": "IiGW4UGH91N6QK7jnU3XfQ%3d%3d",
      "EncrpytedUserID": "CW7njOk%2fRo4%3d",
      "VCStatus": 2,
      "OrdinalNumTmp": 0,
      "EncryptedProjectFolderID": "qDIPkPSO4n%407MRcwqeXcTQ%3d%3d",
      "EncryptedPINProjectID": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
      "EncryptedPWAccountID": "CW7njOk%2fRo4%3d",
      "EncryptedModifyBy": "CW7njOk%2fRo4%3d",
      "EncryptedCreateBy": "qFI09w91TZaiGkIWD8cdRw%3d%3d",
      "EncryptedStorageID": "%2ffEZ3ymwq83LIFgJpdul%40w%3d%3d",
      "EncryptedLastDocumentActivityID": "CW7njOk%2fRo4%3d",
      "EncryptedSessionID": "CW7njOk%2fRo4%3d",
      "EncryptedTMPDocumentUploadID": "CW7njOk%2fRo4%3d",
      "EncryptedTMPDocumentID": "CW7njOk%2fRo4%3d"
    }
  ]
}

Remarks:
1) In Query String: startIndex and endIndex is user input. It defined from which index to which index data required. If startIndex and endIndex value is zero then it returned all data. SortBy and SortOrder is optional field. It only works above mention value only.