POST DMS/CancelUploadDocument
Request Information
URI Parameters
None.
Body Parameters
DMSFileDTOName | Description | Type | Additional information |
---|---|---|---|
ProvisionalDocumentId | integer |
None. |
|
FileId | integer |
None. |
|
DocumentId | integer |
None. |
|
GUIDFileName | string |
None. |
|
FileName | string |
None. |
|
FileSize | string |
None. |
|
FileVersion | decimal number |
None. |
|
UploadedBy | integer |
None. |
|
UploadedByName | string |
None. |
|
UploadedOn | date |
None. |
|
comments | string |
None. |
|
FilePath | string |
None. |
|
Extention | string |
None. |
|
UploadedOnDateString | string |
None. |
|
sessionDto | SessionWebAPIDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProvisionalDocumentId": 1, "FileId": 2, "DocumentId": 3, "GUIDFileName": "sample string 4", "FileName": "sample string 5", "FileSize": "sample string 6", "FileVersion": 7.0, "UploadedBy": 8, "UploadedByName": "sample string 9", "UploadedOn": "2024-11-15T10:52:07.9353459+05:30", "comments": "sample string 11", "FilePath": "sample string 12", "Extention": "sample string 13", "UploadedOnDateString": "sample string 14", "sessionDto": { "DepartmentName": "sample string 1", "DepartmentId": 2, "RoleId": 3, "CurrentRoleName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "UserId": 7, "ObservationId": 8, "IsElevated": true, "IncidentId": 10, "InjuredWorkerId": 11, "InjuryCauseId": 12, "CorrectiveActions": "sample string 13", "HandSkillTrainingId": 14, "CheckListId": 15, "CheckListResponseId": 16, "CustomerComplaintId": 17, "WorkPermitId": 18, "WorkPermitTypeId": 19, "ProjectId": 20, "WorkPermitStatus": "sample string 21", "InspectionId": 22, "ObservationIdlist": [ 1, 2 ], "ClosedRemark": "sample string 23", "WorkPermitDefinationId": 24, "IsOfflineData": true, "DataCreationDate": "sample string 26", "IsFromMobile": true, "CancelledByHSEOfficerId": 28, "DocumentId": 29, "Title": "sample string 30", "_userAccessPermissions": [ { "LevelId": 1, "LevelName": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "DepartmentType": "sample string 5", "PositionId": 6, "PositionName": "sample string 7", "PositionImportance": 8 }, { "LevelId": 1, "LevelName": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "DepartmentType": "sample string 5", "PositionId": 6, "PositionName": "sample string 7", "PositionImportance": 8 } ], "UserAccessPermissions": [ { "LevelId": 1, "LevelName": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "DepartmentType": "sample string 5", "PositionId": 6, "PositionName": "sample string 7", "PositionImportance": 8 }, { "LevelId": 1, "LevelName": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "DepartmentType": "sample string 5", "PositionId": 6, "PositionName": "sample string 7", "PositionImportance": 8 } ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.