GET api/DCMUserMappingMaster?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

BulkUserRoleMappingMasterData
NameDescriptionTypeAdditional information
listClientUserMaster

Collection of UserMasterList

None.

listRole

Collection of Role

None.

listDesignation

Collection of CustomDetails

None.

dcmAssignRolesUser

Collection of DcmAssignRolesUser

None.

Response Formats

application/json, text/json

Sample:
{
  "listClientUserMaster": [
    {
      "userId": "52946f7e-b7b0-416d-a39d-58711cc3645e",
      "userName": "sample string 2",
      "email": "sample string 3"
    },
    {
      "userId": "52946f7e-b7b0-416d-a39d-58711cc3645e",
      "userName": "sample string 2",
      "email": "sample string 3"
    }
  ],
  "listRole": [
    {
      "RoleID": "907d334f-22e0-4125-8fb5-fb396458626b",
      "RoleName": "sample string 2"
    },
    {
      "RoleID": "907d334f-22e0-4125-8fb5-fb396458626b",
      "RoleName": "sample string 2"
    }
  ],
  "listDesignation": [
    {
      "id": "a0390d98-16aa-4bbb-8518-4f613daf3e72",
      "name": "sample string 2"
    },
    {
      "id": "a0390d98-16aa-4bbb-8518-4f613daf3e72",
      "name": "sample string 2"
    }
  ],
  "dcmAssignRolesUser": [
    {
      "userMappingId": "6b3ebb78-bc75-4c5e-88cd-8c7d90909e8b",
      "userId": "7d91aa85-4023-45c4-ad5d-5700ffa2f988",
      "dcmroleId": "1177a2a0-89f0-40ba-83f0-5e7eeca0ea72",
      "IsActive": true,
      "DesignationId": "a47068fd-eaea-46a3-83db-ffa9f497537a"
    },
    {
      "userMappingId": "6b3ebb78-bc75-4c5e-88cd-8c7d90909e8b",
      "userId": "7d91aa85-4023-45c4-ad5d-5700ffa2f988",
      "dcmroleId": "1177a2a0-89f0-40ba-83f0-5e7eeca0ea72",
      "IsActive": true,
      "DesignationId": "a47068fd-eaea-46a3-83db-ffa9f497537a"
    }
  ]
}

application/xml, text/xml

Sample:
<BulkUserRoleMappingMasterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel">
  <dcmAssignRolesUser>
    <DcmAssignRolesUser>
      <DesignationId>a47068fd-eaea-46a3-83db-ffa9f497537a</DesignationId>
      <IsActive>true</IsActive>
      <dcmroleId>1177a2a0-89f0-40ba-83f0-5e7eeca0ea72</dcmroleId>
      <userId>7d91aa85-4023-45c4-ad5d-5700ffa2f988</userId>
      <userMappingId>6b3ebb78-bc75-4c5e-88cd-8c7d90909e8b</userMappingId>
    </DcmAssignRolesUser>
    <DcmAssignRolesUser>
      <DesignationId>a47068fd-eaea-46a3-83db-ffa9f497537a</DesignationId>
      <IsActive>true</IsActive>
      <dcmroleId>1177a2a0-89f0-40ba-83f0-5e7eeca0ea72</dcmroleId>
      <userId>7d91aa85-4023-45c4-ad5d-5700ffa2f988</userId>
      <userMappingId>6b3ebb78-bc75-4c5e-88cd-8c7d90909e8b</userMappingId>
    </DcmAssignRolesUser>
  </dcmAssignRolesUser>
  <listClientUserMaster>
    <UserMasterList>
      <email>sample string 3</email>
      <userId>52946f7e-b7b0-416d-a39d-58711cc3645e</userId>
      <userName>sample string 2</userName>
    </UserMasterList>
    <UserMasterList>
      <email>sample string 3</email>
      <userId>52946f7e-b7b0-416d-a39d-58711cc3645e</userId>
      <userName>sample string 2</userName>
    </UserMasterList>
  </listClientUserMaster>
  <listDesignation>
    <CustomDetails>
      <id>a0390d98-16aa-4bbb-8518-4f613daf3e72</id>
      <name>sample string 2</name>
    </CustomDetails>
    <CustomDetails>
      <id>a0390d98-16aa-4bbb-8518-4f613daf3e72</id>
      <name>sample string 2</name>
    </CustomDetails>
  </listDesignation>
  <listRole>
    <Role>
      <RoleID>907d334f-22e0-4125-8fb5-fb396458626b</RoleID>
      <RoleName>sample string 2</RoleName>
    </Role>
    <Role>
      <RoleID>907d334f-22e0-4125-8fb5-fb396458626b</RoleID>
      <RoleName>sample string 2</RoleName>
    </Role>
  </listRole>
</BulkUserRoleMappingMasterData>