Update Database After Upload
You can insert the uploaded file info in the database from here
/ProjectDocumentEx/UpdateDatabaseUnpublishedUpload
Query String
Parameter | Required | Value |
---|---|---|
externalUser | Mandatory | 1 |
Request Header
Parameter | Required | Value |
---|---|---|
TokenKey | Mandatory | User Input |
ModuleKeyRequest | Mandatory | PWP |
Accept-Language | Optional | en-US |
Accept-Encoding | Optional | gzip |
Content-Type | Mandatory | application/json |
Request Body
Parameter | Required | Value |
---|---|---|
encryptedFolderId | Mandatory | User Input |
EncryptedprojectId | Mandatory | User Input |
EncryptedprojectDocumentRevisionId | Optional | User Input |
EncriptedParentFolderID | Mandatory | User Input |
storageId | Mandatory | 100000 |
UploadStatus | Mandatory | User Input / 10 |
fileName | Mandatory | User Input |
S3FileName | Mandatory | User Input |
fileExtension | Mandatory | User Input |
fileSize | Mandatory | User Input |
Example
externalUser:1
TokenKey:Your Token Key
ModuleKeyRequest:PWP
Accept-Language:en-US
Accept-Encoding:gzip
Content-Type:application/json
[
{
"encryptedFolderId": "nxt%2fLGS%2fQWjgkEryNfgRog%3d%3d",
"EncryptedprojectId": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
"EncryptedprojectDocumentRevisionId":"",
"storageId": 100001,
"UploadStatus":10,
"fileName":"1001.pdf",
"S3FileName": "299b281b-eaf4-43d1-8c00-e2322f48f56c",
"fileExtension": ".pdf",
"fileSize": "2021206"
},
{
"encryptedFolderId": "nxt%2fLGS%2fQWiVzprCyG%409lg%3d%3d",
"EncryptedprojectId": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
"EncryptedprojectDocumentRevisionId":"",
"storageId": 100001,
"UploadStatus":10,
"fileName":"1002.pdf",
"S3FileName": "19d6e5f5-4ac1-43a1-9035-2b61d8defeda",
"fileExtension": ".pdf",
"fileSize": "2021206"
}
]
[
{
"projectId": 0,
"folderId": 0,
"storageId": 100001,
"UploadStatus": 10,
"S3FileName": "299b281b-eaf4-43d1-8c00-e2322f48f56c",
"fileExtension": ".pdf",
"fileSize": "2021206",
"userId": 0,
"projectDocumentId": 0,
"projectDocumentRevisionId": 0,
"fileName": "1001.pdf",
"projectDocumentRevisionNo": 0,
"SessionId": "0",
"projectDocumentTMPId": 0,
"encryptedFolderId": "nxt%2fLGS%2fQWjgkEryNfgRog%3d%3d",
"kloudlessId": 0,
"PickUpStatus": 0,
"EncryptedprojectId": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
"EncryptedstorageId": "%2ffEZ3ymwq83LIFgJpdul%40w%3d%3d",
"EncrypteduserId": "qFI09w91TZaiGkIWD8cdRw%3d%3d",
"EncryptedprojectDocumentRevisionId": "jzoq%2fIb628G6WT6TN5MIzA%3d%3d",
"EncryptedSessionId": "CW7njOk%2fRo4%3d",
"EncryptedprojectDocumentTMPId": "CW7njOk%2fRo4%3d",
"EncryptedkloudlessId": "CW7njOk%2fRo4%3d"
},
{
"projectId": 0,
"folderId": 0,
"storageId": 100001,
"UploadStatus": 10,
"S3FileName": "19d6e5f5-4ac1-43a1-9035-2b61d8defeda",
"fileExtension": ".pdf",
"fileSize": "2021206",
"userId": 0,
"projectDocumentId": 0,
"projectDocumentRevisionId": 0,
"fileName": "1002.pdf",
"projectDocumentRevisionNo": 0,
"SessionId": "0",
"projectDocumentTMPId": 0,
"encryptedFolderId": "nxt%2fLGS%2fQWiVzprCyG%409lg%3d%3d",
"kloudlessId": 0,
"PickUpStatus": 0,
"EncryptedprojectId": "53Y%2fcRMtVNMpj%40QRDqB5GQ%3d%3d",
"EncryptedstorageId": "%2ffEZ3ymwq83LIFgJpdul%40w%3d%3d",
"EncrypteduserId": "qFI09w91TZaiGkIWD8cdRw%3d%3d",
"EncryptedprojectDocumentRevisionId": "jzoq%2fIb628HzFz0mj8EMfw%3d%3d",
"EncryptedSessionId": "CW7njOk%2fRo4%3d",
"EncryptedprojectDocumentTMPId": "CW7njOk%2fRo4%3d",
"EncryptedkloudlessId": "CW7njOk%2fRo4%3d"
}
]
Updated about 7 years ago