Project Specific Changes

You will get project documents from here

/ProjectSyncEx

Query String

ParameterRequiredValue
requestTypeMandatory1
pinProjectidMandatory0
externalUserMandatory1

Request Header

ParameterRequiredValue
DetailsViewMandatorytrue
LastSyncContextMandatorylast sync time
ModuleKeyRequestMandatoryPWP
PageMandatory1
PerPageMandatory1
SystemNameMandatoryUser Input
TokenkeyMandatoryUser Input
UserCurrentRoleMandatory0:2
Content-TypeMandatoryapplication/json

Request Body

ParameterRequiredValue
ItemTypeMandatory1
EncryptedParentIDMandatoryUser Input
ParentTypeMandatory31

Example

requestType=1
pinProjectid=0
DetailsView:true
LastSyncContext:Last time in UTC encrypted format
ModuleId:PWP
Page:1
PerPage:250
SystemName:Your system name(optional)
Tokenkey:Your token key
UserCurrentRole:0:2
Content-Type:application/json
[{
    "ItemType":1,
    "EncryptedParentID":"Encrypted project id here"
    "ParentType":31
}]
t
[
  {
    "ItemID": itmemid,
    "ItemType": 1,
    "DocumentRevisionID": 0,
    "ParentFolderID": 0,
    "RootFolderID": 0,
    "ActivityType": 19,
    "ActionDescription": "Project count updated",
    "ModifyDateUTCString": "2016-11-17 13:21:40.863",
    "ParentID": parentid,
    "ParentType": 31,
    "FolderType": 0,
    "TotalChildFolderCount": 3,
    "TotalchildDocCount": 250,
    "Project": {
      "PINProjectID": pinprojectid,
      "ProjectNumber": "",
      "ProjectName": "13092016",
      "ProjectStartDate": "9999-12-31T23:59:59.997",
      "ProjectOwner": {
        "PWUserID": pwuserid,
        "PWAccountID": pwaaccountid,
        "PWContactID": pwacontactid,
        "PrimaryPWContactID": 0,
        "FirstName": "Firstname",
        "MiddleName": "",
        "LastName": "Lastname",
        "Email": "[email protected]",
        "UserName": "Firstname Lastname",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "PolicyEnabled": false
      },
      "ResponseStatus": 0,
      "UserLicenseType": 0,
      "IsFavorite": 1,
      "EnableNotifyOnDownload": false,
      "IsArchived": false,
      "IsCabinet": false,
      "ProjectExt": {
        "AccessibilityType": 2,
        "ProjectPassword": "",
        "IsPasswordProtected": false,
        "EncryptedProjectPassword": "",
        "CreateBy": pwuserid,
        "AutoHyperlinkEnabled": false,
        "CLPINProjectID": 0
      },
      "IsGuestProject": false,
      "UserRoleID": 2,
      "ProjectEndDate": "9999-12-31T23:59:59.997",
      "StateName": "California",
      "CountryName": "USA",
      "City": "",
      "ProjectDescription": "",
      "ActivityCount": 0,
      "GuestProjectCount": 0,
      "FavouriteProjectCount": 0,
      "PrivateProjectCount": 0,
      "PublicProjectCount": 0,
      "PendingShareProjectCount": 0,
      "AcceptedShareProjectCount": 0,
      "FolderCnt": 3,
      "DocumentCnt": 250,
      "GuestUserCount": 0,
      "ProjectStatus": 0,
      "LatestDocFolderID": 0,
      "ProjectStorage": {
        "PINProjectID": pinprojectid,
        "DownloadFileStorage": 11.2443,
        "LatestDocumentStorage": 0.0469
      },
      "TimeIn": "0001-01-01T00:00:00",
      "TimeOut": "0001-01-01T00:00:00",
      "TotalDocumentUnpublishCount": 0,
      "PunchCount": 0,
      "RFICount": 0,
      "IsLatestDocumentHidden": false,
      "ShareResponseStatus": 0,
      "PWPProjectUserID": 0,
      "ShareAccessType": 0,
      "BillingOption": 0,
      "IsLatestFolderShared": false,
      "RequestedUserRoleID": 0,
      "CLPINProjectID": 0,
      "IsPolicyAccepted": false
    },
    "UserRoleID": 2
  },
  {
    "ItemID": itemid,
    "ItemType": 3,
    "DocumentRevisionID": documentrevisionId,
    "ParentFolderID": parentfolderid,
    "RootFolderID": rootfolderid,
    "ActivityType": 1,
    "ActionDescription": "http://SiteDomain/SkysiteDownload/pop.ashx?Key=%40mWskZVYzlhQxo0VNfMizsG33Z5mELX69YNrv92VUWWJmqfI4UNyUvRar2%2fmDIRsixF8ZN9FmaY%3d|A2.1c.pdf|1",
    "ModifyDateUTCString": "2016-11-17 13:21:40.857",
    "ParentID": parentid,
    "ParentType": 31,
    "PathFolderID": ">163699>",
    "FolderType": 1,
    "TotalChildFolderCount": 3,
    "TotalchildDocCount": 250,
    "ParentChildFolderCount": 0,
    "ParentChildDocCount": 1,
    "IsLatestSet": 1,
    "Document": {
      "ProjectFolderID": parentfolderid,
      "PINProjectID": pinprojectid,
      "PWAccountID": 0,
      "RotationAngle": 0,
      "ProjectDocumentID": itemid,
      "CurrentCheckOutStatus": 0,
      "TotalPages": 1,
      "DocumentName": "A2.1c",
      "OriginalFileName": "f61a637e-a08f-4b9e-95df-54f4a539da8f",
      "OriginalExtension": ".pdf",
      "Filesize": "49126",
      "UploadStatus": 10,
      "RevisionDate": "2016-11-17T18:50:46",
      "RevisionNumber": 1,
      "RevisedBy": {
        "PWUserID": pwuserid,
        "PWAccountID": pwaaccountid,
        "PWContactID": pwacontactid,
        "PrimaryPWContactID": 0,
        "FirstName": "Firstname",
        "MiddleName": "",
        "LastName": "Lastname",
        "Email": "[email protected]",
        "UserName": "Firstname Lastname",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "PolicyEnabled": false
      },
      "CreatedBy": {
        "PWUserID": pwuserid,
        "PWAccountID": pwaaccountid,
        "PWContactID": pwacontactid,
        "PrimaryPWContactID": 0,
        "FirstName": "Firstname",
        "MiddleName": "",
        "LastName": "Lastname",
        "Email": "[email protected]",
        "UserName": "Firstname Lastname",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "PolicyEnabled": false
      },
      "IsDeleted": 0,
      "AutohyperlinkCount": 0,
      "IsMarkupExists": false,
      "PrivateMarkupCount": 0,
      "PathName": "Folder2 for sync",
      "PathFolderID": ">parentfolderid>",
      "DownLoadUrl": "http://SiteDomain/SkysiteDownload/pop.ashx?Key=%40mWskZVYzlhQxo0VNfMizsG33Z5mELX69YNrv92VUWWJmqfI4UNyUvRar2%2fmDIRsixF8ZN9FmaY%3d",
      "ModifyBy": pwuserid,
      "CreateBy": pwuserid,
      "StorageID": 100001,
      "CreateDate": "0001-01-01T00:00:00",
      "LastDocumentRevisionID": documentrevisionid,
      "LastDocumentActivityID": 0,
      "SheetDescription": "",
      "IncludeInLatestSet": true,
      "OCRStatus": 0,
      "RevisionName": "Revision 1",
      "OrdinalNum": 250,
      "PublishingSource": 0,
      "Discipline": "Architectural",
      "DocumentRevisionID": documentrevisionid,
      "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": 1,
      "ViewerFlag": 1,
      "RowNum": 1,
      "IsLastFile": false,
      "IsPublished": false,
      "VCStatus": 0,
      "OrdinalNumTmp": 0
    },
    "UserRoleID": 0
  },
  {
    "ItemID": itemid,
    "ItemType": 3,
    "DocumentRevisionID": documentrevisionid,
    "ParentFolderID": parentfolderid,
    "RootFolderID": parentfolderid,
    "ActivityType": 1,
    "ActionDescription": "http://SiteDomain/SkysiteDownload/pop.ashx?Key=%40mWskZVYzlhQxo0VNfMizsG33Z5mELX69YNrv92VUWWJmqfI4UNyUvRar2%2fmDIRsixF8ZN9FmaY%3d|A2.1c.pdf|1",
    "ModifyDateUTCString": "2016-11-17 13:21:40.813",
    "ParentID": pinprojectid,
    "ParentType": 31,
    "PathFolderID": ">parentfolderid>",
    "FolderType": 0,
    "TotalChildFolderCount": 3,
    "TotalchildDocCount": 250,
    "ParentChildFolderCount": 0,
    "ParentChildDocCount": 1,
    "IsLatestSet": 1,
    "Document": {
      "ProjectFolderID": parentfolderid,
      "PINProjectID": pinprojectid,
      "PWAccountID": 0,
      "RotationAngle": 0,
      "ProjectDocumentID": itemid,
      "CurrentCheckOutStatus": 0,
      "TotalPages": 1,
      "DocumentName": "A2.1c",
      "OriginalFileName": "f61a637e-a08f-4b9e-95df-54f4a539da8f",
      "OriginalExtension": ".pdf",
      "Filesize": "49126",
      "UploadStatus": 10,
      "RevisionDate": "2016-11-17T18:50:46",
      "RevisionNumber": 1,
      "RevisedBy": {
        "PWUserID": pwuserid,
        "PWAccountID": pwaaccountid,
        "PWContactID": pwacontactid,
        "PrimaryPWContactID": 0,
        "FirstName": "Firstname",
        "MiddleName": "",
        "LastName": "Lastname",
        "Email": "[email protected]",
        "UserName": "Firstname Lastname",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "PolicyEnabled": false
      },
      "CreatedBy": {
        "PWUserID": pwuserid,
        "PWAccountID": pwaaccountid,
        "PWContactID": pwacontactid,
        "PrimaryPWContactID": 0,
        "FirstName": "Firstname",
        "MiddleName": "",
        "LastName": "Lastname",
        "Email": "[email protected]",
        "UserName": "Firstname Lastname",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "PolicyEnabled": false
      },
      "IsDeleted": 0,
      "AutohyperlinkCount": 0,
      "IsMarkupExists": false,
      "PrivateMarkupCount": 0,
      "PathName": "Folder2 for sync",
      "PathFolderID": ">parentfolderid>",
      "DownLoadUrl": "http://SiteDomain/SkysiteDownload/pop.ashx?Key=%40mWskZVYzlhQxo0VNfMizsG33Z5mELX69YNrv92VUWWJmqfI4UNyUvRar2%2fmDIRsixF8ZN9FmaY%3d",
      "ModifyBy": pwuserid,
      "CreateBy": pwuserid,
      "StorageID": 100001,
      "CreateDate": "0001-01-01T00:00:00",
      "LastDocumentRevisionID": documentrevisionid,
      "LastDocumentActivityID": 0,
      "SheetDescription": "",
      "IncludeInLatestSet": true,
      "OCRStatus": 0,
      "RevisionName": "Revision 1",
      "OrdinalNum": 250,
      "PublishingSource": 0,
      "Discipline": "Architectural",
      "DocumentRevisionID": documentrevisionid,
      "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": 1,
      "ViewerFlag": 1,
      "RowNum": 1,
      "IsLastFile": false,
      "IsPublished": false,
      "VCStatus": 0,
      "OrdinalNumTmp": 0
    },
    "UserRoleID": 0
  },
  {
    "ItemID": parentfolderid,
    "ItemType": 2,
    "DocumentRevisionID": 0,
    "ParentFolderID": 0,
    "RootFolderID": parentfolderid,
    "ActivityType": 1,
    "ActionDescription": "Folder2 for sync",
    "ModifyDateUTCString": "2016-11-17 11:08:33.820",
    "ParentID": pinprojectid,
    "ParentType": 31,
    "PathFolderID": ">parentfolderid>",
    "FolderType": 0,
    "TotalChildFolderCount": 3,
    "TotalchildDocCount": 250,
    "Folder": {
      "ProjectFolderID": parentfolderid,
      "FolderName": "Folder2 for sync",
      "ParentFolderID": 0,
      "LevelID": 0,
      "CreatedBy": {
        "PWUserID": pwuserid,
        "PWAccountID": pwaaccountid,
        "PWContactID": pwacontactid,
        "PrimaryPWContactID": 0,
        "FirstName": "Firstname",
        "MiddleName": "",
        "LastName": "Lastname",
        "Email": "[email protected]",
        "UserName": "Firstname Lastname",
        "Admin": false,
        "Status": 0,
        "AccountExpiryDate": "0001-01-01T00:00:00",
        "ShareProjectCount": 0,
        "AccountCreateDate": "0001-01-01T00:00:00",
        "BillingStartDate": "0001-01-01T00:00:00",
        "PolicyEnabled": false
      },
      "CreateDate": "2016-11-17T16:38:33.763",
      "ChildFolderCount": 0,
      "DocumentCount": 1,
      "PINProjectID": pinprojectid,
      "PathName": "Folder2 for sync",
      "PathFolderID": ">parentfolderid>",
      "IncludeInLatestSet": true,
      "IsVirtualFolder": false,
      "FolderType": 0,
      "IsShared": 0,
      "IsDeleted": 0,
      "AllChidDocCount": 0,
      "CreateBy": pwuserid,
      "ChildDocumentUnpublishCount": 0,
      "OrdinalNum": 6,
      "ModifyDate": "0001-01-01T00:00:00",
      "IsSharedFolder": false,
      "IsRootSharedFolder": false,
      "IsExpired": false,
      "ShareResponseStatus": 0,
      "ShareResponseDate": "0001-01-01T00:00:00",
      "UserRoleID": 0,
      "RequestedUserRoleID": 0,
      "CLProjectFolderID": 0
    },
    "UserRoleID": 0
  }
]