GET api/DCMUserMappingMaster?userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
BulkUserRoleMappingMasterDataName | Description | Type | Additional 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": "ac8aea6e-ebeb-45af-9b22-54476e258a4a", "userName": "sample string 2", "email": "sample string 3" }, { "userId": "ac8aea6e-ebeb-45af-9b22-54476e258a4a", "userName": "sample string 2", "email": "sample string 3" } ], "listRole": [ { "RoleID": "871d6416-3455-47ec-b501-fd55c79a993b", "RoleName": "sample string 2" }, { "RoleID": "871d6416-3455-47ec-b501-fd55c79a993b", "RoleName": "sample string 2" } ], "listDesignation": [ { "id": "cd31a912-40e3-40d2-97ec-cef6ae375d66", "name": "sample string 2" }, { "id": "cd31a912-40e3-40d2-97ec-cef6ae375d66", "name": "sample string 2" } ], "dcmAssignRolesUser": [ { "userMappingId": "1c03ca29-a893-4a77-98b4-4548c2b3f311", "userId": "35a8ddf8-172d-4008-b658-12bd84bf1e65", "dcmroleId": "d230a0bc-7fad-4594-ae55-dc98cb86fbcc", "IsActive": true, "DesignationId": "ac1ea767-ecc9-4a8d-9774-8de9234b1dfb" }, { "userMappingId": "1c03ca29-a893-4a77-98b4-4548c2b3f311", "userId": "35a8ddf8-172d-4008-b658-12bd84bf1e65", "dcmroleId": "d230a0bc-7fad-4594-ae55-dc98cb86fbcc", "IsActive": true, "DesignationId": "ac1ea767-ecc9-4a8d-9774-8de9234b1dfb" } ] }
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>ac1ea767-ecc9-4a8d-9774-8de9234b1dfb</DesignationId> <IsActive>true</IsActive> <dcmroleId>d230a0bc-7fad-4594-ae55-dc98cb86fbcc</dcmroleId> <userId>35a8ddf8-172d-4008-b658-12bd84bf1e65</userId> <userMappingId>1c03ca29-a893-4a77-98b4-4548c2b3f311</userMappingId> </DcmAssignRolesUser> <DcmAssignRolesUser> <DesignationId>ac1ea767-ecc9-4a8d-9774-8de9234b1dfb</DesignationId> <IsActive>true</IsActive> <dcmroleId>d230a0bc-7fad-4594-ae55-dc98cb86fbcc</dcmroleId> <userId>35a8ddf8-172d-4008-b658-12bd84bf1e65</userId> <userMappingId>1c03ca29-a893-4a77-98b4-4548c2b3f311</userMappingId> </DcmAssignRolesUser> </dcmAssignRolesUser> <listClientUserMaster> <UserMasterList> <email>sample string 3</email> <userId>ac8aea6e-ebeb-45af-9b22-54476e258a4a</userId> <userName>sample string 2</userName> </UserMasterList> <UserMasterList> <email>sample string 3</email> <userId>ac8aea6e-ebeb-45af-9b22-54476e258a4a</userId> <userName>sample string 2</userName> </UserMasterList> </listClientUserMaster> <listDesignation> <CustomDetails> <id>cd31a912-40e3-40d2-97ec-cef6ae375d66</id> <name>sample string 2</name> </CustomDetails> <CustomDetails> <id>cd31a912-40e3-40d2-97ec-cef6ae375d66</id> <name>sample string 2</name> </CustomDetails> </listDesignation> <listRole> <Role> <RoleID>871d6416-3455-47ec-b501-fd55c79a993b</RoleID> <RoleName>sample string 2</RoleName> </Role> <Role> <RoleID>871d6416-3455-47ec-b501-fd55c79a993b</RoleID> <RoleName>sample string 2</RoleName> </Role> </listRole> </BulkUserRoleMappingMasterData>