POST Api/Configuration/GetDepartmentsAdmins
Request Information
URI Parameters
None.
Body Parameters
DAdminFiltersName | Description | Type | Additional information |
---|---|---|---|
DivisionId | globally unique identifier |
None. |
|
AssetId | globally unique identifier |
None. |
|
BuildingId | globally unique identifier |
None. |
|
SubBuildingId | globally unique identifier |
None. |
|
CategoryId | globally unique identifier |
None. |
|
DepartmentId | globally unique identifier |
None. |
|
GetDepartmentAssign | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "DivisionId": "1632e421-8d24-42af-88f1-c0b92e20d4e0", "AssetId": "ece5493b-3792-44dd-a5c2-179faa0228b6", "BuildingId": "49cdd728-f472-4d96-a8c7-d7d4772ced9e", "SubBuildingId": "0247dbbc-90a3-470b-bc6b-2d4ea52136e8", "CategoryId": "7265e636-1421-432a-8693-a918492900c9", "DepartmentId": "6c671811-67fd-4cc1-96f0-0cbdb55e5ac7", "GetDepartmentAssign": true }
text/html, multipart/form-data
Sample:
{"DivisionId":"1632e421-8d24-42af-88f1-c0b92e20d4e0","AssetId":"ece5493b-3792-44dd-a5c2-179faa0228b6","BuildingId":"49cdd728-f472-4d96-a8c7-d7d4772ced9e","SubBuildingId":"0247dbbc-90a3-470b-bc6b-2d4ea52136e8","CategoryId":"7265e636-1421-432a-8693-a918492900c9","DepartmentId":"6c671811-67fd-4cc1-96f0-0cbdb55e5ac7","GetDepartmentAssign":true}
application/xml, text/xml
Sample:
<DAdminFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO.Models.Configuration"> <AssetId>ece5493b-3792-44dd-a5c2-179faa0228b6</AssetId> <BuildingId>49cdd728-f472-4d96-a8c7-d7d4772ced9e</BuildingId> <CategoryId>7265e636-1421-432a-8693-a918492900c9</CategoryId> <DepartmentId>6c671811-67fd-4cc1-96f0-0cbdb55e5ac7</DepartmentId> <DivisionId>1632e421-8d24-42af-88f1-c0b92e20d4e0</DivisionId> <GetDepartmentAssign>true</GetDepartmentAssign> <SubBuildingId>0247dbbc-90a3-470b-bc6b-2d4ea52136e8</SubBuildingId> </DAdminFilters>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GlobalResponseOfListOfDadminsDTOName | Description | Type | Additional information |
---|---|---|---|
ResultCode | ReturnResultCode |
None. |
|
Data | Collection of DadminsDTO |
None. |
|
ResultMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResultCode": 1, "Data": [ { "Name": "sample string 1", "NameAr": "sample string 2", "UserId": 3, "Selected": 4, "MasterId": "90adf377-7b2c-44e6-9fcd-6c6d6456ad3c", "DetailId": "61032a6b-3338-4bf2-a4f1-a4137d476ff3" }, { "Name": "sample string 1", "NameAr": "sample string 2", "UserId": 3, "Selected": 4, "MasterId": "90adf377-7b2c-44e6-9fcd-6c6d6456ad3c", "DetailId": "61032a6b-3338-4bf2-a4f1-a4137d476ff3" } ], "ResultMessage": "sample string 1" }
text/html, multipart/form-data
Sample:
{"ResultCode":1,"Data":[{"Name":"sample string 1","NameAr":"sample string 2","UserId":3,"Selected":4,"MasterId":"90adf377-7b2c-44e6-9fcd-6c6d6456ad3c","DetailId":"61032a6b-3338-4bf2-a4f1-a4137d476ff3"},{"Name":"sample string 1","NameAr":"sample string 2","UserId":3,"Selected":4,"MasterId":"90adf377-7b2c-44e6-9fcd-6c6d6456ad3c","DetailId":"61032a6b-3338-4bf2-a4f1-a4137d476ff3"}],"ResultMessage":"sample string 1"}
application/xml, text/xml
Sample:
<GlobalResponseOfArrayOfDadminsDTOWWZtRR1P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.DTO"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO.Models.Configuration"> <d2p1:DadminsDTO> <d2p1:DetailId>61032a6b-3338-4bf2-a4f1-a4137d476ff3</d2p1:DetailId> <d2p1:MasterId>90adf377-7b2c-44e6-9fcd-6c6d6456ad3c</d2p1:MasterId> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:NameAr>sample string 2</d2p1:NameAr> <d2p1:Selected>4</d2p1:Selected> <d2p1:UserId>3</d2p1:UserId> </d2p1:DadminsDTO> <d2p1:DadminsDTO> <d2p1:DetailId>61032a6b-3338-4bf2-a4f1-a4137d476ff3</d2p1:DetailId> <d2p1:MasterId>90adf377-7b2c-44e6-9fcd-6c6d6456ad3c</d2p1:MasterId> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:NameAr>sample string 2</d2p1:NameAr> <d2p1:Selected>4</d2p1:Selected> <d2p1:UserId>3</d2p1:UserId> </d2p1:DadminsDTO> </Data> <ResultCode>NullOrEmptyUserId</ResultCode> <ResultMessage>sample string 1</ResultMessage> </GlobalResponseOfArrayOfDadminsDTOWWZtRR1P>