Get Upload URL

You will get document upload URL from here

/ProjectDocumentEx/GetUploadUrl

Query String

ParameterRequiredValue
externalUserMandatory1

Request Header

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

Request Body

ParameterRequiredValue
EncriptedPINProjectIDMandatoryUser Input
DocumentNameMandatoryUser Input
OriginalExtensionMandatoryUser Input

Example

externalUser:1
TokenKey:Your Token Key
ModuleKeyRequest:PWP
Accept-Language:en-US
Accept-Encoding:gzip
Content-Type:application/json
[
    {
      "EncryptedPINProjectID": "TwDcXfu%2ft2X7ng%2fjIwTXhQ%3d%3d",
      "DocumentName": "1007.pdf",
      "OriginalExtension": ".pdf"
    },
    {
       "EncryptedPINProjectID": "TwDcXfu%2ft2X7ng%2fjIwTXhQ%3d%3d",
      "DocumentName": "1008.pdf",
      "OriginalExtension": ".pdf"
    }]
{
    "ProjectFolderID": 0,
    "PINProjectID": 0,
    "PWAccountID": 0,
    "RotationAngle": 0,
    "ProjectDocumentID": 0,
    "CurrentCheckOutStatus": 0,
    "DocumentTitle": "",
    "TotalPages": 1,
    "DocumentName": "1007.pdf",
    "OriginalFileName": "494e3e25-d699-48be-a887-65fff8b291e3",
    "OriginalExtension": ".pdf",
    "Filesize": "2021206",
    "UploadStatus": 10,
    "RevisionDate": "2015-04-23T03:39:00",
    "RevisionNumber": 2,
    "CreatedBy": {
      "PWUserID": 0,
      "PWAccountID": 0,
      "PWContactID": 0,
      "PrimaryPWContactID": 0,
      "FirstName": "Dipti Ranjan",
      "LastName": "Pradhan",
      "Email": "[email protected]",
      "UserName": "Dipti Ranjan Pradhan",
      "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"
    },
    "UploadUrl": "https://indiatesting.s3.amazonaws.com/1393/15237/494e3e25-d699-48be-a887-65fff8b291e3.pdf?AWSAccessKeyId=AKIAI44VDF536PIZOG4Q&Expires=1473322920&Signature=Zwes0EIBB2DuvUwhTNf6twCPDg0%3D",
    "IsDeleted": 0,
    "AutohyperlinkCount": 0,
    "IsMarkupExists": true,
    "MarkupCount": 1,
    "PrivateMarkupCount": 0,
    "PathName": "1",
    "PathFolderID": ">151810>",
    "ModifyBy": 0,
    "CreateBy": 0,
    "StorageID": 0,
    "CreateDate": "0001-01-01T00:00:00",
    "LastDocumentRevisionID": 1547861,
    "LastDocumentActivityID": 0,
    "SheetDescription": "",
    "IncludeInLatestSet": false,
    "OCRStatus": 0,
    "RevisionName": "s3",
    "OrdinalNum": 0,
    "PublishingSource": 0,
    "Discipline": "satyen",
    "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": "3600",
    "OriginalFileWidth": "5400",
    "IsLatestSet": 0,
    "ViewerFlag": 1,
    "RowNum": 1,
    "OriginalFilesize": "2021206",
    "IsLastFile": false,
    "IsPublished": true,
    "EncrpytedUserID": "CW7njOk%2fRo4%3d",
    "VCStatus": 2,
    "OrdinalNumTmp": 0,
    "EncryptedPINProjectID": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
    "EncryptedProjectDocumentID": "",
    "EncryptedPWAccountID": "CW7njOk%2fRo4%3d",
    "EncryptedModifyBy": "CW7njOk%2fRo4%3d",
    "EncryptedCreateBy": "d8JOBXoY154zrsMSrb755Q%3d%3d",
    "EncryptedStorageID": "eiUqsqE0otE%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": "",
    "TotalPages": 1,
    "DocumentName": "1008.pdf",
    "OriginalFileName": "864e4434-cf3b-45dc-825d-a5d151907b31",
    "OriginalExtension": ".pdf",
    "Filesize": "2021206",
    "UploadStatus": 10,
    "RevisionDate": "2015-04-16T00:59:00",
    "RevisionNumber": 1,
    "CreatedBy": {
      "PWUserID": 0,
      "PWAccountID": 0,
      "PWContactID": 0,
      "PrimaryPWContactID": 0,
      "FirstName": "Dipti Ranjan",
      "LastName": "Pradhan",
      "Email": "[email protected]",
      "UserName": "Dipti Ranjan Pradhan",
      "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"
    },
    "UploadUrl": "https://indiatesting.s3.amazonaws.com/1393/15237/864e4434-cf3b-45dc-825d-a5d151907b31.pdf?AWSAccessKeyId=AKIAI44VDF536PIZOG4Q&Expires=1473322920&Signature=TTwfOkq9aaFdhPnuD6tDdXvdZB8%3D",
    "IsDeleted": 0,
    "AutohyperlinkCount": 0,
    "IsMarkupExists": true,
    "MarkupCount": 1,
    "PrivateMarkupCount": 0,
    "PathName": "1",
    "PathFolderID": ">151810>",
    "ModifyBy": 0,
    "CreateBy": 0,
    "StorageID": 0,
    "CreateDate": "0001-01-01T00:00:00",
    "LastDocumentRevisionID": 1547861,
    "LastDocumentActivityID": 0,
    "SheetDescription": "",
    "IncludeInLatestSet": false,
    "OCRStatus": 0,
    "RevisionName": "R2",
    "OrdinalNum": 0,
    "PublishingSource": 0,
    "Discipline": "satyen",
    "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": "3600",
    "OriginalFileWidth": "5400",
    "IsLatestSet": 0,
    "ViewerFlag": 1,
    "RowNum": 2,
    "OriginalFilesize": "2021206",
    "IsLastFile": false,
    "IsPublished": true,
    "EncrpytedUserID": "CW7njOk%2fRo4%3d",
    "VCStatus": 2,
    "OrdinalNumTmp": 0,
    "EncryptedPINProjectID": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
    "EncryptedProjectDocumentID": "",
    "EncryptedPWAccountID": "CW7njOk%2fRo4%3d",
    "EncryptedModifyBy": "CW7njOk%2fRo4%3d",
    "EncryptedCreateBy": "d8JOBXoY154zrsMSrb755Q%3d%3d",
    "EncryptedStorageID": "eiUqsqE0otE%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.