POST DMS/EditCurrentVersion
Request Information
URI Parameters
None.
Body Parameters
EditVersionModelName | Description | Type | Additional information |
---|---|---|---|
DocumentFileId | integer |
None. |
|
Notes | string |
None. |
|
ErrorNote | string |
None. |
|
sessionDto | SessionWebAPIDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocumentFileId": 1, "Notes": "sample string 2", "ErrorNote": "sample string 3", "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.