POST DMS/SharedWithDocumentList/{userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

DMSDocumentSharedWithModel
NameDescriptionTypeAdditional information
DocumentId

integer

None.

CountOfUserViewAccess

integer

None.

CountOfUserUploadAceess

integer

None.

DMSDocumentSharedWithList

Collection of DMSDocumentSharedDTO

None.

accessMatrixDto

DMSAccessMatrixDTO

None.

SortOrder

string

None.

SortColumn

string

None.

PageSize

integer

None.

SelectedPageNumber

integer

None.

FormName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentId": 1,
  "CountOfUserViewAccess": 2,
  "CountOfUserUploadAceess": 3,
  "DMSDocumentSharedWithList": [
    {
      "DocumentAccessId": 1,
      "DocumentId": 2,
      "UserId": 1,
      "EmployeeName": "sample string 3",
      "Email": "sample string 4",
      "UserGroupId": [
        1,
        1
      ],
      "UserGroupNames": "sample string 5",
      "levelId": 1,
      "LevelName": "sample string 6",
      "RegionId": [
        1,
        1
      ],
      "RegionNames": "sample string 7",
      "VerticalIds": [
        1,
        1
      ],
      "VerticalNames": "sample string 8",
      "ProjectId": [
        1,
        1
      ],
      "ProjectNames": "sample string 9",
      "FunctionId": [
        1,
        1
      ],
      "FunctionNames": "sample string 10",
      "PositionId": 1,
      "PositionNames": "sample string 11",
      "SharedById": 12,
      "SharedByName": "sample string 13",
      "SharedOn": "2024-11-15T11:39:54.1624794+05:30",
      "SharedOnString": "sample string 15",
      "AccessType": "sample string 16",
      "SharedType": "sample string 17",
      "CountViewAccess": 18,
      "CountUploadAccess": 19,
      "Edit": true,
      "AddKeyword": true,
      "RemoveKeyword": true,
      "Share": true,
      "RevokeShare": true,
      "View": true,
      "Download": true,
      "Upload": true,
      "ProcessRequest": true,
      "DownloadHistory": true,
      "AddReference": true,
      "DeleteReference": true,
      "DeleteDocument": true,
      "DeleteDocumentVersion": true,
      "ChangeCreator": true,
      "NoAccess": true
    },
    {
      "DocumentAccessId": 1,
      "DocumentId": 2,
      "UserId": 1,
      "EmployeeName": "sample string 3",
      "Email": "sample string 4",
      "UserGroupId": [
        1,
        1
      ],
      "UserGroupNames": "sample string 5",
      "levelId": 1,
      "LevelName": "sample string 6",
      "RegionId": [
        1,
        1
      ],
      "RegionNames": "sample string 7",
      "VerticalIds": [
        1,
        1
      ],
      "VerticalNames": "sample string 8",
      "ProjectId": [
        1,
        1
      ],
      "ProjectNames": "sample string 9",
      "FunctionId": [
        1,
        1
      ],
      "FunctionNames": "sample string 10",
      "PositionId": 1,
      "PositionNames": "sample string 11",
      "SharedById": 12,
      "SharedByName": "sample string 13",
      "SharedOn": "2024-11-15T11:39:54.1624794+05:30",
      "SharedOnString": "sample string 15",
      "AccessType": "sample string 16",
      "SharedType": "sample string 17",
      "CountViewAccess": 18,
      "CountUploadAccess": 19,
      "Edit": true,
      "AddKeyword": true,
      "RemoveKeyword": true,
      "Share": true,
      "RevokeShare": true,
      "View": true,
      "Download": true,
      "Upload": true,
      "ProcessRequest": true,
      "DownloadHistory": true,
      "AddReference": true,
      "DeleteReference": true,
      "DeleteDocument": true,
      "DeleteDocumentVersion": true,
      "ChangeCreator": true,
      "NoAccess": true
    }
  ],
  "accessMatrixDto": {
    "Edit": true,
    "AddKeyword": true,
    "RemoveKeyword": true,
    "Share": true,
    "RevokeShare": true,
    "View": true,
    "Download": true,
    "Upload": true,
    "ProcessRequest": true,
    "DownloadHistory": true,
    "AddReference": true,
    "DeleteReference": true,
    "DeleteDocument": true,
    "DeleteDocumentVersion": true,
    "ChangeCreator": true,
    "NoAccess": true
  },
  "SortOrder": "sample string 4",
  "SortColumn": "sample string 5",
  "PageSize": 6,
  "SelectedPageNumber": 7,
  "FormName": "sample string 8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.